SA-MP Forums Archive
[Ajuda] Warning ** - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Warning ** (/showthread.php?tid=393436)



Warning ** - LoostGamer - 18.11.2012

Erro:C:\Users\admin\Documents\SERVIDOR CFP\gamemodes\GAMEMODE.pwn(1143) : warning 213: tag mismatch[/pawn]

Linha 1143:
pawn Код:
if(sscanf(params, "d", PlayerB, Cargo)) return SendClientMessage(playerid, 0x1E90FF99, "Uso correto: /Promover [ID] [Cargo]");
Comando Completo:
pawn Код:
CMD:promover(playerid, params[])
{
    new PlayerB, cargo;
    if(sscanf(params, "d", PlayerB, Cargo)) return SendClientMessage(playerid, 0x1E90FF99, "Uso correto: /Promover [ID] [Cargo]");
    if(ProgressaoInfo[playerid][Cargo] != 10) return SendClientMessage(playerid, 0x1E90FF99, "Vocк nгo й lнder");
    if(ProgressaoInfo[PlayerB][Membro] != ProgressaoInfo[playerid][Membro]) return SendClientMessage(playerid, 0x1E90FF99, "Este jogador nгo й da mesma organizaзгo que vocк.");
    ProgressaoInfo[playerid][Cargo] = cargo;
    return true;
}



Re: Warning ** - Coreia - 18.11.2012

pawn Код:
if(sscanf(params, "di", PlayerB, Cargo)) return SendClientMessage(playerid, 0x1E90FF99, "Uso correto: /Promover [ID] [Cargo]");
Testa agora


Re: Warning ** - LoostGamer - 18.11.2012

N funcionou, :/


Re: Warning ** - Coreia - 18.11.2012

pawn Код:
if(sscanf(params, "di", PlayerB, cargo)) return SendClientMessage(playerid, 0x1E90FF99, "Uso correto: /Promover [ID] [Cargo]");
VК agora


Re: Warning ** - LoostGamer - 18.11.2012

'-', A palavra Cargo era pra ficar minъsula, Resolvido, +REp