View Single Post
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 09-24-2007 , 12:43   Re: Timeleft Hostname
Reply With Quote #2

Not really an issue at all but!

Code:
GetMapTimeLeft(timeleft);
 if (timeleft <= 0)
Could be

Code:
if (!GetMapTimeLeft(timeleft) && timeleft <= 0)
GetMapTimeLeft returns true or false based on if the mod supports it, so it might be better to rely on that.
__________________
I'm a blast from the past!
ferret is offline