strfind numbers
#2

https://sampwiki.blast.hk/wiki/Strfind
Just check from 1 to 9 actually, and if he has like 19 he will still get kicked.

You can add a stock and it would be like
pawn Код:
if(strfind(name, "1", true) == 0) return Kick(playerid);
All over till you get to 9.

Hope that helped.

(PS:Not really sure about "== 0" part as I never dealt with strfind)
Reply


Messages In This Thread
strfind numbers - by Lidor124 - 11.06.2014, 15:32
Re: strfind numbers - by MattTucker - 11.06.2014, 16:52
Re: strfind numbers - by Basssiiie - 11.06.2014, 17:59
Re: strfind numbers - by Lidor124 - 13.06.2014, 06:16

Forum Jump:


Users browsing this thread: 3 Guest(s)