[Ajuda] Erros e um warning
#7

Aqui deu de boa.
pawn Код:
CMD:promover(playerid, params[])
{
    new PlayerB, cargo;
    if(sscanf(params,"dd", 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;
}
Reply


Messages In This Thread
Erros e um warning - by AdesxXx - 17.02.2014, 20:03
Re: Erros e um warning - by OrNot - 17.02.2014, 20:20
Re: Erros e um warning - by AdesxXx - 17.02.2014, 22:49
Re: Erros e um warning - by Wanderson_SAMP - 17.02.2014, 23:04
Re: Erros e um warning - by AdesxXx - 17.02.2014, 23:22
Re: Erros e um warning - by Schocc - 17.02.2014, 23:30
Re: Erros e um warning - by Wanderson_SAMP - 17.02.2014, 23:35
Re: Erros e um warning - by PT - 18.02.2014, 08:55

Forum Jump:


Users browsing this thread: 2 Guest(s)