Daemon666 / CSB Admin Freeze Public

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.

v1.0.0 129 téléchargements GPL-3.0 Dernière mise à jour Aug 23, 2026
Daemon666 1.0.0 - Initial release. v1.0.0 Oct 26, 2025 1 Versions
csb_admin_freeze.sma main 324c9a1 4.9 KB
README.md

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_FROZEN plus pev_maxspeed = 1.0 (belt and braces).
  • Original maxspeed stored per player and restored on unfreeze.
  • Blue ScreenFade so the target knows they were frozen.
  • Auto-unfreeze task, and safe cleanup on disconnect.

Installation

  1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini.
  2. Compile csb_admin_freeze.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.ini.
  3. Change the map.

Both commands need the ADMIN_SLAY flag (m) by default.

Installation
1. Enable the fakemeta module in addons/amxmodx/configs/modules.ini
2. Put csb_admin_freeze.amxx in addons/amxmodx/plugins/ and add it to plugins.ini
3. Change map
Cvars
CVARDefaultDescription
csb_freeze_default 5 Default freeze length in seconds when none is given.
csb_freeze_max 60 Maximum freeze length in seconds (0 = no cap).
Commandes
CommandAccessDescription
amx_freeze m (ADMIN_SLAY) amx_freeze <target> [seconds] - freeze a player in place.
amx_unfreeze m (ADMIN_SLAY) amx_unfreeze <target> - unfreeze a player.
Journal des modifications — v1.0.0
1.0.0 - Initial release.
Versions →
Note

No ratings yet.

À propos
  • Admin
  • Licence: GPL-3.0
  • Daemon666
  • Auteur original: AMX Mod X Development Team (Admin Commands)
Download v1.0.0
Compiled live from the source below — nothing pre-built.
Télécharger .sma
Prérequis
AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optionnel
ReAPI Optionnel
Metamod Metamod / Metamod-r
Modules fakemeta
Conflits connus Plugins that also set pev_maxspeed each frame (some run/speed mods) will undo the freeze.
Contributeurs
Retour aux Plugins