17.12.2011, 22:02
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)
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)