Strfind [Issue] [0.3c]
#7

did you try to test like that?
Код:
if(strfind(GetPlayerFirstName(playerid), "I", false) > 0)
..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?
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)