L4D2 ONLY
Description
By default you have to wait before someone pour a gascan or deliver a cola bottles.
This plugin allow multiple gascans and colas to be filled at the same time.
Currently, supports:
Features- Allow multiple gascans and colas to be filled at the same time.
- Allow configuring which type (gascan/cola) should be affected by the plugin.
Cvars
A configuration file named "
l4d2_multiple_gascan_fill.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_multiple_gascan_fill_enable "1"
// Which types should be affected by the plugin.
// 0 = NONE, 1 = GASCAN, 2 = COLA.
// Add numbers greater than 0 for multiple options.
// Example: "3", enables for GASCAN and COLA.
// -
// Default: "3"
// Minimum: "0.000000"
// Maximum: "3.000000"
l4d2_multiple_gascan_fill_type "3"
Admin Commands
- sm_print_cvars_l4d2_multiple_gascan_fill => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Notes
- This was achieved by resetting (-1) the "m_useActionOwner" netprop on "point_prop_use_target" entity, every time someone starts using it.
Thank you!
Conflicting Plugins
Related Plugins
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Installation
- Put the "l4d2_multiple_gascan_fill.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.