Thread
:
Scortched Earth
View Single Post
Stinkyfax
BANNED
Join Date: Aug 2007
07-31-2009 , 15:44 Re: Scortched Earth
#
5
if (StrContains(curCmd,prefixlist[i],false))
Returns -1 on fail and index on succ.
The fun thing is that 0 is false for SM while all the sm_ have index 0 of substring "sm_"... change to if (... >= 0)
Stinkyfax
View Public Profile
Find More Posts by Stinkyfax