String in if() statements
#3

wiki.sa-mp.com/wiki/strcmp
Example:
pawn Код:
new Lname[MAX_PLAYER_NAME];
GetPlayerName(playerid, Lname, sizeof(Lname));
if(!strcmp(Lname, "None", true)) return SendClientMessageToAll(-1, "None");
Reply


Messages In This Thread
String in if() statements - by Riddy - 21.12.2012, 16:43
Re: String in if() statements - by Lapon - 21.12.2012, 16:47
Re: String in if() statements - by Lordzy - 21.12.2012, 16:52
Re: String in if() statements - by Riddy - 21.12.2012, 17:03
Re: String in if() statements - by ikey07 - 21.12.2012, 17:23
Re: String in if() statements - by Riddy - 21.12.2012, 18:21
Re: String in if() statements - by wups - 21.12.2012, 18:25
Re: String in if() statements - by Riddy - 21.12.2012, 19:26
Re: String in if() statements - by AndreT - 21.12.2012, 19:31
Re: String in if() statements - by Riddy - 21.12.2012, 19:45

Forum Jump:


Users browsing this thread: 1 Guest(s)