View Single Post
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 09-30-2008 , 11:54   Re: Warmup Round
Reply With Quote #6

Quote:
Originally Posted by SAMURAI16 View Post
just FYI OnConfigsExecuted() it's not working on listen servers until next version of SourceMOD

if (StrEqual(newValue[0], "1", false))
use
if(newValue[0] == '1')
I sorta got in the bad habit of overusing StrEqual after having some weird issues doing compares like that. Then again, they were much longer strings, unlike this case.

Thanks for the heads up on OnConfigsExecuted, I wasn't aware of that! Is it best to just move that stuff into OnMapStart for the time being? I figure the number of listen servers out there would be pretty few.
XARIUS is offline