[Ajuda] Criaзгo do /Admins
#8

Quote:
Originally Posted by Izaque1998
View Post
PHP Code:
CMD:admins(playerid)
{
    new 
String[128],
        
Nome[24],
        
string[128],
        
AdminList[400];
    
    for(new 
iMAX_PLAYERS; ++i)
    {
        if(
IsPlayerConnected(i))
        {
            if(
Player[playerid][Admin] == 1String "Administrador";
            if(
Player[playerid][Gerente] == 2String "Gerente";
            if(
Player[playerid][Fundador] == 3String "Fundador";
            
GetPlayerName(i,Nome,24);
            
format(string,sizeof(string),"{33AA33}Nome\t{FF0000}ID\t{FFFF00}Cargo\n{33AA33}%s\t{FF0000}%i\t{FFFF00}%s\n",Nome,i,String);
            
strcat(AdminList,string);
            if (
strlen(AdminList) > 0)
               
ShowPlayerDialog(playerid2345DIALOG_STYLE_TABLIST_HEADERS"# Administraзгo",AdminList,"Fechar",#);
            
else
               
SendClientMessage(playerid0xff0000ff,"[x] Nгo hб membros da administraзгo online no momento!");
            
        }
    }
    return 
1;

Ainda nгo ficou como eu queria, eu queria o /Admins em DIALOG_STYLE_MSGBOX, mas quando mudo a forma do dialogo ele fica bugado...
Reply


Messages In This Thread
Criaзгo do /Admins - by Hunterx157 - 10.05.2018, 01:46
Re: Criaзгo do /Admins - by Izaque1998 - 10.05.2018, 01:58
Re: Criaзгo do /Admins - by Hunterx157 - 10.05.2018, 02:56
Re: Criaзгo do /Admins - by Izaque1998 - 10.05.2018, 03:32
Re: Criaзгo do /Admins - by Hunterx157 - 10.05.2018, 04:11
Re: Criaзгo do /Admins - by Izaque1998 - 10.05.2018, 18:31
Re: Criaзгo do /Admins - by FerrariL - 10.05.2018, 18:37
Re: Criaзгo do /Admins - by Hunterx157 - 12.05.2018, 00:17
Re: Criaзгo do /Admins - by AutoMatic2 - 12.05.2018, 00:55
Re: Criaзгo do /Admins - by FerrariL - 12.05.2018, 01:00
Re: Criaзгo do /Admins - by DarkBr - 12.05.2018, 01:52

Forum Jump:


Users browsing this thread: 2 Guest(s)