|
Senior Member
|
02-29-2016
, 17:27
Re: [L4D2] SI Limit Remover
|
#14
|
If you are interested in changed the director variable "MaxSpecials", I suggest you look at my plugin "l4d_maxspecials".
This plugin allows MaxSpecials to be changed as a normal ConVar. That mean you can use !cvar MaxSpecials to check/change it from the chat window, and use SetConVarInt(FindConVar("MaxSpecials"), newvalue) to change it in a script.
It requires Left 4 Downtown 1 or 2 (version 0.4.5 and up), as it needs the forward L4D_OnGetScriptValueInt. If l4dt is not present the plugin won't do anything.
If you wish to go back to the default value of MaxSpecials (usually it's 2), just set MaxSpecials to -1.
I did not include code for DominatorLimit, as I have never seen any evidence that it does anything. SmokerLimit, HunterLimit, etc. are also not included, since they already have ConVars "z_smoker_limit", "z_hunter_limit", etc. which should be used instead of the director variables.
Last edited by Merudo; 02-29-2016 at 17:32.
|
|
|
|