Skip to content
View in the app

A better way to browse. Learn more.

Learn more
Alexit/

Burst and Silencer Switch Block

Plugin
Alexitbb1df0cfedVersion 1.0: First release.History
addonsVersion 1.0: First release.
README.txtVersion 1.0: First release.
Burst and Silencer Switch Block 1.0.0 (olds.ro) =============================================== Players cannot switch the Glock-18 or FAMAS to burst fire, or put on or take off the silencer of the USP or M4A1, when the server rules forbid it. A short text tells them why. - olds_bs_burst 1 blocks the burst switch of the Glock-18 and FAMAS. - olds_bs_sil 1 blocks putting the silencer of the USP and M4A1 on or off. - The weapon keeps the mode it has; only the switch is blocked. A weapon picked up with a silencer on keeps it. - With olds_bs_msg 1 a short text in the middle of the screen says the switch is not allowed, at most once a second however long the button is held. - The USP and Glock with a tactical shield still raise and lower the shield. Other weapons are not touched: the AWP and the other scopes still zoom. Requirements - ReHLDS, ReGameDLL_CS, Metamod-r, ReAPI - AMX Mod X 1.10.0.5490 or newer, with the hamsandwich module (enabled by default) Install 1. Compile scripting/olds_modeblock.sma and copy olds_modeblock.amxx to addons/amxmodx/plugins/. The compiler needs ReAPI's include files (reapi.inc and the reapi_*.inc files from the ReAPI release, in addons/amxmodx/scripting/include/) next to the stock AMX Mod X includes. 2. Copy data/lang/olds_modeblock.txt to addons/amxmodx/data/lang/. 3. Copy configs/plugins/olds_modeblock.cfg to addons/amxmodx/configs/plugins/ and change the values you want. (If the file is missing, the plugin writes one with the defaults the first time it starts.) 4. Add olds_modeblock.amxx to addons/amxmodx/configs/plugins.ini. Settings (addons/amxmodx/configs/plugins/olds_modeblock.cfg) olds_bs_burst 1 1 = the Glock-18 and FAMAS burst switch is blocked olds_bs_sil 1 1 = the USP and M4A1 silencer switch is blocked olds_bs_msg 1 1 = a short text says the switch is not allowed Commands None. Texts "Burst fire is not allowed on this server." and "The silencer cannot be put on or taken off on this server." They are in data/lang/olds_modeblock.txt and can be translated there. Tested on ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814, Metamod-r 1.3.0.149, AMX Mod X 1.10.0-git5490, ReAPI 5.29.0.358. Credits and licence Written from scratch by alexit (olds.ro workshop) for workshop card LIB-0140. Licence: GNU General Public License v3.0 or later (GPL-3.0-or-later).

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.