14.03.2012, 19:05
Solved
ShowPlayerDialog(playerid, 0, 1, "Caption", "Text", "Okay", "");
CMD:admins(playerid, params[])
{
for(new i; i<MAX_PLAYERS; i++); // loops through all the players
{
if(PlayerInfo[i][pAdmin] >= 1)
{
new name[24];// creating a variable for the players name
GetPlayerName(i, name, sizeof(name));// gets the players name and stores it to the variable name
format(string,sizeof(string), " %s\r\n ", name);
ShowPlayerDialog(playerid, 0, 1, "Admins Online", string, "Close", "");
}
}
return 1;
}