Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define DIALOG_HELP 1
- CMD:help(playerid, params[])
- {
- ShowPlayerDialog(playerid, DIALOG_GENDER, DIALOG_STYLE_LIST, "Help", "Ajutor 1\nAjutor 2", "Select", "Close");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- switch(dialogid)
- {
- case DIALOG_HELP:
- {
- if (!response) return 0; // Cand Apesi Pe Close sa inchida dialogul
- case 0:
- {
- SCM(playerid, -1, "Comenzi 1: (aici treci tu)");
- }
- case 1:
- {
- SCM(playerid, -1, "Comenzi 2: (aici treci tu)");
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement