[Ajuda] warning 202: number of arguments does not match definition
#6

pawn Код:
if(strcmp(cmd, "/cnn", true) == 0)
    {
    new params [256];
    if(PlayerInfo[playerid][Level] >= 2)
    {
        if(!strlen(params)) return SendClientMessage(playerid,red,"USO: /cnn <texto>");
        GetPlayerName(playerid, sendername, sizeof(sendername));
        CMDMessageToAdmins(playerid,"CNN");
        if(PlayerInfo[playerid][LoggedIn] == 1)
        {
            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;
}


Tenta ai
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)