04.03.2017, 19:23
Something like this
ThatFag was first, Guess mine is just cleaner version and I know it works because it how I do it in my gamemode :P
Код:
CMD:COMMANDNAME(playerid, paramas[]) { new string[1024] for(new x=0; x< MAX_PLAYERS; x++) { //x = MAX_PLAYERS if(Eventr[x] == 1) { format(string, sizeof(string), "%s\n<%d>{66FF66}%s", string, x, GetPlayerName(x,playname,sizeof playname)); } } ShowPlayerDialog(playerid, JustShow, DIALOG_STYLE_LIST, "TITLE", string, "OK", "OK"); return 1; }