Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:help(playerid, params[])
- {
- ShowPlayerDialog(playerid, DIALOG_HELP, DIALOG_STYLE_LIST, "Help", "/job\n/cmd", "Open", "Close");
- return 1;
- }
- public OnDialogResponse(playerid, help, response, listitem, inputtext[])
- {
- if(response)
- {
- switch(DIALOG_HELP)
- {
- case 1:
- {
- switch(listitem)
- {
- case 0:
- {
- ShowPlayerDialog(playerid, DIALOG_JOB, DIALOG_STYLE_LIST, "jobs", "job", "Open", "Close");
- return 1;
- }
- }
- }
- }
- }
- return 1;
Advertisement
Add Comment
Please, Sign In to add comment