[Help] Put this into DIALOG_STYLE_MSGBOX
#1

Quote:

CMD:admins(playerid, params[])
{

new IsAdmin;
SendClientMessage(playerid, COLOR_ORANGE, "---------------------ONLINE ADMINS---------------------");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerData[i][Admin] > 0)
{
if(PlayerData[i][Admin] == 1) AdminLevel = "Level: 1 [Newbie]";
if(PlayerData[i][Admin] == 2) AdminLevel = "Level: 2 [Moderator]";
if(PlayerData[i][Admin] == 3) AdminLevel = "Level: 3 [Admin]";
if(PlayerData[i][Admin] == 4) AdminLevel = "Level: 4 [Sub-Owner]";
if(PlayerData[i][Admin] == 5) AdminLevel = "Level: 5 [Owner]";
format(String, sizeof(String), "%s - %s ", Name(i), AdminLevel);
SendClientMessage(playerid, COLOR_BLUE, String);
IsAdmin ++;
}
}
if(IsAdmin == 0)
{
SendClientMessage(playerid, COLOR_ORANGE, "No online Admins!");
}
IsAdmin = 0;
return 1;
}

I'm updating my admin system a bit but I can't thing on how to make this appear as a dialog instead of chat spamming....
Reply


Messages In This Thread
[Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 08.08.2015, 23:42
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Maximun - 08.08.2015, 23:44
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 08.08.2015, 23:47
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Maximun - 09.08.2015, 00:02
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Jefff - 09.08.2015, 00:08
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 09.08.2015, 00:19
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Jefff - 09.08.2015, 00:21
Re: [Help] Put this into DIALOG_STYLE_MSGBOX - by Dragonic - 09.08.2015, 00:25

Forum Jump:


Users browsing this thread: 1 Guest(s)