[Ajuda] /SetVIP
#2


Acho que e assim
Segundo Code Ta certo.
pawn Код:
CMD:setvip(playerid, params[])
{
    new id, nivel;
    new name[MAX_PLAYER_NAME], string[80];
    if(PlayerInfo[playerid][pVip] == 2 || PlayerInfo[playerid][pAdmin] == 2 ) return SCM(playerid, 0xFF0000AA, "Vocк nгo й um jogador VIP Mestre.");
    if(sscanf(params, "u", id, nivel)) return SCM(playerid, 0xFFFF00AA, "Comando Correto: /Setvip [ID] [Nivel]");
    PlayerInfo[id][pVip] = nivel;
    GetPlayerName(id, name, sizeof(name));
    format(string, sizeof(string), "O Jogador %s й o novo VIP do Servidor.", name);
    SCMTA(0x00FFFFAA, string);
    SCM(playerid, 0x00BFFFAA, "Parabйns, Vocк foi setado de VIP [Nivel %d].");
    return 1;
}
Reply


Messages In This Thread
/SetVIP - by Gabriel Santana - 29.08.2012, 19:42
Re: /SetVIP - by mau.tito - 29.08.2012, 19:48
Re: /SetVIP - by Gabriel Santana - 29.08.2012, 19:53
Re: /SetVIP - by Don_Speed - 29.08.2012, 19:53
Re: /SetVIP - by Douglas_prt - 29.08.2012, 19:53
Re: /SetVIP - by Gabriel Santana - 29.08.2012, 20:03
Re: /SetVIP - by Gabriel Santana - 29.08.2012, 20:11
Re: /SetVIP - by Gabriel Santana - 29.08.2012, 20:21
Re: /SetVIP - by paulor - 29.08.2012, 20:23
Re: /SetVIP - by R3S1D3NT1 - 29.08.2012, 20:39

Forum Jump:


Users browsing this thread: 1 Guest(s)