Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:report(playerid, params[])
- {
- Total_Reports++;
- Report[Total_Reports][Rep_ID] = Total_Reports;
- return 1;
- }
- CMD:replist(playerid)
- {
- new str[256];
- new string[128] = "№\tИмя";
- for(new i = 1; i <= Total_Reports; i++)
- {
- format(str, sizeof(str), "%d.\t%s", i, Report[i][Rep_Name]);
- strcat(string, str);
- }
- ShowPlayerDialog(playerid, D_Report, DIALOG_STYLE_TABLIST_HEADERS, "Список жалоб", string, "Выбрать", "Отмена");
- return 1;
- }
- D_Report:
- {
- if(!response) return 1;
- Total_Reports--;
- SendClientMessage(playerid, -1, "обращение закрыто");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement