[Ajuda] Como tira esse Warning Pls
#1

Bom galera estou com 1 probleminha antes estava normal, dai compilei sem NEM MEXER NISSO e deu isso

C:\Documents and Settings\******\Desktop\*****\gamemodes\*****.pwn( 28714) : warning 202: number of arguments does not match definition

Codigo Completo

pawn Code:
else if(strcmp(cmdtext, "/removercorrente", true)==0 || strcmp(cmdtext, "/rcorrente", true)==0)
    {
        if (PlayerInfo[playerid][pMember] != 14 && PlayerInfo[playerid][pLeader] != 14 && PlayerInfo[playerid][pMember] != 21 && PlayerInfo[playerid][pLeader] != 21)
        {
            SendClientMessage(playerid, COLOR_GREY, "Vocк nгo й um Policial Rodoviario");
            return 1;
        }
        else
        {
            DeleteClosestStrip();
            PlayerInfo[playerid][pCorrente] = 0;
        }
        return 1;
    }
Linha 28714

pawn Code:
DeleteClosestStrip();
EDIT: Uйee, [.pawn] [./pawn] n mostra mais PAWN CODE?? digitei isso e apareceu CODE lol shausa :S
Reply
#2

Falta de argumentos.
Reply
#3

poste a public DeleteClosestStrip
Reply
#4

number of arguments does not match definition

Nъmeros de argumentos nгo tiveram definiзгo ( um troзo assim )
Reply
#5

Tenta ae :
PHP Code:
else if(strcmp(cmdtext"/removercorrente"true)==|| strcmp(cmdtext"/rcorrente"true)==0)
{
    if (
PlayerInfo[playerid][pMember] != 14 && PlayerInfo[playerid][pLeader] != 14 && PlayerInfo[playerid][pMember] != 21 && PlayerInfo[playerid][pLeader] != 21)
    {
        
SendClientMessage(playeridCOLOR_GREY"Vocк nгo й um Policial Rodoviario");
        return 
1;
    }
    else
    {
        
DeleteClosestStrip(playerid); 
        
PlayerInfo[playerid][pCorrente] = 0;
    }
    return 
1;

Reply
#6

Ou entгo:

PHP Code:
DeleteClosestStrip(playerid); 
Reply
#7

Resolvido +RED Life Advanced
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)