okay. for those who have seen my vote AIO....i want to make a disable c4 cvar.
i know how to do it, but i'm just wondering if there is a shortcut to do it.
cause all my userweapon are
Code:
if(usersweapon==CSW_KNIFE || usersweapon == CSW_C4 || usersweapon == CSW_M249) {
(just one part of the script)
i want to do this, if the admin activates the cvar:
vote_allowc4 . then the script will just ignore the
Code:
usersweapon == CSW_C4
is there a shortcut to doing that so that it just ignores ALL the csw_c4 in the script?
__________________