[AJUDA] warning 202: number of arguments does not match definition
#1

(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 !
Reply
#2

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
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)