Advertisement
leon0grdic

[FS/MAP]Garaza

Dec 26th, 2011
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 28.23 KB | None | 0 0
  1. ////GARAZA by LeonGrdic////
  2. ////Ne brišite kredite////
  3.  
  4.  
  5. #include <a_samp>
  6. #include <streamer>
  7.  
  8. new UGarazi[MAX_PLAYERS] = 0;
  9. new GPickup[100];
  10. new Text3D: GLabel[100];
  11.  
  12. public OnFilterScriptInit()
  13. {
  14.  
  15. CreateDynamicObject(8390,1542.00000000,-1361.09997559,349.20001221,0.00000000,0.00000000,0.00000000); //object(multicarpark01_lvs) (1)
  16. CreateDynamicObject(3095,1539.19995117,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (1)
  17. CreateDynamicObject(3095,1530.40002441,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (2)
  18. CreateDynamicObject(3095,1522.40002441,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (3)
  19. CreateDynamicObject(3095,1513.90002441,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (4)
  20. CreateDynamicObject(3095,1505.59997559,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (5)
  21. CreateDynamicObject(3095,1505.59997559,-1430.19995117,341.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (6)
  22. CreateDynamicObject(3095,1505.59997559,-1430.19995117,349.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (7)
  23. CreateDynamicObject(3095,1505.59997559,-1430.19995117,357.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (8)
  24. CreateDynamicObject(3095,1505.59997559,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (9)
  25. CreateDynamicObject(3095,1513.90002441,-1430.19995117,341.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (10)
  26. CreateDynamicObject(3095,1513.90002441,-1430.19995117,350.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (11)
  27. CreateDynamicObject(3095,1513.90002441,-1430.19995117,359.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (12)
  28. CreateDynamicObject(3095,1513.90002441,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (13)
  29. CreateDynamicObject(3095,1522.40002441,-1430.19995117,340.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (14)
  30. CreateDynamicObject(3095,1522.40002441,-1430.19995117,349.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (15)
  31. CreateDynamicObject(3095,1522.40002441,-1430.19995117,356.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (16)
  32. CreateDynamicObject(3095,1522.40002441,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (17)
  33. CreateDynamicObject(3095,1530.40002441,-1430.19995117,340.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (18)
  34. CreateDynamicObject(3095,1530.40002441,-1430.19995117,349.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (19)
  35. CreateDynamicObject(3095,1530.40002441,-1430.19995117,357.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (20)
  36. CreateDynamicObject(3095,1530.40002441,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (21)
  37. CreateDynamicObject(3095,1539.19995117,-1430.19995117,342.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (22)
  38. CreateDynamicObject(3095,1539.19995117,-1430.19995117,350.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (23)
  39. CreateDynamicObject(3095,1539.19995117,-1430.19995117,359.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (24)
  40. CreateDynamicObject(3095,1539.19995117,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (25)
  41. CreateDynamicObject(3095,1547.69995117,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (26)
  42. CreateDynamicObject(3095,1556.69995117,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (27)
  43. CreateDynamicObject(3095,1564.69995117,-1430.30004883,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (28)
  44. CreateDynamicObject(3095,1573.00000000,-1430.40002441,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (29)
  45. CreateDynamicObject(3095,1578.00000000,-1430.40002441,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (30)
  46. CreateDynamicObject(3095,1578.00000000,-1430.40002441,341.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (31)
  47. CreateDynamicObject(3095,1578.00000000,-1430.40002441,350.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (32)
  48. CreateDynamicObject(3095,1578.00000000,-1430.40002441,357.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (33)
  49. CreateDynamicObject(3095,1578.00000000,-1430.50000000,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (34)
  50. CreateDynamicObject(3095,1573.00000000,-1430.40002441,341.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (35)
  51. CreateDynamicObject(3095,1573.00000000,-1430.40002441,350.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (36)
  52. CreateDynamicObject(3095,1573.00000000,-1430.40002441,357.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (37)
  53. CreateDynamicObject(3095,1573.00000000,-1430.40002441,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (38)
  54. CreateDynamicObject(3095,1564.69995117,-1430.30004883,340.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (39)
  55. CreateDynamicObject(3095,1564.69995117,-1430.30004883,349.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (40)
  56. CreateDynamicObject(3095,1564.69995117,-1430.30004883,358.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (41)
  57. CreateDynamicObject(3095,1564.69995117,-1430.30004883,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (42)
  58. CreateDynamicObject(3095,1547.69995117,-1430.19995117,341.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (43)
  59. CreateDynamicObject(3095,1547.69995117,-1430.19995117,349.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (44)
  60. CreateDynamicObject(3095,1547.69995117,-1430.19995117,357.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (45)
  61. CreateDynamicObject(3095,1547.69995117,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (46)
  62. CreateDynamicObject(3095,1556.69995117,-1430.19995117,342.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (47)
  63. CreateDynamicObject(3095,1556.69995117,-1430.19995117,349.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (48)
  64. CreateDynamicObject(3095,1556.69995117,-1430.19995117,358.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (49)
  65. CreateDynamicObject(3095,1556.69995117,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (50)
  66. CreateDynamicObject(10830,1556.80004883,-1335.19995117,370.20001221,0.00000000,0.00000000,45.00000000); //object(drydock2_sfse) (1)
  67. CreateDynamicObject(17864,1591.50000000,-1404.09997559,350.00000000,0.00000000,90.00000000,180.50000000); //object(comp_puchase) (1)
  68. CreateDynamicObject(10830,1556.80004883,-1383.19995117,370.20001221,0.00000000,0.00000000,44.99450684); //object(drydock2_sfse) (2)
  69. CreateDynamicObject(10830,1556.80004883,-1406.69995117,370.20001221,0.00000000,0.00000000,44.99450684); //object(drydock2_sfse) (3)
  70. CreateDynamicObject(3095,1497.69995117,-1420.40002441,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (51)
  71. CreateDynamicObject(3095,1495.00000000,-1420.40002441,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (52)
  72. CreateDynamicObject(17864,1591.59997559,-1372.40002441,350.00000000,0.00000000,90.00000000,180.49987793); //object(comp_puchase) (2)
  73. CreateDynamicObject(17864,1591.69995117,-1344.09997559,350.00000000,0.00000000,90.00000000,180.49987793); //object(comp_puchase) (3)
  74. CreateDynamicObject(17864,1591.90002441,-1316.50000000,350.00000000,0.00000000,90.00000000,180.49987793); //object(comp_puchase) (4)
  75. CreateDynamicObject(3578,1536.30004883,-1425.09997559,330.70001221,0.00000000,0.00000000,90.00000000); //object(dockbarr1_la) (1)
  76. CreateDynamicObject(3578,1546.40002441,-1425.00000000,330.70001221,0.00000000,0.00000000,90.00000000); //object(dockbarr1_la) (2)
  77. CreateDynamicObject(3095,1587.30004883,-1420.59997559,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (53)
  78. CreateDynamicObject(3095,1587.30004883,-1420.59997559,340.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (54)
  79. CreateDynamicObject(3095,1587.30004883,-1420.59997559,349.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (55)
  80. CreateDynamicObject(3095,1587.30004883,-1420.59997559,357.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (56)
  81. CreateDynamicObject(3095,1587.30004883,-1420.59997559,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (57)
  82. CreateDynamicObject(3095,1587.59997559,-1300.40002441,365.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (59)
  83. CreateDynamicObject(3095,1578.00000000,-1430.50000000,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (60)
  84. CreateDynamicObject(3095,1573.00000000,-1430.40002441,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (61)
  85. CreateDynamicObject(3095,1564.69995117,-1430.30004883,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (62)
  86. CreateDynamicObject(3095,1556.69995117,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (63)
  87. CreateDynamicObject(3095,1547.69995117,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (64)
  88. CreateDynamicObject(3095,1539.19995117,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (65)
  89. CreateDynamicObject(3095,1530.40002441,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (66)
  90. CreateDynamicObject(17864,1492.50000000,-1316.30004883,350.00000000,0.00000000,90.00000000,1.25000000); //object(comp_puchase) (5)
  91. CreateDynamicObject(17864,1492.59997559,-1347.50000000,350.00000000,0.00000000,90.00000000,0.75000000); //object(comp_puchase) (6)
  92. CreateDynamicObject(17864,1492.59997559,-1378.59997559,350.00000000,0.00000000,90.00000000,1.00000000); //object(comp_puchase) (7)
  93. CreateDynamicObject(17864,1492.59997559,-1404.80004883,350.00000000,0.00000000,90.00000000,0.75000000); //object(comp_puchase) (8)
  94. CreateDynamicObject(3095,1495.00000000,-1420.40002441,356.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (67)
  95. CreateDynamicObject(3095,1495.00000000,-1420.40002441,348.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (68)
  96. CreateDynamicObject(3095,1495.00000000,-1420.40002441,341.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (69)
  97. CreateDynamicObject(3095,1495.00000000,-1420.40002441,334.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (70)
  98. CreateDynamicObject(3095,1587.59997559,-1300.40002441,358.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (71)
  99. CreateDynamicObject(3095,1587.59997559,-1300.40002441,351.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (72)
  100. CreateDynamicObject(3095,1587.59997559,-1300.40002441,344.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (73)
  101. CreateDynamicObject(3095,1587.59997559,-1300.40002441,337.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (74)
  102. CreateDynamicObject(3095,1587.59997559,-1300.40002441,334.10000610,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (75)
  103. CreateDynamicObject(3095,1496.69995117,-1300.40002441,365.20001221,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (76)
  104. CreateDynamicObject(3095,1496.69995117,-1300.40002441,358.00000000,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (77)
  105. CreateDynamicObject(3095,1496.69995117,-1300.40002441,349.50000000,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (78)
  106. CreateDynamicObject(3095,1496.69995117,-1300.40002441,341.00000000,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (79)
  107. CreateDynamicObject(3095,1496.69995117,-1300.40002441,334.39999390,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (80)
  108. CreateDynamicObject(17864,1512.90002441,-1291.59997559,350.00000000,0.00000000,90.00000000,271.25000000); //object(comp_puchase) (9)
  109. CreateDynamicObject(17864,1544.59997559,-1291.40002441,350.10000610,0.00000000,90.00000000,271.24694824); //object(comp_puchase) (10)
  110. CreateDynamicObject(17864,1566.90002441,-1291.30004883,350.10000610,0.00000000,90.00000000,270.99694824); //object(comp_puchase) (11)
  111. CreateDynamicObject(17864,1578.09997559,-1291.50000000,369.89999390,0.00000000,180.00000000,270.99426270); //object(comp_puchase) (12)
  112. CreateDynamicObject(17864,1546.50000000,-1292.00000000,370.39999390,0.00000000,180.00000000,270.99426270); //object(comp_puchase) (14)
  113. CreateDynamicObject(3095,1582.40002441,-1296.40002441,366.50000000,0.00000000,90.00000000,180.00000000); //object(a51_jetdoor) (81)
  114. CreateDynamicObject(3095,1586.40002441,-1300.40002441,367.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (82)
  115. CreateDynamicObject(3095,1582.40002441,-1295.50000000,366.50000000,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (83)
  116. CreateDynamicObject(3095,1585.59997559,-1311.09997559,365.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (84)
  117. CreateDynamicObject(3095,1587.59997559,-1311.09997559,365.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (85)
  118. CreateDynamicObject(17864,1517.00000000,-1289.69995117,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (16)
  119. CreateDynamicObject(17864,1507.69995117,-1292.69995117,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (18)
  120. CreateDynamicObject(17864,1512.90002441,-1291.59997559,351.89999390,0.00000000,90.00000000,271.24694824); //object(comp_puchase) (19)
  121. CreateDynamicObject(17864,1544.59997559,-1291.40002441,351.50000000,0.00000000,90.00000000,271.24694824); //object(comp_puchase) (20)
  122. CreateDynamicObject(3095,1496.69995117,-1300.40002441,366.79998779,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (86)
  123. CreateDynamicObject(3095,1502.19995117,-1296.30004883,366.79998779,0.00000000,90.00000000,0.00000000); //object(a51_jetdoor) (87)
  124. CreateDynamicObject(3095,1498.19995117,-1300.40002441,366.79998779,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (88)
  125. CreateDynamicObject(17864,1492.50000000,-1316.30004883,351.39999390,0.00000000,90.00000000,1.24694824); //object(comp_puchase) (21)
  126. CreateDynamicObject(17864,1507.50000000,-1324.00000000,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (22)
  127. CreateDynamicObject(17864,1515.69995117,-1323.40002441,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (23)
  128. CreateDynamicObject(17864,1492.59997559,-1347.50000000,351.50000000,0.00000000,90.00000000,0.74707031); //object(comp_puchase) (24)
  129. CreateDynamicObject(17864,1492.59997559,-1378.59997559,352.20001221,0.00000000,90.00000000,0.99975586); //object(comp_puchase) (25)
  130. CreateDynamicObject(17864,1492.59997559,-1404.80004883,352.10000610,0.00000000,90.00000000,0.74707031); //object(comp_puchase) (26)
  131. CreateDynamicObject(17864,1515.90002441,-1361.40002441,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (27)
  132. CreateDynamicObject(17864,1507.69995117,-1361.30004883,370.79998779,0.00000000,179.99450684,268.99426270); //object(comp_puchase) (28)
  133. CreateDynamicObject(17864,1507.80004883,-1400.50000000,370.79998779,0.00000000,179.99450684,268.98925781); //object(comp_puchase) (29)
  134. CreateDynamicObject(17864,1516.19995117,-1400.19995117,370.79998779,0.00000000,179.99450684,268.98925781); //object(comp_puchase) (30)
  135. CreateDynamicObject(3095,1522.40002441,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (89)
  136. CreateDynamicObject(3095,1513.90002441,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (90)
  137. CreateDynamicObject(3095,1505.59997559,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (91)
  138. CreateDynamicObject(3095,1495.00000000,-1420.40002441,367.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (92)
  139. CreateDynamicObject(17864,1516.00000000,-1410.09997559,370.79998779,0.00000000,179.99450684,269.73925781); //object(comp_puchase) (31)
  140. CreateDynamicObject(17864,1505.80004883,-1409.80004883,370.79998779,0.00000000,179.99450684,268.98925781); //object(comp_puchase) (32)
  141. CreateDynamicObject(3095,1497.40002441,-1425.30004883,367.50000000,0.00000000,90.00000000,180.00000000); //object(a51_jetdoor) (93)
  142. CreateDynamicObject(3095,1497.50000000,-1426.40002441,367.50000000,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (94)
  143. CreateDynamicObject(3095,1501.59997559,-1430.30004883,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (95)
  144. CreateDynamicObject(3095,1502.40002441,-1424.69995117,366.10000610,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (96)
  145. CreateDynamicObject(3095,1497.69995117,-1420.30004883,367.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (97)
  146. CreateDynamicObject(3095,1502.40002441,-1425.80004883,366.10000610,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (98)
  147. CreateDynamicObject(3095,1502.40002441,-1425.80004883,367.79998779,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (100)
  148. CreateDynamicObject(3095,1502.40002441,-1424.69995117,367.79998779,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (101)
  149. CreateDynamicObject(3095,1576.40002441,-1311.59997559,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (102)
  150. CreateDynamicObject(3095,1568.90002441,-1311.59997559,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (103)
  151. CreateDynamicObject(3095,1561.69995117,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (104)
  152. CreateDynamicObject(3095,1552.90002441,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (105)
  153. CreateDynamicObject(3095,1544.40002441,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (106)
  154. CreateDynamicObject(3095,1536.69995117,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (107)
  155. CreateDynamicObject(17864,1516.30004883,-1323.40002441,370.79998779,0.00000000,179.99450684,270.24426270); //object(comp_puchase) (33)
  156. CreateDynamicObject(17864,1516.30004883,-1338.90002441,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (34)
  157. CreateDynamicObject(17864,1516.19995117,-1355.59997559,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (35)
  158. CreateDynamicObject(17864,1516.30004883,-1395.40002441,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (36)
  159. CreateDynamicObject(17864,1516.19995117,-1410.40002441,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (37)
  160.  
  161. /*
  162. Objects converted: 145
  163. Vehicles converted: 0
  164. Vehicle models found: 0
  165. ----------------------
  166. In the time this conversion took to finish the US national debt has risen by about $11,889.95!
  167. */
  168.  
  169. //Pickupovi
  170.  
  171. CreateDynamicPickup(1318, 1, 1444.8497, -1468.9353, 13.0395, -1, -1, -1, 100.0);
  172. CreateDynamicPickup(1318, 1, 1825.7867,-1538.3077,13.5469, -1, -1, -1, 100.0);
  173. CreateDynamicPickup(1318, 1, 1782.7852,-1703.9542,13.5162, -1, -1, -1, 100.0);
  174.  
  175. //3DTextovi
  176.  
  177. Create3DTextLabel("Javna Garaza\nCijena: $30\n/garaza", 0x008080FF, 1444.8497, -1468.9353, 13.0395, 40.0,0);
  178. Create3DTextLabel("Javna Garaza\nCijena: $30\n/garaza", 0x008080FF, 1825.7867,-1538.3077,13.5469, 40.0,0);
  179. Create3DTextLabel("Javna Garaza\nCijena: $30\n/garaza", 0x008080FF, 1782.7852,-1703.9542,13.5162, 40.0,0);
  180.  
  181. print("\n--------------------------------------");
  182. print(" Garaza by LG Loadana");
  183. print("--------------------------------------\n");
  184. return 1;
  185.  
  186. }
  187.  
  188. public OnFilterScriptExit()
  189. {
  190.     return 1;
  191.    
  192. }
  193.  
  194. public OnPlayerRequestClass(playerid, classid)
  195. {
  196.     return 1;
  197. }
  198.  
  199. public OnPlayerConnect(playerid)
  200. {
  201.  
  202.     UGarazi[playerid] = 0;
  203.     SendClientMessage(playerid, 0xFFFFFFAA, "Ovaj Server koristi garaza system by LG!");
  204.     return 1;
  205. }
  206.  
  207. public OnPlayerDisconnect(playerid, reason)
  208. {
  209.     return 1;
  210. }
  211.  
  212. public OnPlayerSpawn(playerid)
  213. {
  214.     return 1;
  215. }
  216.  
  217. public OnPlayerDeath(playerid, killerid, reason)
  218. {
  219.     return 1;
  220. }
  221.  
  222. public OnVehicleSpawn(vehicleid)
  223. {
  224.     return 1;
  225. }
  226.  
  227. public OnVehicleDeath(vehicleid, killerid)
  228. {
  229.     return 1;
  230. }
  231.  
  232. public OnPlayerText(playerid, text[])
  233. {
  234.     return 1;
  235. }
  236.  
  237. public OnPlayerCommandText(playerid, cmdtext[])
  238. {
  239.     if (strcmp("/garaza", cmdtext, true) == 0)
  240.     {
  241.         if(UGarazi[playerid] == 0)
  242.         {
  243.             //Garaza 1 ulaz
  244.             if(IsPlayerInRangeOfPoint(playerid, 15.0, 1444.8497,-1468.9353,13.0395))
  245.             {
  246.                 if(GetPlayerMoney(playerid) < 30)
  247.                 {
  248.                     return SendClientMessage(playerid, 0xFFFFFFAA, "Nemas Dovoljno Novaca! ($30)");
  249.                 }
  250.  
  251.                 if(IsPlayerInAnyVehicle(playerid))
  252.                 {
  253.                     new vehid = GetPlayerVehicleID(playerid);
  254.                     SetVehiclePos(vehid, 1541.9000244141, -1424.4000244141, 333.89999389648);
  255.                     SetCameraBehindPlayer(playerid);
  256.  
  257.                     SetPlayerVirtualWorld(playerid, 1);
  258.                     SetVehicleVirtualWorld(vehid, 1);
  259.  
  260.                     PutPlayerInVehicle(playerid, vehid, 0);
  261.  
  262.                     UGarazi[playerid] = 1;
  263.  
  264.                     GivePlayerMoney(playerid, -30);
  265.  
  266.                     return 1;
  267.                 }else{
  268.                     SetPlayerPos(playerid, 1541.9000244141, -1424.4000244141, 333.89999389648);
  269.                     SetCameraBehindPlayer(playerid);
  270.  
  271.                     SetPlayerVirtualWorld(playerid, 1);
  272.  
  273.                     UGarazi[playerid] = 1;
  274.  
  275.                     GivePlayerMoney(playerid, -30);
  276.  
  277.                     return 1;
  278.                 }
  279.             }else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1825.7867,-1538.3077,13.5469))
  280.             { //Garaza 2 ulaz
  281.                 if(GetPlayerMoney(playerid) < 30)
  282.                 {
  283.                     return SendClientMessage(playerid, 0xFFFFFFAA, "Nemas Dovoljno Novaca! ($30)");
  284.                 }
  285.                
  286.                 if(IsPlayerInAnyVehicle(playerid))
  287.                 {
  288.                     new vehid = GetPlayerVehicleID(playerid);
  289.                     SetVehiclePos(vehid, 1541.9000244141, -1424.4000244141, 333.89999389648);
  290.                     SetCameraBehindPlayer(playerid);
  291.  
  292.                     SetPlayerVirtualWorld(playerid, 2);
  293.                     SetVehicleVirtualWorld(vehid, 2);
  294.  
  295.                     PutPlayerInVehicle(playerid, vehid, 0);
  296.  
  297.                     UGarazi[playerid] = 2;
  298.                        
  299.                     GivePlayerMoney(playerid, -30);
  300.                        
  301.                     return 1;
  302.                 }else{
  303.                     SetPlayerPos(playerid, 1541.9000244141, -1424.4000244141, 333.89999389648);
  304.                     SetCameraBehindPlayer(playerid);
  305.  
  306.                     SetPlayerVirtualWorld(playerid, 2);
  307.  
  308.                     UGarazi[playerid] = 2;
  309.                        
  310.                     GivePlayerMoney(playerid, -30);
  311.                        
  312.                     return 1;
  313.                 }
  314.             }else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1782.7852,-1703.9542,13.5162))
  315.             { //Garaza 3 ulaz
  316.                 if(GetPlayerMoney(playerid) < 30)
  317.                 {
  318.                     return SendClientMessage(playerid, 0xFFFFFFAA, "Nemas Dovoljno Novaca! ($30)");
  319.                 }
  320.  
  321.                 if(IsPlayerInAnyVehicle(playerid))
  322.                 {
  323.                     new vehid = GetPlayerVehicleID(playerid);
  324.                     SetVehiclePos(vehid, 1541.9000244141, -1424.4000244141, 333.89999389648);
  325.                     SetCameraBehindPlayer(playerid);
  326.  
  327.                     SetPlayerVirtualWorld(playerid, 3);
  328.                     SetVehicleVirtualWorld(vehid, 3);
  329.  
  330.                     PutPlayerInVehicle(playerid, vehid, 0);
  331.  
  332.                     UGarazi[playerid] = 3;
  333.  
  334.                     GivePlayerMoney(playerid, -30);
  335.  
  336.                     return 1;
  337.                 }else{
  338.                     SetPlayerPos(playerid, 1541.9000244141, -1424.4000244141, 333.89999389648);
  339.                     SetCameraBehindPlayer(playerid);
  340.  
  341.                     SetPlayerVirtualWorld(playerid, 3);
  342.  
  343.                     UGarazi[playerid] = 3;
  344.  
  345.                     GivePlayerMoney(playerid, -30);
  346.  
  347.                     return 1;
  348.                 }
  349.             }else{
  350.                 SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini garaze!");
  351.             }
  352.            
  353.         }else if(UGarazi[playerid] == 1){
  354.  
  355.             if(IsPlayerInRangeOfPoint(playerid, 15.0, 1541.9000244141, -1424.4000244141, 330.89999389648))
  356.             {
  357.                 if(IsPlayerInAnyVehicle(playerid))
  358.                 {
  359.                     new vehid = GetPlayerVehicleID(playerid);
  360.                     SetVehiclePos(vehid, 1444.8497,-1468.9353,13.0395);
  361.                     SetCameraBehindPlayer(playerid);
  362.  
  363.                     SetPlayerVirtualWorld(playerid, 0);
  364.                     SetVehicleVirtualWorld(vehid, 0);
  365.  
  366.                     PutPlayerInVehicle(playerid, vehid, 0);
  367.  
  368.                     UGarazi[playerid] = 0;
  369.                 }else{
  370.                     SetPlayerPos(playerid, 1444.8497,-1468.9353,13.0395);
  371.                     SetCameraBehindPlayer(playerid);
  372.  
  373.                     SetPlayerVirtualWorld(playerid, 0);
  374.  
  375.                     UGarazi[playerid] = 0;
  376.                 }
  377.             }else{
  378.                 SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini izlaza iz garaze!");
  379.             }
  380.         }else if(UGarazi[playerid] == 2){
  381.  
  382.             if(IsPlayerInRangeOfPoint(playerid, 15.0, 1541.9000244141, -1424.4000244141, 330.89999389648))
  383.             {
  384.                 if(IsPlayerInAnyVehicle(playerid))
  385.                 {
  386.                     new vehid = GetPlayerVehicleID(playerid);
  387.                     SetVehiclePos(vehid, 1825.7867,-1538.3077,13.5469);
  388.                     SetCameraBehindPlayer(playerid);
  389.  
  390.                     SetPlayerVirtualWorld(playerid, 0);
  391.                     SetVehicleVirtualWorld(vehid, 0);
  392.  
  393.                     PutPlayerInVehicle(playerid, vehid, 0);
  394.  
  395.                     UGarazi[playerid] = 0;
  396.                 }else{
  397.                     SetPlayerPos(playerid, 1825.7867,-1538.3077,13.5469);
  398.                     SetCameraBehindPlayer(playerid);
  399.  
  400.                     SetPlayerVirtualWorld(playerid, 0);
  401.  
  402.                     UGarazi[playerid] = 0;
  403.                 }
  404.             }else{
  405.                 SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini izlaza iz garaze!");
  406.             }
  407.         }else if(UGarazi[playerid] == 3){
  408.  
  409.             if(IsPlayerInRangeOfPoint(playerid, 15.0, 1541.9000244141, -1424.4000244141, 330.89999389648))
  410.             {
  411.                 if(IsPlayerInAnyVehicle(playerid))
  412.                 {
  413.                     new vehid = GetPlayerVehicleID(playerid);
  414.                     SetVehiclePos(vehid, 1782.7852,-1703.9542,13.5162);
  415.                     SetCameraBehindPlayer(playerid);
  416.  
  417.                     SetPlayerVirtualWorld(playerid, 0);
  418.                     SetVehicleVirtualWorld(vehid, 0);
  419.  
  420.                     PutPlayerInVehicle(playerid, vehid, 0);
  421.  
  422.                     UGarazi[playerid] = 0;
  423.                 }else{
  424.                     SetPlayerPos(playerid, 1782.7852,-1703.9542,13.5162);
  425.                     SetCameraBehindPlayer(playerid);
  426.  
  427.                     SetPlayerVirtualWorld(playerid, 0);
  428.  
  429.                     UGarazi[playerid] = 0;
  430.                 }
  431.             }else{
  432.                 SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini izlaza iz garaze!");
  433.             }
  434.         }
  435.        
  436.         return 1;
  437.     }
  438.    
  439.     if (strcmp("/resetgaraza", cmdtext, true) == 0)
  440.     {
  441.         SendClientMessage(playerid, 0xFFFFFFAA, "Garaza resetana!");
  442.         UGarazi[playerid] = 0;
  443.         return 1;
  444.     }
  445.     return 0;
  446. }
  447.  
  448. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  449. {
  450.     return 1;
  451. }
  452.  
  453. public OnPlayerExitVehicle(playerid, vehicleid)
  454. {
  455.     return 1;
  456. }
  457.  
  458. public OnPlayerStateChange(playerid, newstate, oldstate)
  459. {
  460.     return 1;
  461. }
  462.  
  463. public OnPlayerEnterCheckpoint(playerid)
  464. {
  465.     return 1;
  466. }
  467.  
  468. public OnPlayerLeaveCheckpoint(playerid)
  469. {
  470.     return 1;
  471. }
  472.  
  473. public OnPlayerEnterRaceCheckpoint(playerid)
  474. {
  475.     return 1;
  476. }
  477.  
  478. public OnPlayerLeaveRaceCheckpoint(playerid)
  479. {
  480.     return 1;
  481. }
  482.  
  483. public OnRconCommand(cmd[])
  484. {
  485.     return 1;
  486. }
  487.  
  488. public OnPlayerRequestSpawn(playerid)
  489. {
  490.     return 1;
  491. }
  492.  
  493. public OnObjectMoved(objectid)
  494. {
  495.     return 1;
  496. }
  497.  
  498. public OnPlayerObjectMoved(playerid, objectid)
  499. {
  500.     return 1;
  501. }
  502.  
  503. public OnPlayerPickUpPickup(playerid, pickupid)
  504. {
  505.     return 1;
  506. }
  507.  
  508. public OnVehicleMod(playerid, vehicleid, componentid)
  509. {
  510.     return 1;
  511. }
  512.  
  513. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  514. {
  515.     return 1;
  516. }
  517.  
  518. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  519. {
  520.     return 1;
  521. }
  522.  
  523. public OnPlayerSelectedMenuRow(playerid, row)
  524. {
  525.     return 1;
  526. }
  527.  
  528. public OnPlayerExitedMenu(playerid)
  529. {
  530.     return 1;
  531. }
  532.  
  533. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  534. {
  535.     return 1;
  536. }
  537.  
  538. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  539. {
  540.     return 1;
  541. }
  542.  
  543. public OnRconLoginAttempt(ip[], password[], success)
  544. {
  545.     return 1;
  546. }
  547.  
  548. public OnPlayerUpdate(playerid)
  549. {
  550.     return 1;
  551. }
  552.  
  553. public OnPlayerStreamIn(playerid, forplayerid)
  554. {
  555.     return 1;
  556. }
  557.  
  558. public OnPlayerStreamOut(playerid, forplayerid)
  559. {
  560.     return 1;
  561. }
  562.  
  563. public OnVehicleStreamIn(vehicleid, forplayerid)
  564. {
  565.     return 1;
  566. }
  567.  
  568. public OnVehicleStreamOut(vehicleid, forplayerid)
  569. {
  570.     return 1;
  571. }
  572.  
  573. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  574. {
  575.     return 1;
  576. }
  577.  
  578. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  579. {
  580.     return 1;
  581. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement