Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define DialogoIR 1
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if (dialogid == DialogoIR) {
- if (response) {
- switch(listitem) {
- case 0: {
- SetPlayerPos(playerid, 0.0, 0.0, 3.0);
- }
- }
- }
- return 1;
- }
- return 0;
- }
- CMD:ir(playerid, params[])
- {
- ShowPlayerDialog(playerid, DialogoIR, DIALOG_STYLE_LIST, "Local", "Teste", "Selecionar", "Cancelar");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment