[Pedido] Comandos
#2

Tenta aн, nao testei
pawn Код:
command(admins, playerid, params[])
{
    new bool:conectado = false;
    SendClientMessage(playerid, Azul,"Membros da Staff online:");
    for(new i; i != MAX_PLAYERS; ++i)
    {
        if(PlayerInfo[i][pAdmin] >= 3 || IsPlayerAdmin(i))
        {
            conectado = true;
            new string[50];
            format(string,sizeof(string),"%s", Nome(i), playerid);
            SendClientMessage(playerid,-1,string);
        }
    }
    if(conectado == false) return SendClientMessage(playerid, -1, "[Erro]Nгo tem admins online");
    return 1;
}
Reply


Messages In This Thread
Comandos - by Ts3 - 24.10.2014, 16:14
Re: Comandos - by ArthurxD - 24.10.2014, 16:32
Re: Comandos - by Ts3 - 24.10.2014, 16:41
Re: Comandos - by ArthurxD - 24.10.2014, 17:00
Re: Comandos - by ReyMysterio - 24.10.2014, 17:03
Re: Comandos - by Ts3 - 24.10.2014, 17:28
Re: Comandos - by Schocc - 24.10.2014, 17:53
Re: Comandos - by Ts3 - 24.10.2014, 18:37
Re: Comandos - by Ts3 - 25.10.2014, 18:08
Re: Comandos - by JuninTJF - 25.10.2014, 19:17

Forum Jump:


Users browsing this thread: 2 Guest(s)