7 hours ago7 hr Administrator Before the snap no player may cross the line of scrimmage. If someone does, a yellow flag drops where they crossed, the play is whistled dead and the ball moves five yards against their team. Repeat offenders in one half get a chat warning; admins can disable it for casual servers. Offside Penalty Flag (olds.ro) 1.0.0 Copyright (C) 2026 daemon (olds.ro). Licence: GPL-3.0-or-later. American Football: nobody may cross the line of scrimmage before the snap. The football core reports the line of scrimmage (olds_af_ball_spot), which starts the pre-snap phase, and the snap (olds_af_snap), which ends it.Before the snap every player is checked ten times a second. The first player past the line on the wrong side gets a yellow flag dropped where he crossed (the stock weaponbox model with a yellow glow, gone after 6 s), a whistle, the play is whistled dead and the ball moves olds_offside_yards toward his team's end zone (through the core's natives).The olds_offside_warn-th offence of one player in a half prints a warning line in chat. Counters reset at half-time (olds_af_halftime).olds_offside 0 turns detection off. Without a football core the plugin stays idle (one line in the log). Football core interface: scripting/include/olds_afootball.inc (forwards olds_af_ball_spot, olds_af_snap, olds_af_halftime; natives olds_af_move_spot and olds_af_whistle in the library "olds_afootball"). A core with other names needs a small bridge plugin. Cvars: olds_offside 1, olds_offside_warn 3 (1-20), olds_offside_yards 5 (1-50). Install: compile scripting/olds_offside.sma with amxxpc 1.10 (needs ReAPI and the include folder), add olds_offside.amxx to plugins.ini after the football core and copy data/lang/olds_offside.txt. Stock files only: models/w_weaponbox.mdl, sound/buttons/blip1.wav. InstallDownload the ZIP above and copy its folders into cstrike/. Compile the .sma in addons/amxmodx/scripting with the AMX Mod X 1.10 compiler, put the .amxx in addons/amxmodx/plugins, and add it to plugins.ini. Files: addons/amxmodx/scripting/include/olds_afootball.inc, addons/amxmodx/scripting/olds_offside.sma, test/af_stub.sma Idea: daemon · Plugin: daemon · Tested automatically (compiled on AMX Mod X 1.8.2, 1.9 and 1.10, played on a CS 1.6 test server)License: GPL-3.0-or-later. Written for the olds.ro plugin workshop (IDEA-7EC149D501A49073). Offside Penalty Flagv1.0.0Counter-Strike 1.6PluginNot tested yetAMX Mod X 1.10Server engine ReHLDSNeeds ReAPI YesMetamod Metamod-R0 downloads5 KBUpdated 7 hours agoSign in to downloadolds_offside.smaPawn (AMX Mod X) · 211 lines4 files/* * Offside Penalty Flag (olds.ro) * Copyright (C) 2026 daemon (olds.ro), written by daemon's plugin agent * * This program is free software: you can redistribute it and/or modify it under the terms * of the GNU General Public License as published by the Free Software Foundation, either * version 3 of the License, or (at your option) any later version.Show all 211 linesChangelogVersions (1)Install into: cstrike/Open the full page →
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.