amx_freeze locks a player in place with FL_FROZEN + maxspeed 1.0, a blue screen fade and a timed auto-unfreeze; amx_unfreeze restores at once.
CSB Admin Freeze pins a player where they stand. amx_freeze <target> [seconds] raises the engine FL_FROZEN flag and forces pev_maxspeed to 1.0, tints the target's screen blue with a short fade and starts a timer that unfreezes them automatically. amx_unfreeze <target> restores the stored maxspeed immediately.
Inspired by the freeze command from the AMX Mod X Admin Commands plugin. Independent GPL re-implementation.
Features
amx_freeze <target> [seconds]with a default and a hard cap from cvars.- Real engine freeze via
FL_FROZENpluspev_maxspeed= 1.0 (belt and braces). - Original maxspeed stored per player and restored on unfreeze.
- Blue
ScreenFadeso the target knows they were frozen. - Auto-unfreeze task, and safe cleanup on disconnect.
Installation
- Enable the
fakemetamodule inaddons/amxmodx/configs/modules.ini. - Compile
csb_admin_freeze.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Change the map.
Both commands need the ADMIN_SLAY flag (m) by default.









