L4D2 ONLY
Description
Block clients from pouring with
normal gascans. Only
scavenge gascans will be allowed.
I recommend you using
[L4D2] Scavenge Pouring - Unleaded Gas Only by
Silvers, instead, since it does pretty the same but with better ways (detour/no workarounds).
Features
- Block clients from pouring with normal gascans.
Cvars
A configuration file named "
l4d2_block_pour_gascan.cfg" will automatically be created for you upon the first run in the "
\cfg\sourcemod\" folder.
PHP Code:
// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d2_block_pour_gascan_enable "1"
Related Game Cvars
- gascan_use_range => Maximum distance that a client can be from a gas nozzle to be able to fill. (default: 65)
Admin Commands
- sm_print_cvars_l4d2_block_pour_gascan => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Notes
- When switching from a normal gascan to a scavenge one, a message will be displayed saying that someone is already pouring.
- Throwing the gascan is blocked near the gas nozzle.
- Gascan fill (pour/interrupt) sounds are blocked near the gas nozzle.
To Do
Thank you!
- ur5efj - for requesting.
- PEK727 - for reporting a bug blocking gascans to be thrown.
Related Plugins
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Installation
- Put the "l4d2_block_pour_gascan.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.