11.08.2018, 20:27
Quote:
new x=0; for(new i = 0; i < MAX_PLAYERS; i++) { if(GetPlayerWantedLevel(i) > 0) { format(strx, 64, "%s (ID: %d)\n", name, i); strcat(stry, strx); x++; ShowPlayerDialog(playerid, boop1, DIALOG_STYLE_LIST, "wanted", stry, "OK", ""); } } if(x==0) SendClientMessage(playerid, -1, "boop no wanted"); |