Quote:
Originally Posted by xomp
Oh look, sm_fia_sandman 0 has stopped working now and people are spamming sandman balls again
|
The only way that should be possible is if you use a give command to let a class other than scout have a sandman, otherwise I'm not sure what to say.
The plugin checks whether a player is a scout, then uses getconvarint to check the cvar, then whether the active weapon(entity) has item definition 44(sandman) then returns when true.
Thus the only way someone should have infinite balls, is if they're a non-scout with a sandman.
A customized Sandman(name tag, description tag, paint, etc) might possibly use 190(upgradeable tf_weapon_bat) but that should only affect people with custom ones, not everyone.
So..
Are you using a 'give' type plugin?
Is this affecting every scout using a sandman, or just some?
If so, do you get any errors?
If it's a give plugin, I can just move the snadman check out of the scout only area,
If it's a customized sandman thing, I can add a 190 check too(I imagine this will affect all custom bats, but the other bats don't have ammo anyway so no trouble)
Otherwise I have no idea what could be causing a cvar to stop working