[Ajuda] Explicaзхes
#10

Tipo, o comando /asay.
' Se eu quiser colocar para adiministradores lvl 3, como faзo nesse comando? '

pawn Код:
CMD:asay(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, VERMELHO, "ERRO: Vocк nгo й um adiministrador para usar esse comando.");
    if(isnull(params)) return SendClientMessage(playerid, AMARELO, "SERVER: Uso do comando correto: /asay [Texto]");
    new aName[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, aName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "[GLOBAL ADIMINISTRADOR] %s: %s",aName,params);
    SendClientMessageToAll(ASAYADMIN,string);

    return 1;
}
Reply


Messages In This Thread
Explicaзхes - by Gabriel Santana - 20.08.2012, 19:43
Re: Explicaзхes - by Kuddy - 20.08.2012, 19:49
Re: Explicaзхes - by Maklister - 20.08.2012, 19:52
Re: Explicaзхes - by humildadeforever - 20.08.2012, 19:56
Re: Explicaзхes - by ViniBorn - 20.08.2012, 19:57
Re: Explicaзхes - by Gabriel Santana - 20.08.2012, 19:58
Re: Explicaзхes - by ViniBorn - 20.08.2012, 19:59
Re: Explicaзхes - by Maklister - 20.08.2012, 20:07
Re: Explicaзхes - by humildadeforever - 20.08.2012, 20:13
Re: Explicaзхes - by Gabriel Santana - 20.08.2012, 20:14

Forum Jump:


Users browsing this thread: 2 Guest(s)