17.12.2011, 22:49
did you try to test like that?
..so a > instead !=
strfind returns -1 if no match. 0 at Name[0], like "B" on "Babul", or 1 at "a", so the >0 should work?
Код:
if(strfind(GetPlayerFirstName(playerid), "I", false) > 0)
strfind returns -1 if no match. 0 at Name[0], like "B" on "Babul", or 1 at "a", so the >0 should work?