[Ajuda] copilador
#10

Quote:
Originally Posted by [O.z]Caroline
Посмотреть сообщение
errado.

Quer comparar string?
pawn Код:
new st[24]; GetPlayeName(playerid, st, 24);
if(!strcmp(st, "Hiuship", false)) return Ban(playerid);
se quiser fazer o mesmo sem usar Strcmp:

pawn Код:
new st[24]; GetPlayeName(playerid, st, 24);
if(strlen(st) == "Hiuship") return Ban(playerid);
Thanks
Reply


Messages In This Thread
[Ajuda] copilador - by Hiuship - 23.10.2011, 18:20
Re: Ajuda copilador - by iansinho - 23.10.2011, 18:22
Re: Ajuda copilador - by Macintosh - 23.10.2011, 18:41
Re: Ajuda copilador - by Lуs - 23.10.2011, 18:45
Re: Ajuda copilador - by Vai_Besta - 23.10.2011, 18:49
Re: Ajuda copilador - by iansinho - 23.10.2011, 18:50
Re: Ajuda copilador - by Hiuship - 23.10.2011, 18:54
Re: Ajuda copilador - by AppleX - 23.10.2011, 18:56
Re: Ajuda copilador - by [O.z]Caroline - 23.10.2011, 18:58
Re: Ajuda copilador - by Lуs - 23.10.2011, 21:02

Forum Jump:


Users browsing this thread: 2 Guest(s)