Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.25 KB | None | 0 0
  1. Dialog:GPS(playerid, response, listitem, inputtext[])
  2. {
  3. if (response)
  4. {
  5. switch(listitem)
  6. {
  7. case 0:
  8. {
  9. SendServerMessage(playerid, "Вы поставили метку на карте.");
  10. Waypoint_Set(playerid, "Driving School", 1333.4250, -1864.3539, 13.5469);
  11. }
  12. case 1:
  13. {
  14. SendServerMessage(playerid, "Вы поставили метку на карте.");
  15. Waypoint_Set(playerid, "San Andreas News", 1684.8195, -1627.9346, 14.7602);
  16. }
  17. case 2:
  18. {
  19. SendServerMessage(playerid, "Вы поставили метку на карте.");
  20. Waypoint_Set(playerid, "Rodeo Bank", 593.6134, -1243.0756, 18.0306);
  21. }
  22. case 3:
  23. {
  24. SendServerMessage(playerid, "Вы поставили метку на карте.");
  25. Waypoint_Set(playerid, "Downtown Bank", 1663.3037, -1429.2854, 13.5469);
  26. }
  27. case 4:
  28. {
  29. SendServerMessage(playerid, "Вы поставили метку на карте.");
  30. Waypoint_Set(playerid, "East LS Bank", 2868.5396, -1407.3364, 11.0502);
  31. }
  32. case 5:
  33. {
  34. SendServerMessage(playerid, "Вы поставили метку на карте.");
  35. Waypoint_Set(playerid, "Grotti", 536.8082, -1293.1989, 17.2422);
  36. }
  37. case 6:
  38. {
  39. SendServerMessage(playerid, "Вы поставили метку на карте.");
  40. Waypoint_Set(playerid, "Coutt and Schutz", 2121.7363, -1143.1157, 24.7751);
  41. }
  42. case 7:
  43. {
  44. SendServerMessage(playerid, "Вы поставили метку на карте.");
  45. Waypoint_Set(playerid, "City Hall", 1480.904, -1737.458, 13.546);
  46. }
  47. case 8:
  48. {
  49. SendServerMessage(playerid, "Вы поставили метку на карте.");
  50. Waypoint_Set(playerid, "Police Department", 1538.6865, -1673.0892, 13.1168);
  51. }
  52. case 9:
  53. {
  54. SendServerMessage(playerid, "Вы поставили метку на карте.");
  55. Waypoint_Set(playerid, "Fire Department", 1538.6865, -1673.0892, 13.1168);
  56. }
  57. case 10:
  58. {
  59. SendServerMessage(playerid, "Вы поставили метку на карте.");
  60. Waypoint_Set(playerid, "All Saints General Hospital", 1185.4578, -1323.9766, 13.1444);
  61. }
  62. case 11:
  63. {
  64. SendServerMessage(playerid, "Вы поставили метку на карте.");
  65. Waypoint_Set(playerid, "Jefferson Motel", 2220.6277, -1148.0288, 25.3390);
  66. }
  67. case 12:
  68. {
  69. SendServerMessage(playerid, "Вы поставили метку на карте.");
  70. Waypoint_Set(playerid, "Verona Mall", 1154.7264, -1440.3060, 15.7969);
  71. }
  72. case 13: callcmd::disablecp(playerid, "\1");
  73. }
  74. }
  75. return 1;
  76. }
  77.  
  78. cmd:gps(playerid, params[])
  79. {
  80. Dialog_Show(playerid, GPS, DIALOG_STYLE_LIST, "Выберите локацию:", "Driving School\n\nSan Andreas News\nRodeo Bank\nDowntown Bank\nEast LS Bank\nGrotti\nCoutt and Schutz\nCity Hall\nPolice Department\nFire Department\nAll Saints General Hospital\nJefferson Motel\nVerona Mall\nУбрать метку с карты", "Выбрать", "Отмена");
  81. return 1;
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement