[Ajuda] /Admins sу mostra 1.
#1

Meu /Admins sу estб mostrando 1 dos membros da equipe. Tem 5 online sу aparece 1.
Code:
PHP код:
CMD:admins(playerid)
{
    new 
s[200], ss[200], iname[20];
    new 
ContarAdmins;
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(
Jogador[i][Admin] > 0)
            {
                
GetPlayerName(iiname20);
                
format(ssizeof(s), "{FFFFFF}Nick(ID)\t{FFFFFF}Cargo\t{FFFFFF}Status\n%s(%d)\t%s\t%s\n"inameiCargoAdmin(i), StatusOnline(i));
                
strcat(sss);
                
ContarAdmins++;
            }
        }
    }
    if(
ContarAdmins >= 1)
    {
        
ShowPlayerDialog(playeridDIALOG_ADMINSDIALOG_STYLE_TABLIST_HEADERS"{FFFF00}Administradores {008040}Online"s"Fechar""");
    }
    if(
ContarAdmins == 0)
    {
        
SendClientMessage(playerid0xFF0000AA"| ERRO | Nгo hб administradores online no momento.");
    }
    return 
1;

Reply


Messages In This Thread
/Admins sу mostra 1. - by Luiiiz - 01.04.2017, 19:05
Re: /Admins sу mostra 1. - by PetrickSchobaPS - 01.04.2017, 19:34
Re: /Admins sу mostra 1. - by Luiiiz - 01.04.2017, 19:40
Re: /Admins sу mostra 1. - by PetrickSchobaPS - 01.04.2017, 19:41
Re: /Admins sу mostra 1. - by Luiiiz - 01.04.2017, 19:49
Re: /Admins sу mostra 1. - by ViniBorn - 01.04.2017, 20:22
Re: /Admins sу mostra 1. - by Luiiiz - 01.04.2017, 22:06
Re: /Admins sу mostra 1. - by DarkBr - 01.04.2017, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)