strfind help
#2

"name" is null because you don't get the player's name anywhere.
pawn Код:
new name[ MAX_PLAYER_NAME ];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(strfind(name,"[CIA]",true) != -1)
...
Reply


Messages In This Thread
strfind help - by nicholasramdhan - 11.04.2015, 14:12
Re: strfind help - by Konstantinos - 11.04.2015, 14:14
AW: strfind help - by Mencent - 11.04.2015, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)