SA-MP Forums Archive
[AJUDA] warning 202: number of arguments does not match definition - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [AJUDA] warning 202: number of arguments does not match definition (/showthread.php?tid=501161)



[AJUDA] warning 202: number of arguments does not match definition - iD4N0N3_.x[X]x - 16.03.2014

(4976) : warning 202: number of arguments does not match definition
(4985) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.


Linhas:

if(strcmp(cmd, "/cnn", true) == 0) {
if(PlayerInfo[playerid][Level] >= 2) {
tmp = strtok(cmdtext, idx, strlen(cmdtext));
GetPlayerName(playerid, sendername, sizeof(sendername));
if(!strlen(tmp)) {
SendClientMessage(playerid, red, "Uso correto: /cnn [menssagem]");
return 1;
}
CMDMessageToAdmins(playerid,"CNN");
if(PlayerInfo[playerid][LoggedIn] == 1){

tmp = strtok(cmdtext, idx, strlen(cmdtext));
format(string, sizeof(string), "~g~%s~p~:~y~%s", sendername, cmdtext[4]);
return GameTextForAll(string, 5000, 3);

}
else
{
SendClientMessage(playerid, red, "Vocк tem que ter nivel 2 para usar este comando!");
}
}
else
{
SendClientMessage(playerid, red, "Vocк nгo pode usar este comando!");
}
return 1;
}

grato desde jб , espero a ajuda de vcs !


Re: [AJUDA] warning 202: number of arguments does not match definition - Furious51 - 16.03.2014

for a better compretion of what we will asnwer its better to make it on a right place, go to Portuguese (Portugues) session and may you can find a good help there. Traduza se nao entendeste


Re: [AJUDA] warning 202: number of arguments does not match definition - iD4N0N3_.x[X]x - 16.03.2014

But how will it go? I have account since 2012 and I logged here today to ask for help, thanks!