[Pedido] Converter Zcmd pra Strcmp
#6

Quote:
Originally Posted by LeLeTe
Посмотреть сообщение
Para converter pra "strcmp" vocк simplesmente precisa mudar de:

pawn Код:
CMD:comando(playerid, params[])
Para:

pawn Код:
if(!strcmp(cmdtext, "comando", true))



Para converter os parвmetros das funзхes (params[]), vocк necessitarб de strtok (ou vocк pode alternativamente usar sscanf junto do cmdtext);
Nгo entendi :/
Reply


Messages In This Thread
Converter Zcmd pra Strcmp - by TmZ - 13.08.2014, 02:16
Re: Converter Zcmd pra Strcmp - by Rodney Francalim - 13.08.2014, 02:34
Re: Converter Zcmd pra Strcmp - by LeLeTe - 13.08.2014, 02:36
Re: Converter Zcmd pra Strcmp - by SW1FTmeister - 13.08.2014, 02:36
Re: Converter Zcmd pra Strcmp - by TmZ - 13.08.2014, 02:49
Re: Converter Zcmd pra Strcmp - by TmZ - 13.08.2014, 02:51
Re: Converter Zcmd pra Strcmp - by Nenzittow - 13.08.2014, 08:56
Re: Converter Zcmd pra Strcmp - by TmZ - 14.08.2014, 09:50
Re: Converter Zcmd pra Strcmp - by TmZ - 14.08.2014, 15:20
Re: Converter Zcmd pra Strcmp - by TmZ - 14.08.2014, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)