24.08.2012, 04:15
Код:
if (strcmp("/admins", cmdtext, true, 10) == 0) { new string[256], name[MAX_PLAYER_NAME]; for(new i = 0; i < MAX_PLAYERS; i++) { if(AccInfo[i][Level] > 0) { GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), "%s%s(ID: %d) Level: %d\n", string, name, i, AccInfo[i][Level]); ShowPlayerDialog(playerid, 189, DIALOG_STYLE_MSGBOX, "Online Admins", string, "Ok", "Cancel"); } } return 1; }