Strfind [Issue] [0.3c]
#5

you should learn the functions before you use them.
using true would be ignoring the case so it'd react to i as well as I, if it returns -1 then its not found, if it returns 0 then it's the first position.

native strfind(const string[], const sub[], bool:ignorecase=false, pos=0);

if(strfind(GetPlayerFirstName(playerid), "I", false,1) != -1)
Reply


Messages In This Thread
Strfind [Issue] [0.3c] - by Berky - 17.12.2011, 17:21
Re: Strfind [Issue] [0.3c] - by MP2 - 17.12.2011, 17:24
Re: Strfind [Issue] [0.3c] - by Berky - 17.12.2011, 17:27
Re: Strfind [Issue] [0.3c] - by Berky - 17.12.2011, 21:05
Re: Strfind [Issue] [0.3c] - by cessil - 17.12.2011, 22:02
Re: Strfind [Issue] [0.3c] - by Berky - 17.12.2011, 22:27
Re: Strfind [Issue] [0.3c] - by Babul - 17.12.2011, 22:49
Re: Strfind [Issue] [0.3c] - by Berky - 18.12.2011, 16:15
Re: Strfind [Issue] [0.3c] - by Berky - 19.12.2011, 17:50

Forum Jump:


Users browsing this thread: 1 Guest(s)