Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (strcmp("/t", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, "Teletrasporti", "Drift\nGare", "OK", "ESCI");
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(response)
- {
- switch(listitem)
- {
- case 0:
- {
- SetPlayerPos("coordinate");
- }
- case 1:
- {
- SetPlayerPos("coordinate");
- }
- }
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment