Advertisement
Guest User

Untitled

a guest
Feb 16th, 2021
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. CMD:races(playerid, params[])
  2. {
  3. if(!IsPlayerInRangeOfPoint(playerid, 15.0,2127.6423,2378.6934,10.8203)) return SCM(playerid, COLOR_INFO, "Eroare: Nu esti la locul potrivit.");
  4. ShowPlayerDialog(playerid, DIALOG_RACES, DIALOG_STYLE_LIST, "RACES", "{ffa64d}Race 1\n{ffa64d}Race 2", "Ok", "Inchide");
  5. return 1;
  6. }
  7.  
  8. case DIALOG_RACES:
  9. {
  10. if(!response) return 1;
  11. switch(listitem)
  12. {
  13. case 0:
  14. {
  15. SetPlayerPos(playerid, 90.0057,1734.7637,423.1459);
  16. SetPlayerVirtualWorldEx(playerid, 3);
  17. }
  18. case 1:
  19. {
  20. SetPlayerPos(playerid, 553.0593,245.8365,327.9700);
  21. SetPlayerVirtualWorldEx(playerid, 3);
  22. }
  23. }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement