Advertisement
Samp-Pawn

Samp

May 23rd, 2012
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. new Interior[MAX_PLAYERS] = -1;
  2.  
  3. OnPlayerKeyStateChange
  4.  
  5. if ((newkeys & KEY_JUMP) && (newkeys & KEY_HANDBRAKE)) {
  6. if (!IsPlayerAdmin(playerid)) return 1;
  7. Interior[playerid]++;
  8. if (Interior[playerid] == 1) {
  9. GameTextForPlayer(playerid, "24/7 1 Shop", 2500, 4);
  10. SetPlayerPos(playerid,-25.884498,-185.868988,1003.546875);
  11. SetPlayerInterior(playerid, 17);
  12. }
  13. if (Interior[playerid] == 2) {
  14. GameTextForPlayer(playerid, "24/7 2 Shop", 2500, 4);
  15. SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
  16. SetPlayerInterior(playerid, 10);
  17. }
  18. if (Interior[playerid] == 3) {
  19. GameTextForPlayer(playerid, "24/7 3 Shop", 2500, 4);
  20. SetPlayerPos(playerid,-30.946699,-89.609596,1003.546875);
  21. SetPlayerInterior(playerid, 18);
  22. }
  23. if (Interior[playerid] == 4) {
  24. GameTextForPlayer(playerid, "24/7 4 Shop", 2500, 4);
  25. SetPlayerPos(playerid,-25.132598,-139.066986,1003.546875);
  26. SetPlayerInterior(playerid, 16);
  27. }
  28. if (Interior[playerid] == 5) {
  29. GameTextForPlayer(playerid, "24/7 5 Shop", 2500, 4);
  30. SetPlayerPos(playerid,-27.312299,-29.277599,1003.557250);
  31. SetPlayerInterior(playerid, 4);
  32. }
  33. if (Interior[playerid] == 6) {
  34. GameTextForPlayer(playerid, "24/7 6 Shop", 2500, 4);
  35. SetPlayerPos(playerid,-26.691598,-55.714897,1003.546875);
  36. SetPlayerInterior(playerid, 6);
  37. }
  38. if (Interior[playerid] == 7) {
  39. GameTextForPlayer(playerid, "Airport ticket desk", 2500, 4);
  40. SetPlayerPos(playerid,-1827.147338,7.207417,1061.143554);
  41. SetPlayerInterior(playerid, 14);
  42. }
  43. if (Interior[playerid] == 8) {
  44. GameTextForPlayer(playerid, "Airport baggage reclaim", 2500, 4);
  45. SetPlayerPos(playerid,-1861.936889,54.908092,1061.143554);
  46. SetPlayerInterior(playerid, 14);
  47. }
  48. if (Interior[playerid] == 9) {
  49. GameTextForPlayer(playerid, "Shamal", 2500, 4);
  50. SetPlayerPos(playerid,1.808619,32.384357,1199.593750);
  51. SetPlayerInterior(playerid, 1);
  52. }
  53. if (Interior[playerid] == 10) {
  54. GameTextForPlayer(playerid, "Andromada", 2500, 4);
  55. SetPlayerPos(playerid,315.745086,984.969299,1958.919067);
  56. SetPlayerInterior(playerid, 9);
  57. }
  58. if (Interior[playerid] == 11) {
  59. GameTextForPlayer(playerid, "Ammunation 1", 2500, 4);
  60. SetPlayerPos(playerid,286.148986,-40.644397,1001.515625);
  61. SetPlayerInterior(playerid, 1);
  62. }
  63. if (Interior[playerid] == 12) {
  64. GameTextForPlayer(playerid, "Ammunation 2", 2500, 4);
  65. SetPlayerPos(playerid,286.800994,-82.547599,1001.515625);
  66. SetPlayerInterior(playerid, 4);
  67. }
  68. if (Interior[playerid] == 13) {
  69. GameTextForPlayer(playerid, "Ammunation 3", 2500, 4);
  70. SetPlayerPos(playerid,296.919982,-108.071998,1001.515625);
  71. SetPlayerInterior(playerid, 6);
  72. }
  73. if (Interior[playerid] == 14) {
  74. GameTextForPlayer(playerid, "Ammunation 4", 2500, 4);
  75. SetPlayerPos(playerid,314.820983,-141.431991,999.601562);
  76. SetPlayerInterior(playerid, 7);
  77. }
  78. if (Interior[playerid] == 15) {
  79. GameTextForPlayer(playerid, "Ammunation 5", 2500, 4);
  80. SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
  81. SetPlayerInterior(playerid, 6);
  82. }
  83.  
  84. if (Interior[playerid] == 16) {
  85. GameTextForPlayer(playerid, "Ammunation booths", 2500, 4);
  86. SetPlayerPos(playerid,302.292877,-143.139099,1004.062500);
  87. SetPlayerInterior(playerid, 7);
  88. }
  89. if (Interior[playerid] == 17) {
  90. GameTextForPlayer(playerid, "Ammunation range", 2500, 4);
  91. SetPlayerPos(playerid,298.507934,-141.647048,1004.054748);
  92. SetPlayerInterior(playerid, 7);
  93. }
  94. if (Interior[playerid] == 18) {
  95. GameTextForPlayer(playerid, "Blastin fools hallway", 2500, 4);
  96. SetPlayerPos(playerid,1038.531372,0.111030,1001.284484);
  97. SetPlayerInterior(playerid, 3);
  98. }
  99. if (Interior[playerid] == 19) {
  100. GameTextForPlayer(playerid, "Budget inn motel room", 2500, 4);
  101. SetPlayerPos(playerid,316.524993,-167.706985,999.593750);
  102. SetPlayerInterior(playerid, 12);
  103. }
  104. if (Interior[playerid] == 20) {
  105. GameTextForPlayer(playerid, "Jefferson motel", 2500, 4);
  106. SetPlayerPos(playerid,2215.454833,-1147.475585,1025.796875);
  107. SetPlayerInterior(playerid, 15);
  108. }
  109. if (Interior[playerid] == 21) {
  110. GameTextForPlayer(playerid, "Off track betting shop", 2500, 4);
  111. SetPlayerPos(playerid,833.269775,10.588416,1004.179687);
  112. SetPlayerInterior(playerid, 3);
  113. }
  114. if (Interior[playerid] == 22) {
  115. GameTextForPlayer(playerid, "Sex shop", 2500, 4);
  116. SetPlayerPos(playerid,-103.559165,-24.225606,1000.718750);
  117. SetPlayerInterior(playerid, 3);
  118. }
  119. if (Interior[playerid] == 23) {
  120. GameTextForPlayer(playerid, "Meat factory", 2500, 4);
  121. SetPlayerPos(playerid,963.418762,2108.292480,1011.030273);
  122. SetPlayerInterior(playerid, 1);
  123.  
  124. Than in ur server click Shift + right side in the mouse
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement