Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////GARAZA by LeonGrdic////
- ////Ne brišite kredite////
- #include <a_samp>
- #include <streamer>
- new UGarazi[MAX_PLAYERS] = 0;
- new GPickup[100];
- new Text3D: GLabel[100];
- public OnFilterScriptInit()
- {
- CreateDynamicObject(8390,1542.00000000,-1361.09997559,349.20001221,0.00000000,0.00000000,0.00000000); //object(multicarpark01_lvs) (1)
- CreateDynamicObject(3095,1539.19995117,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (1)
- CreateDynamicObject(3095,1530.40002441,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (2)
- CreateDynamicObject(3095,1522.40002441,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (3)
- CreateDynamicObject(3095,1513.90002441,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (4)
- CreateDynamicObject(3095,1505.59997559,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (5)
- CreateDynamicObject(3095,1505.59997559,-1430.19995117,341.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (6)
- CreateDynamicObject(3095,1505.59997559,-1430.19995117,349.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (7)
- CreateDynamicObject(3095,1505.59997559,-1430.19995117,357.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (8)
- CreateDynamicObject(3095,1505.59997559,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (9)
- CreateDynamicObject(3095,1513.90002441,-1430.19995117,341.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (10)
- CreateDynamicObject(3095,1513.90002441,-1430.19995117,350.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (11)
- CreateDynamicObject(3095,1513.90002441,-1430.19995117,359.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (12)
- CreateDynamicObject(3095,1513.90002441,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (13)
- CreateDynamicObject(3095,1522.40002441,-1430.19995117,340.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (14)
- CreateDynamicObject(3095,1522.40002441,-1430.19995117,349.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (15)
- CreateDynamicObject(3095,1522.40002441,-1430.19995117,356.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (16)
- CreateDynamicObject(3095,1522.40002441,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (17)
- CreateDynamicObject(3095,1530.40002441,-1430.19995117,340.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (18)
- CreateDynamicObject(3095,1530.40002441,-1430.19995117,349.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (19)
- CreateDynamicObject(3095,1530.40002441,-1430.19995117,357.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (20)
- CreateDynamicObject(3095,1530.40002441,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (21)
- CreateDynamicObject(3095,1539.19995117,-1430.19995117,342.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (22)
- CreateDynamicObject(3095,1539.19995117,-1430.19995117,350.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (23)
- CreateDynamicObject(3095,1539.19995117,-1430.19995117,359.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (24)
- CreateDynamicObject(3095,1539.19995117,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (25)
- CreateDynamicObject(3095,1547.69995117,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (26)
- CreateDynamicObject(3095,1556.69995117,-1430.19995117,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (27)
- CreateDynamicObject(3095,1564.69995117,-1430.30004883,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (28)
- CreateDynamicObject(3095,1573.00000000,-1430.40002441,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (29)
- CreateDynamicObject(3095,1578.00000000,-1430.40002441,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (30)
- CreateDynamicObject(3095,1578.00000000,-1430.40002441,341.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (31)
- CreateDynamicObject(3095,1578.00000000,-1430.40002441,350.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (32)
- CreateDynamicObject(3095,1578.00000000,-1430.40002441,357.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (33)
- CreateDynamicObject(3095,1578.00000000,-1430.50000000,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (34)
- CreateDynamicObject(3095,1573.00000000,-1430.40002441,341.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (35)
- CreateDynamicObject(3095,1573.00000000,-1430.40002441,350.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (36)
- CreateDynamicObject(3095,1573.00000000,-1430.40002441,357.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (37)
- CreateDynamicObject(3095,1573.00000000,-1430.40002441,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (38)
- CreateDynamicObject(3095,1564.69995117,-1430.30004883,340.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (39)
- CreateDynamicObject(3095,1564.69995117,-1430.30004883,349.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (40)
- CreateDynamicObject(3095,1564.69995117,-1430.30004883,358.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (41)
- CreateDynamicObject(3095,1564.69995117,-1430.30004883,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (42)
- CreateDynamicObject(3095,1547.69995117,-1430.19995117,341.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (43)
- CreateDynamicObject(3095,1547.69995117,-1430.19995117,349.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (44)
- CreateDynamicObject(3095,1547.69995117,-1430.19995117,357.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (45)
- CreateDynamicObject(3095,1547.69995117,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (46)
- CreateDynamicObject(3095,1556.69995117,-1430.19995117,342.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (47)
- CreateDynamicObject(3095,1556.69995117,-1430.19995117,349.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (48)
- CreateDynamicObject(3095,1556.69995117,-1430.19995117,358.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (49)
- CreateDynamicObject(3095,1556.69995117,-1430.19995117,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (50)
- CreateDynamicObject(10830,1556.80004883,-1335.19995117,370.20001221,0.00000000,0.00000000,45.00000000); //object(drydock2_sfse) (1)
- CreateDynamicObject(17864,1591.50000000,-1404.09997559,350.00000000,0.00000000,90.00000000,180.50000000); //object(comp_puchase) (1)
- CreateDynamicObject(10830,1556.80004883,-1383.19995117,370.20001221,0.00000000,0.00000000,44.99450684); //object(drydock2_sfse) (2)
- CreateDynamicObject(10830,1556.80004883,-1406.69995117,370.20001221,0.00000000,0.00000000,44.99450684); //object(drydock2_sfse) (3)
- CreateDynamicObject(3095,1497.69995117,-1420.40002441,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (51)
- CreateDynamicObject(3095,1495.00000000,-1420.40002441,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (52)
- CreateDynamicObject(17864,1591.59997559,-1372.40002441,350.00000000,0.00000000,90.00000000,180.49987793); //object(comp_puchase) (2)
- CreateDynamicObject(17864,1591.69995117,-1344.09997559,350.00000000,0.00000000,90.00000000,180.49987793); //object(comp_puchase) (3)
- CreateDynamicObject(17864,1591.90002441,-1316.50000000,350.00000000,0.00000000,90.00000000,180.49987793); //object(comp_puchase) (4)
- CreateDynamicObject(3578,1536.30004883,-1425.09997559,330.70001221,0.00000000,0.00000000,90.00000000); //object(dockbarr1_la) (1)
- CreateDynamicObject(3578,1546.40002441,-1425.00000000,330.70001221,0.00000000,0.00000000,90.00000000); //object(dockbarr1_la) (2)
- CreateDynamicObject(3095,1587.30004883,-1420.59997559,333.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (53)
- CreateDynamicObject(3095,1587.30004883,-1420.59997559,340.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (54)
- CreateDynamicObject(3095,1587.30004883,-1420.59997559,349.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (55)
- CreateDynamicObject(3095,1587.30004883,-1420.59997559,357.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (56)
- CreateDynamicObject(3095,1587.30004883,-1420.59997559,364.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (57)
- CreateDynamicObject(3095,1587.59997559,-1300.40002441,365.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (59)
- CreateDynamicObject(3095,1578.00000000,-1430.50000000,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (60)
- CreateDynamicObject(3095,1573.00000000,-1430.40002441,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (61)
- CreateDynamicObject(3095,1564.69995117,-1430.30004883,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (62)
- CreateDynamicObject(3095,1556.69995117,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (63)
- CreateDynamicObject(3095,1547.69995117,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (64)
- CreateDynamicObject(3095,1539.19995117,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (65)
- CreateDynamicObject(3095,1530.40002441,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (66)
- CreateDynamicObject(17864,1492.50000000,-1316.30004883,350.00000000,0.00000000,90.00000000,1.25000000); //object(comp_puchase) (5)
- CreateDynamicObject(17864,1492.59997559,-1347.50000000,350.00000000,0.00000000,90.00000000,0.75000000); //object(comp_puchase) (6)
- CreateDynamicObject(17864,1492.59997559,-1378.59997559,350.00000000,0.00000000,90.00000000,1.00000000); //object(comp_puchase) (7)
- CreateDynamicObject(17864,1492.59997559,-1404.80004883,350.00000000,0.00000000,90.00000000,0.75000000); //object(comp_puchase) (8)
- CreateDynamicObject(3095,1495.00000000,-1420.40002441,356.89999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (67)
- CreateDynamicObject(3095,1495.00000000,-1420.40002441,348.39999390,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (68)
- CreateDynamicObject(3095,1495.00000000,-1420.40002441,341.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (69)
- CreateDynamicObject(3095,1495.00000000,-1420.40002441,334.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (70)
- CreateDynamicObject(3095,1587.59997559,-1300.40002441,358.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (71)
- CreateDynamicObject(3095,1587.59997559,-1300.40002441,351.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (72)
- CreateDynamicObject(3095,1587.59997559,-1300.40002441,344.00000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (73)
- CreateDynamicObject(3095,1587.59997559,-1300.40002441,337.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (74)
- CreateDynamicObject(3095,1587.59997559,-1300.40002441,334.10000610,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (75)
- CreateDynamicObject(3095,1496.69995117,-1300.40002441,365.20001221,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (76)
- CreateDynamicObject(3095,1496.69995117,-1300.40002441,358.00000000,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (77)
- CreateDynamicObject(3095,1496.69995117,-1300.40002441,349.50000000,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (78)
- CreateDynamicObject(3095,1496.69995117,-1300.40002441,341.00000000,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (79)
- CreateDynamicObject(3095,1496.69995117,-1300.40002441,334.39999390,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (80)
- CreateDynamicObject(17864,1512.90002441,-1291.59997559,350.00000000,0.00000000,90.00000000,271.25000000); //object(comp_puchase) (9)
- CreateDynamicObject(17864,1544.59997559,-1291.40002441,350.10000610,0.00000000,90.00000000,271.24694824); //object(comp_puchase) (10)
- CreateDynamicObject(17864,1566.90002441,-1291.30004883,350.10000610,0.00000000,90.00000000,270.99694824); //object(comp_puchase) (11)
- CreateDynamicObject(17864,1578.09997559,-1291.50000000,369.89999390,0.00000000,180.00000000,270.99426270); //object(comp_puchase) (12)
- CreateDynamicObject(17864,1546.50000000,-1292.00000000,370.39999390,0.00000000,180.00000000,270.99426270); //object(comp_puchase) (14)
- CreateDynamicObject(3095,1582.40002441,-1296.40002441,366.50000000,0.00000000,90.00000000,180.00000000); //object(a51_jetdoor) (81)
- CreateDynamicObject(3095,1586.40002441,-1300.40002441,367.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (82)
- CreateDynamicObject(3095,1582.40002441,-1295.50000000,366.50000000,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (83)
- CreateDynamicObject(3095,1585.59997559,-1311.09997559,365.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (84)
- CreateDynamicObject(3095,1587.59997559,-1311.09997559,365.20001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (85)
- CreateDynamicObject(17864,1517.00000000,-1289.69995117,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (16)
- CreateDynamicObject(17864,1507.69995117,-1292.69995117,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (18)
- CreateDynamicObject(17864,1512.90002441,-1291.59997559,351.89999390,0.00000000,90.00000000,271.24694824); //object(comp_puchase) (19)
- CreateDynamicObject(17864,1544.59997559,-1291.40002441,351.50000000,0.00000000,90.00000000,271.24694824); //object(comp_puchase) (20)
- CreateDynamicObject(3095,1496.69995117,-1300.40002441,366.79998779,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (86)
- CreateDynamicObject(3095,1502.19995117,-1296.30004883,366.79998779,0.00000000,90.00000000,0.00000000); //object(a51_jetdoor) (87)
- CreateDynamicObject(3095,1498.19995117,-1300.40002441,366.79998779,0.00000000,90.00000000,90.00000000); //object(a51_jetdoor) (88)
- CreateDynamicObject(17864,1492.50000000,-1316.30004883,351.39999390,0.00000000,90.00000000,1.24694824); //object(comp_puchase) (21)
- CreateDynamicObject(17864,1507.50000000,-1324.00000000,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (22)
- CreateDynamicObject(17864,1515.69995117,-1323.40002441,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (23)
- CreateDynamicObject(17864,1492.59997559,-1347.50000000,351.50000000,0.00000000,90.00000000,0.74707031); //object(comp_puchase) (24)
- CreateDynamicObject(17864,1492.59997559,-1378.59997559,352.20001221,0.00000000,90.00000000,0.99975586); //object(comp_puchase) (25)
- CreateDynamicObject(17864,1492.59997559,-1404.80004883,352.10000610,0.00000000,90.00000000,0.74707031); //object(comp_puchase) (26)
- CreateDynamicObject(17864,1515.90002441,-1361.40002441,370.79998779,0.00000000,179.99450684,270.99426270); //object(comp_puchase) (27)
- CreateDynamicObject(17864,1507.69995117,-1361.30004883,370.79998779,0.00000000,179.99450684,268.99426270); //object(comp_puchase) (28)
- CreateDynamicObject(17864,1507.80004883,-1400.50000000,370.79998779,0.00000000,179.99450684,268.98925781); //object(comp_puchase) (29)
- CreateDynamicObject(17864,1516.19995117,-1400.19995117,370.79998779,0.00000000,179.99450684,268.98925781); //object(comp_puchase) (30)
- CreateDynamicObject(3095,1522.40002441,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (89)
- CreateDynamicObject(3095,1513.90002441,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (90)
- CreateDynamicObject(3095,1505.59997559,-1430.19995117,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (91)
- CreateDynamicObject(3095,1495.00000000,-1420.40002441,367.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (92)
- CreateDynamicObject(17864,1516.00000000,-1410.09997559,370.79998779,0.00000000,179.99450684,269.73925781); //object(comp_puchase) (31)
- CreateDynamicObject(17864,1505.80004883,-1409.80004883,370.79998779,0.00000000,179.99450684,268.98925781); //object(comp_puchase) (32)
- CreateDynamicObject(3095,1497.40002441,-1425.30004883,367.50000000,0.00000000,90.00000000,180.00000000); //object(a51_jetdoor) (93)
- CreateDynamicObject(3095,1497.50000000,-1426.40002441,367.50000000,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (94)
- CreateDynamicObject(3095,1501.59997559,-1430.30004883,368.70001221,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (95)
- CreateDynamicObject(3095,1502.40002441,-1424.69995117,366.10000610,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (96)
- CreateDynamicObject(3095,1497.69995117,-1420.30004883,367.50000000,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (97)
- CreateDynamicObject(3095,1502.40002441,-1425.80004883,366.10000610,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (98)
- CreateDynamicObject(3095,1502.40002441,-1425.80004883,367.79998779,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (100)
- CreateDynamicObject(3095,1502.40002441,-1424.69995117,367.79998779,0.00000000,90.00000000,179.99450684); //object(a51_jetdoor) (101)
- CreateDynamicObject(3095,1576.40002441,-1311.59997559,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (102)
- CreateDynamicObject(3095,1568.90002441,-1311.59997559,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (103)
- CreateDynamicObject(3095,1561.69995117,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (104)
- CreateDynamicObject(3095,1552.90002441,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (105)
- CreateDynamicObject(3095,1544.40002441,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (106)
- CreateDynamicObject(3095,1536.69995117,-1311.69995117,374.29998779,0.00000000,90.00000000,270.00000000); //object(a51_jetdoor) (107)
- CreateDynamicObject(17864,1516.30004883,-1323.40002441,370.79998779,0.00000000,179.99450684,270.24426270); //object(comp_puchase) (33)
- CreateDynamicObject(17864,1516.30004883,-1338.90002441,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (34)
- CreateDynamicObject(17864,1516.19995117,-1355.59997559,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (35)
- CreateDynamicObject(17864,1516.30004883,-1395.40002441,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (36)
- CreateDynamicObject(17864,1516.19995117,-1410.40002441,370.79998779,0.00000000,179.99450684,270.24169922); //object(comp_puchase) (37)
- /*
- Objects converted: 145
- Vehicles converted: 0
- Vehicle models found: 0
- ----------------------
- In the time this conversion took to finish the US national debt has risen by about $11,889.95!
- */
- //Pickupovi
- CreateDynamicPickup(1318, 1, 1444.8497, -1468.9353, 13.0395, -1, -1, -1, 100.0);
- CreateDynamicPickup(1318, 1, 1825.7867,-1538.3077,13.5469, -1, -1, -1, 100.0);
- CreateDynamicPickup(1318, 1, 1782.7852,-1703.9542,13.5162, -1, -1, -1, 100.0);
- //3DTextovi
- Create3DTextLabel("Javna Garaza\nCijena: $30\n/garaza", 0x008080FF, 1444.8497, -1468.9353, 13.0395, 40.0,0);
- Create3DTextLabel("Javna Garaza\nCijena: $30\n/garaza", 0x008080FF, 1825.7867,-1538.3077,13.5469, 40.0,0);
- Create3DTextLabel("Javna Garaza\nCijena: $30\n/garaza", 0x008080FF, 1782.7852,-1703.9542,13.5162, 40.0,0);
- print("\n--------------------------------------");
- print(" Garaza by LG Loadana");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- UGarazi[playerid] = 0;
- SendClientMessage(playerid, 0xFFFFFFAA, "Ovaj Server koristi garaza system by LG!");
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/garaza", cmdtext, true) == 0)
- {
- if(UGarazi[playerid] == 0)
- {
- //Garaza 1 ulaz
- if(IsPlayerInRangeOfPoint(playerid, 15.0, 1444.8497,-1468.9353,13.0395))
- {
- if(GetPlayerMoney(playerid) < 30)
- {
- return SendClientMessage(playerid, 0xFFFFFFAA, "Nemas Dovoljno Novaca! ($30)");
- }
- if(IsPlayerInAnyVehicle(playerid))
- {
- new vehid = GetPlayerVehicleID(playerid);
- SetVehiclePos(vehid, 1541.9000244141, -1424.4000244141, 333.89999389648);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 1);
- SetVehicleVirtualWorld(vehid, 1);
- PutPlayerInVehicle(playerid, vehid, 0);
- UGarazi[playerid] = 1;
- GivePlayerMoney(playerid, -30);
- return 1;
- }else{
- SetPlayerPos(playerid, 1541.9000244141, -1424.4000244141, 333.89999389648);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 1);
- UGarazi[playerid] = 1;
- GivePlayerMoney(playerid, -30);
- return 1;
- }
- }else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1825.7867,-1538.3077,13.5469))
- { //Garaza 2 ulaz
- if(GetPlayerMoney(playerid) < 30)
- {
- return SendClientMessage(playerid, 0xFFFFFFAA, "Nemas Dovoljno Novaca! ($30)");
- }
- if(IsPlayerInAnyVehicle(playerid))
- {
- new vehid = GetPlayerVehicleID(playerid);
- SetVehiclePos(vehid, 1541.9000244141, -1424.4000244141, 333.89999389648);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 2);
- SetVehicleVirtualWorld(vehid, 2);
- PutPlayerInVehicle(playerid, vehid, 0);
- UGarazi[playerid] = 2;
- GivePlayerMoney(playerid, -30);
- return 1;
- }else{
- SetPlayerPos(playerid, 1541.9000244141, -1424.4000244141, 333.89999389648);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 2);
- UGarazi[playerid] = 2;
- GivePlayerMoney(playerid, -30);
- return 1;
- }
- }else if(IsPlayerInRangeOfPoint(playerid, 15.0, 1782.7852,-1703.9542,13.5162))
- { //Garaza 3 ulaz
- if(GetPlayerMoney(playerid) < 30)
- {
- return SendClientMessage(playerid, 0xFFFFFFAA, "Nemas Dovoljno Novaca! ($30)");
- }
- if(IsPlayerInAnyVehicle(playerid))
- {
- new vehid = GetPlayerVehicleID(playerid);
- SetVehiclePos(vehid, 1541.9000244141, -1424.4000244141, 333.89999389648);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 3);
- SetVehicleVirtualWorld(vehid, 3);
- PutPlayerInVehicle(playerid, vehid, 0);
- UGarazi[playerid] = 3;
- GivePlayerMoney(playerid, -30);
- return 1;
- }else{
- SetPlayerPos(playerid, 1541.9000244141, -1424.4000244141, 333.89999389648);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 3);
- UGarazi[playerid] = 3;
- GivePlayerMoney(playerid, -30);
- return 1;
- }
- }else{
- SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini garaze!");
- }
- }else if(UGarazi[playerid] == 1){
- if(IsPlayerInRangeOfPoint(playerid, 15.0, 1541.9000244141, -1424.4000244141, 330.89999389648))
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- new vehid = GetPlayerVehicleID(playerid);
- SetVehiclePos(vehid, 1444.8497,-1468.9353,13.0395);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- SetVehicleVirtualWorld(vehid, 0);
- PutPlayerInVehicle(playerid, vehid, 0);
- UGarazi[playerid] = 0;
- }else{
- SetPlayerPos(playerid, 1444.8497,-1468.9353,13.0395);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- UGarazi[playerid] = 0;
- }
- }else{
- SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini izlaza iz garaze!");
- }
- }else if(UGarazi[playerid] == 2){
- if(IsPlayerInRangeOfPoint(playerid, 15.0, 1541.9000244141, -1424.4000244141, 330.89999389648))
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- new vehid = GetPlayerVehicleID(playerid);
- SetVehiclePos(vehid, 1825.7867,-1538.3077,13.5469);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- SetVehicleVirtualWorld(vehid, 0);
- PutPlayerInVehicle(playerid, vehid, 0);
- UGarazi[playerid] = 0;
- }else{
- SetPlayerPos(playerid, 1825.7867,-1538.3077,13.5469);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- UGarazi[playerid] = 0;
- }
- }else{
- SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini izlaza iz garaze!");
- }
- }else if(UGarazi[playerid] == 3){
- if(IsPlayerInRangeOfPoint(playerid, 15.0, 1541.9000244141, -1424.4000244141, 330.89999389648))
- {
- if(IsPlayerInAnyVehicle(playerid))
- {
- new vehid = GetPlayerVehicleID(playerid);
- SetVehiclePos(vehid, 1782.7852,-1703.9542,13.5162);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- SetVehicleVirtualWorld(vehid, 0);
- PutPlayerInVehicle(playerid, vehid, 0);
- UGarazi[playerid] = 0;
- }else{
- SetPlayerPos(playerid, 1782.7852,-1703.9542,13.5162);
- SetCameraBehindPlayer(playerid);
- SetPlayerVirtualWorld(playerid, 0);
- UGarazi[playerid] = 0;
- }
- }else{
- SendClientMessage(playerid, 0xFFFFFFAA, "Nisi u blizini izlaza iz garaze!");
- }
- }
- return 1;
- }
- if (strcmp("/resetgaraza", cmdtext, true) == 0)
- {
- SendClientMessage(playerid, 0xFFFFFFAA, "Garaza resetana!");
- UGarazi[playerid] = 0;
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement