[Pedido] Mostrar Administradores
#4

Use uma loop:
pawn Код:
for(new i=0; i<MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        if(Variavel[i] >= 1)
        {
            new nome[24],string[100];
            GetPlayerName(i, nome, 24);
            format(string, sizeof string, "%s ID %d Admin Level %d", nome,i,Variavel[playerid]);
        }
    }
}
Reply


Messages In This Thread
Mostrar Administradores - by Baraka - 20.06.2014, 18:30
Re: Mostrar Administradores - by GHLEMES - 20.06.2014, 18:38
Re: Mostrar Administradores - by Smoking_Script - 20.06.2014, 18:38
Re: Mostrar Administradores - by MultiKill - 20.06.2014, 18:41
Re: Mostrar Administradores - by merloch - 20.06.2014, 18:52
Re: Mostrar Administradores - by MultiKill - 20.06.2014, 18:56

Forum Jump:


Users browsing this thread: 1 Guest(s)