Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new string[32], listdial[128], rows;
- for(new i=1; i<20; i++)
- {
- format(string, 32, "SELECT * FROM `prefix` WHERE ID='%d'", i);
- mysql_query(dbHandle, string);
- cache_get_row_count(rows);
- cache_get_field_content(0, "Name", name);
- format(list, 128, "%d. %s\n", i, name);
- strcat(listdial, list);
- }
- ShowPlayerDialog(playerid, 9519, DIALOG_STYLE_LIST, "Ñïèñîê ïðåôèêñîâ", listdial, "Çàêðûòü", "");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement