Dialog Problem
#7

Quote:
Originally Posted by PrawkC
View Post
pawn Code:
dcmd_admins(playerid,params[])
{
    #pragma unused params
    new string[256], result[256];
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(Variables[i][Level] >0 && Variables[i][Level] < 10)
        {
            format(string, sizeof(string), "{FF0000}ADMINISTRATOR: %s ID[%d]{15D4ED}[Level %d]\n", RealName[i],playerid, Variables[i][Level]);
            strcat(result, string, sizeof(result));      
        }
    }
    ShowPlayerDialog(playerid, 5591, 0, "{1B1BE0}Online Admins:", result, "Done", "")
    return 1;
}
Pretty sure this will work.
Thanks
but can anyone help me to make 2 admin lines,cuz when here are 2+ admins in admin list is only 1 admin
Help me please
Reply


Messages In This Thread
Please help - by Hoss - 23.08.2011, 16:57
Re: Dialog Problem - by Jeffry - 23.08.2011, 17:08
Re: Dialog Problem - by Hiddos - 23.08.2011, 18:06
Re: Dialog Problem - by Jeffry - 23.08.2011, 18:12
AW: Dialog Problem - by Nero_3D - 23.08.2011, 19:35
Re: Dialog Problem - by PrawkC - 23.08.2011, 19:57
Re: Dialog Problem - by Hoss - 24.08.2011, 09:15
AW: Re: Dialog Problem - by Nero_3D - 24.08.2011, 10:34
Re: Dialog Problem - by Intoxicated - 24.08.2011, 10:39
Re: Dialog Problem - by iPLEOMAX - 24.08.2011, 11:00

Forum Jump:


Users browsing this thread: 4 Guest(s)