Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Daemon/

Surf Jail Remover

Plugin
Daemoneb9ff628c3Version 1.0.0: First release.History
addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
Surf Jail Remover 1.0.0 (olds.ro) ================================= On surf maps with a jail trap (surf_ski_2 and the like), removes or opens the jail some seconds after each round starts, so nobody is held there forever. Requirements - AMX Mod X 1.10.0.5490 or newer, with ReAPI (ReGameDLL_CS) - engine, fakemeta, hamsandwich Install 1. Compile scripting/olds_jailrm.sma and copy olds_jailrm.amxx to addons/amxmodx/plugins/. 2. Copy configs/olds_jailrm.ini to addons/amxmodx/configs/ and data/lang/olds_jailrm.txt to addons/amxmodx/data/lang/. No downloads: the plugin works on entities already in the map. Settings (addons/amxmodx/configs/plugins/olds_jailrm.cfg, made on first run) olds_jail_delay 30.0 seconds after the round starts (0-600) olds_jail_mode 1 1 = remove the jail entities 2 = open them: func_door, func_door_rotating, momentary_door and func_breakable are "used" (doors open, breakables break); entities that cannot open (walls) are still removed olds_jail_msg 1 tell the players in chat when the jail is gone olds_jailrm.ini One map per line, then the targetnames of its jail entities: surf_ski_2 jail_door jail_cage Without names the plugin looks for jail_door and jail_cage. A map ending in * matches every map that starts with the text before it (surf_ski*). On a map that is not listed the plugin does nothing and logs one line. How it works - The map is looked up once per map, in plugin_cfg. - After each round start (RG_CSGameRules_RestartRound, also after mp_restartgame / sv_restart) a timer of olds_jail_delay seconds runs; then every entity with a listed targetname is removed or opened. - A removed entity does not come back on the next round; a door opened in mode 2 is closed again by the round restart and is opened again after the delay. - Players are never moved: removing the cage only takes the walls away. In mode 2 a door that moves into a player is blocked by him like any other map door.

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.