Advertisement
Guest User

Untitled

a guest
Sep 21st, 2011
745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 28.12 KB | None | 0 0
  1. // Mappa esterno Pd by Mik_Teck, si ringrazia Phanto90 per lo script :D
  2.  
  3. #include <a_samp>
  4. #include <foreach>
  5.  
  6. new cancello1;
  7. new cancello2;
  8. public OnFilterScriptInit()
  9. {
  10.     SetTimer("MovingGates", 1000, true);
  11.     CreateObject(3095,1603.49963379,-1606.99194336,12.03676987,0.00000000,359.50000000,1.50000000); //object(a51_jetdoor) (2)
  12.     CreateObject(3095,1603.75000000,-1615.96374512,12.03676987,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (6)
  13.     CreateObject(3095,1603.98339844,-1624.55810547,12.03676987,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (8)
  14.     CreateObject(3095,1594.97778320,-1606.97607422,11.96177101,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (12)
  15.     CreateObject(3095,1595.20092773,-1615.77307129,11.96177101,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (14)
  16.     CreateObject(3095,1587.93041992,-1606.99536133,11.91177177,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (15)
  17.     CreateObject(3095,1595.45166016,-1624.77050781,11.96177101,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (16)
  18.     CreateObject(3095,1588.16333008,-1615.89550781,11.91177177,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (17)
  19.     CreateObject(3095,1579.30871582,-1614.96545410,11.83677292,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (18)
  20.     CreateObject(3095,1573.62963867,-1615.15161133,11.83677292,0.00000000,359.99462891,1.49963379); //object(a51_jetdoor) (19)
  21.     CreateObject(3095,1579.07434082,-1606.19226074,11.86177254,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (22)
  22.     CreateObject(3095,1564.67712402,-1615.37438965,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (24)
  23.     CreateObject(3095,1555.82495117,-1615.62927246,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (25)
  24.     CreateObject(3095,1546.90319824,-1615.86865234,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (26)
  25.     CreateObject(3095,1546.66345215,-1606.99279785,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (27)
  26.     CreateObject(3095,1555.41015625,-1606.68518066,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (28)
  27.     CreateObject(3095,1564.41528320,-1606.45288086,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (29)
  28.     CreateObject(3095,1572.41113281,-1606.25292969,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (30)
  29.     CreateObject(3095,1579.44470215,-1623.89074707,11.83677292,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (31)
  30.     CreateObject(3095,1579.66455078,-1632.82666016,11.83677292,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (32)
  31.     CreateObject(3095,1573.94067383,-1627.01513672,11.83677292,0.00000000,359.99462891,1.49963379); //object(a51_jetdoor) (34)
  32.     CreateObject(3095,1604.02331543,-1633.48400879,12.03676987,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (36)
  33.     CreateObject(3095,1595.64538574,-1633.33776855,11.98677063,359.75006104,359.49465942,0.99743652); //object(a51_jetdoor) (37)
  34.     CreateObject(3095,1586.61901855,-1623.79650879,11.88677216,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (38)
  35.     CreateObject(3095,1586.77832031,-1632.63806152,11.88677216,0.00000000,359.49462891,1.49963379); //object(a51_jetdoor) (39)
  36.     CreateObject(3095,1565.01269531,-1627.11962891,11.86177254,0.00000000,359.99462891,1.49963379); //object(a51_jetdoor) (40)
  37.     CreateObject(3095,1556.03320312,-1626.08203125,11.86177254,0.00000000,359.98901367,1.49963379); //object(a51_jetdoor) (41)
  38.     CreateObject(3095,1556.26770020,-1634.91931152,11.86177254,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (42)
  39.     CreateObject(3095,1574.16210938,-1635.96691895,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (43)
  40.     CreateObject(3095,1565.25292969,-1636.08935547,11.86177254,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (44)
  41.     CreateObject(3095,1540.17871094,-1616.02465820,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (45)
  42.     CreateObject(3095,1540.56042480,-1607.19677734,11.83677292,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (47)
  43.     CreateObject(3095,1547.22619629,-1625.80383301,11.86177254,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (48)
  44.     CreateObject(3095,1547.46545410,-1634.60424805,11.86177254,0.00000000,359.99450684,1.49963379); //object(a51_jetdoor) (50)
  45.     CreateObject(3095,1544.01623535,-1634.72778320,11.86177254,0.00000000,359.99450684,359.99963379); //object(a51_jetdoor) (51)
  46.     CreateObject(3095,1543.94702148,-1625.74707031,11.86177254,0.00000000,359.99450684,0.99963379); //object(a51_jetdoor) (52)
  47.     cancello1= CreateObject(3475,1539.70703125,-1626.12207031,13.90900040,0.00000000,0.00000000,0.49987793); //object(vgsn_fncelec_pst) (8)
  48.     cancello2= CreateObject(3475,1539.76171875,-1630.18164062,13.90900040,0.00000000,0.00000000,0.49987793); //object(vgsn_fncelec_pst) (11)
  49.     CreateObject(3850,1541.76867676,-1622.86694336,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (1)
  50.     CreateObject(3850,1545.17065430,-1622.86328125,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (2)
  51.     CreateObject(3850,1552.03088379,-1622.88879395,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (4)
  52.     CreateObject(3850,1555.46191406,-1622.88867188,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (5)
  53.     CreateObject(3850,1562.54382324,-1622.87951660,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (6)
  54.     CreateObject(3850,1566.00708008,-1622.86022949,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (7)
  55.     CreateObject(3850,1569.43334961,-1622.88171387,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (8)
  56.     CreateObject(3850,1572.83630371,-1622.85974121,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (9)
  57.     CreateObject(3850,1576.26440430,-1622.84594727,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (10)
  58.     CreateObject(8851,1560.07043457,-1620.37463379,12.68719196,0.00000000,0.00000000,90.00000000); //object(vgeplntr01_lvs) (1)
  59.     CreateObject(8557,1558.16467285,-1620.47644043,13.68198586,0.00000000,0.00000000,0.00000000); //object(vgshseing27) (1)
  60.     CreateObject(4003,1556.34960938,-1636.98632812,24.19197083,0.00000000,0.00000000,0.00000000); //object(lacityhalltrans_lan) (1)
  61.     CreateObject(1215,1568.77941895,-1620.40173340,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
  62.     CreateObject(1215,1565.65161133,-1620.41540527,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (10)
  63.     CreateObject(1215,1561.69592285,-1620.38781738,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (11)
  64.     CreateObject(1215,1558.94140625,-1620.32617188,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
  65.     CreateObject(1215,1550.01428223,-1620.25500488,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (14)
  66.     CreateObject(1215,1555.78747559,-1620.27575684,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (15)
  67.     CreateObject(1215,1553.28295898,-1620.27563477,12.67476940,0.00000000,0.00000000,0.00000000); //object(bollardlight) (16)
  68.     CreateObject(1216,1565.74023438,-1636.75793457,13.15305901,0.00000000,0.00000000,180.50000000); //object(phonebooth1) (1)
  69.     CreateObject(1216,1564.53466797,-1636.72045898,13.15305901,0.00000000,0.00000000,180.49987793); //object(phonebooth1) (2)
  70.     CreateObject(1216,1566.86694336,-1636.76940918,13.15305901,0.00000000,0.00000000,180.49987793); //object(phonebooth1) (3)
  71.     CreateObject(7191,1607.85510254,-1624.74804688,12.99429989,0.00000000,0.00000000,0.00000000); //object(vegasnnewfence2b) (1)
  72.     CreateObject(7191,1607.83886719,-1624.72851562,16.89427376,0.00000000,0.00000000,0.00000000); //object(vegasnnewfence2b) (2)
  73.     CreateObject(7191,1585.09826660,-1602.66613770,12.89430141,0.00000000,0.00000000,90.25000000); //object(vegasnnewfence2b) (5)
  74.     CreateObject(7191,1585.09765625,-1602.66601562,16.46930122,0.00000000,0.00000000,90.24719238); //object(vegasnnewfence2b) (6)
  75.     CreateObject(7191,1561.74536133,-1602.73461914,12.66930485,0.00000000,0.00000000,90.24719238); //object(vegasnnewfence2b) (7)
  76.     CreateObject(7191,1561.74511719,-1602.73437500,16.61927986,0.00000000,0.00000000,90.24719238); //object(vegasnnewfence2b) (8)
  77.     CreateObject(7191,1605.89819336,-1624.64685059,18.39427376,0.00000000,270.50000000,0.00000000); //object(vegasnnewfence2b) (14)
  78.     CreateObject(7191,1601.99414062,-1624.64257812,18.41927338,0.00000000,270.49987793,0.00000000); //object(vegasnnewfence2b) (18)
  79.     CreateObject(7191,1598.24438477,-1624.65551758,18.41927338,0.00000000,270.50006104,0.25000000); //object(vegasnnewfence2b) (19)
  80.     CreateObject(7191,1594.49340820,-1624.69921875,18.41927338,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (20)
  81.     CreateObject(7191,1590.76660156,-1624.73144531,18.41927338,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (21)
  82.     CreateObject(7191,1587.18933105,-1624.78576660,18.46927261,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (22)
  83.     CreateObject(7191,1583.38244629,-1624.72851562,18.51927185,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (23)
  84.     CreateObject(7191,1579.75671387,-1624.85302734,18.51927185,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (29)
  85.     CreateObject(7191,1576.32873535,-1624.82226562,18.51927185,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (30)
  86.     CreateObject(7191,1572.50158691,-1624.80493164,18.51927185,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (37)
  87.     CreateObject(7191,1568.58935547,-1624.79089355,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (38)
  88.     CreateObject(7191,1565.50646973,-1624.79846191,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (39)
  89.     CreateObject(7191,1562.10656738,-1624.88659668,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (40)
  90.     CreateObject(7191,1558.40014648,-1624.91003418,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (41)
  91.     CreateObject(7191,1555.57360840,-1624.91687012,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (42)
  92.     CreateObject(7191,1552.09631348,-1624.91210938,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (43)
  93.     CreateObject(7191,1548.49707031,-1624.96679688,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (44)
  94.     CreateObject(7191,1545.39501953,-1624.96093750,18.56927109,0.00000000,270.49987793,0.24719238); //object(vegasnnewfence2b) (45)
  95.     CreateObject(1491,1539.22204590,-1622.07592773,12.32187843,0.00000000,0.00000000,91.25000000); //object(gen_doorint01) (2)
  96.     CreateObject(1491,1539.15917969,-1619.07421875,12.32187843,0.00000000,0.00000000,269.99450684); //object(gen_doorint01) (4)
  97.     CreateObject(3051,1539.57067871,-1618.36425781,13.53408432,0.00000000,0.00000000,49.50000000); //object(lift_dr) (1)
  98.     CreateObject(3051,1539.38537598,-1618.59692383,13.53408432,0.00000000,0.00000000,18.74887085); //object(lift_dr) (2)
  99.     CreateObject(3051,1539.27148438,-1622.54882812,13.53408432,0.00000000,0.00000000,50.49316406); //object(lift_dr) (3)
  100.     CreateObject(3051,1539.23937988,-1633.67468262,13.53408432,0.00000000,0.00000000,45.49316406); //object(lift_dr) (4)
  101.     CreateObject(3051,1539.24414062,-1634.67382812,13.53408432,0.00000000,0.00000000,45.48889160); //object(lift_dr) (5)
  102.     CreateObject(3051,1539.24121094,-1635.29882812,13.53408432,0.00000000,0.00000000,45.48889160); //object(lift_dr) (6)
  103.     CreateObject(3051,1539.71093750,-1636.20373535,13.53408432,0.00000000,0.00000000,99.48889160); //object(lift_dr) (11)
  104.     CreateObject(3051,1540.64147949,-1636.88549805,13.53408432,0.00000000,0.00000000,99.48669434); //object(lift_dr) (12)
  105.     CreateObject(3051,1541.49670410,-1637.53491211,13.53408432,0.00000000,0.00000000,99.48669434); //object(lift_dr) (13)
  106.     CreateObject(3051,1542.54650879,-1637.87963867,13.53408432,0.00000000,0.00000000,137.73675537); //object(lift_dr) (14)
  107.     CreateObject(3051,1543.72570801,-1637.85241699,13.53408432,0.00000000,0.00000000,135.73559570); //object(lift_dr) (15)
  108.     CreateObject(3850,1560.09045410,-1622.85668945,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (11)
  109.     CreateObject(3850,1549.87792969,-1622.85986328,13.06778431,0.00000000,0.00000000,90.00000000); //object(carshowbann_sfsx) (12)
  110.     CreateObject(1892,1574.98193359,-1617.88989258,12.42009735,0.00000000,0.00000000,180.24572754); //object(security_gatsh) (2)
  111.     CreateObject(1892,1568.13085938,-1617.83337402,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (5)
  112.     CreateObject(1892,1571.80334473,-1617.85461426,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (6)
  113.     CreateObject(1892,1564.45275879,-1617.83215332,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (7)
  114.     CreateObject(1892,1561.46826172,-1617.86755371,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (8)
  115.     CreateObject(1892,1557.66076660,-1617.88330078,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (9)
  116.     CreateObject(1892,1554.05334473,-1617.84521484,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (10)
  117.     CreateObject(1892,1551.22241211,-1617.82519531,12.42009735,0.00000000,0.00000000,180.24169922); //object(security_gatsh) (11)
  118.     CreateObject(3850,1578.69104004,-1621.21887207,13.06778431,0.00000000,0.00000000,151.25000000); //object(carshowbann_sfsx) (13)
  119.     CreateObject(3850,1577.97619629,-1618.82495117,13.06778431,0.00000000,0.00000000,234.99884033); //object(carshowbann_sfsx) (14)
  120.     CreateObject(16780,1580.65454102,-1635.18103027,16.76914978,0.00000000,0.00000000,0.00000000); //object(ufo_light03) (1)
  121.     CreateObject(2606,1579.76403809,-1633.11999512,15.85633755,0.00000000,0.00000000,0.00000000); //object(cj_police_counter2) (1)
  122.     CreateObject(2606,1581.83056641,-1635.31298828,15.85633755,0.00000000,0.00000000,271.00000000); //object(cj_police_counter2) (2)
  123.     CreateObject(2894,1580.29223633,-1633.39489746,13.68869972,0.00000000,0.00000000,16.00000000); //object(kmb_rhymesbook) (1)
  124.     CreateObject(2894,1581.57019043,-1635.43286133,13.68869972,0.00000000,0.00000000,285.99609375); //object(kmb_rhymesbook) (2)
  125.     CreateObject(2894,1580.29199219,-1633.39453125,13.73869896,0.00000000,0.00000000,15.99609375); //object(kmb_rhymesbook) (3)
  126.     CreateObject(2233,1578.84765625,-1632.93493652,13.66370010,0.00000000,0.00000000,0.00000000); //object(swank_speaker_4) (1)
  127.     CreateObject(2233,1582.09436035,-1633.57421875,13.66370010,0.00000000,0.00000000,305.00000000); //object(swank_speaker_4) (2)
  128.     CreateObject(2827,1581.62902832,-1636.71203613,13.66085529,0.00000000,0.00000000,86.00000000); //object(gb_novels05) (1)
  129.     CreateObject(1715,1579.56884766,-1634.89355469,12.56237602,0.00000000,0.00000000,179.25000000); //object(kb_swivelchair2) (1)
  130.     CreateObject(2714,1577.12487793,-1636.45043945,15.70539379,0.00000000,0.00000000,268.00000000); //object(cj_open_sign_2) (1)
  131.     CreateObject(1886,1577.74963379,-1633.44970703,16.78016090,22.24911499,0.54025269,35.54547119); //object(shop_sec_cam) (1)
  132.     CreateObject(1616,1577.21960449,-1637.73583984,16.10876465,0.00000000,0.00000000,356.00000000); //object(nt_securecam1_01) (1)
  133.     CreateObject(2920,1577.86682129,-1624.20349121,9.76731586,0.00000000,0.00000000,0.00000000); //object(police_barrier) (1)
  134.     CreateObject(3280,1577.48364258,-1628.24597168,12.39246845,0.00000000,0.00000000,0.00000000); //object(a51_panel) (1)
  135.     CreateObject(16093,1602.73486328,-1607.51391602,12.55497551,359.50006104,358.99993896,359.49127197); //object(a51_gatecontrol) (1)
  136.     CreateObject(2920,1592.08178711,-1638.32727051,12.54231930,354.52777100,90.55300903,180.27630615); //object(police_barrier) (3)
  137.     CreateObject(2920,1592.11633301,-1637.90380859,12.54231930,354.52331543,90.54931641,180.27465820); //object(police_barrier) (8)
  138.     CreateObject(870,1541.54003906,-1644.58972168,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (1)
  139.     CreateObject(870,1541.46704102,-1647.21594238,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (2)
  140.     CreateObject(870,1541.31823730,-1640.35375977,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (3)
  141.     CreateObject(870,1541.28515625,-1642.36328125,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (4)
  142.     CreateObject(870,1540.96398926,-1639.42944336,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (5)
  143.     CreateObject(870,1545.58251953,-1663.78002930,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (6)
  144.     CreateObject(871,1545.52770996,-1661.20849609,13.20451927,0.00000000,0.00000000,0.00000000); //object(veg_procfpatchwee) (1)
  145.     CreateObject(870,1547.65051270,-1663.24755859,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (7)
  146.     CreateObject(870,1545.86804199,-1658.78137207,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (8)
  147.     CreateObject(3439,1541.65820312,-1644.33325195,14.36999130,0.00000000,0.00000000,300.00000000); //object(aprtree01_lvs) (1)
  148.     CreateObject(3439,1545.62792969,-1690.43518066,14.36999130,0.00000000,0.00000000,237.99816895); //object(aprtree01_lvs) (3)
  149.     CreateObject(3439,1545.57043457,-1689.38684082,14.36999130,0.00000000,0.00000000,237.99682617); //object(aprtree01_lvs) (4)
  150.     CreateObject(870,1545.97436523,-1686.79736328,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (9)
  151.     CreateObject(870,1546.02062988,-1689.54687500,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (10)
  152.     CreateObject(870,1546.07177734,-1692.54687500,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (11)
  153.     CreateObject(870,1545.33837891,-1693.55969238,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (12)
  154.     CreateObject(870,1545.30798340,-1691.80957031,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (13)
  155.     CreateObject(870,1545.24353027,-1688.05957031,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (14)
  156.     CreateObject(870,1545.20898438,-1686.05957031,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (15)
  157.     CreateObject(870,1547.70898438,-1686.01684570,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (16)
  158.     CreateObject(870,1547.51110840,-1690.52185059,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (17)
  159.     CreateObject(870,1547.55773926,-1693.27148438,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (18)
  160.     CreateObject(870,1545.59655762,-1662.02929688,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (19)
  161.     CreateObject(870,1545.60815430,-1660.52929688,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (20)
  162.     CreateObject(870,1545.50512695,-1657.77807617,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (21)
  163.     CreateObject(870,1545.44677734,-1664.77734375,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (22)
  164.     CreateObject(870,1547.61303711,-1662.79541016,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (23)
  165.     CreateObject(870,1547.59155273,-1658.53710938,13.19872952,0.00000000,0.00000000,0.00000000); //object(veg_pflowers2wee) (24)
  166.     CreateObject(10615,1475.20800781,-1689.09497070,2.23686695,0.00000000,0.00000000,92.00000000); //object(lastbit_04_sfs) (1)
  167.     CreateObject(3850,1534.64428711,-1662.08361816,13.06778431,0.00000000,0.00000000,179.25000000); //object(carshowbann_sfsx) (5)
  168.     CreateObject(3850,1534.66723633,-1658.64001465,13.06778431,0.00000000,0.00000000,179.49743652); //object(carshowbann_sfsx) (5)
  169.     CreateObject(3850,1534.69958496,-1655.22375488,13.06778431,0.00000000,0.00000000,179.24743652); //object(carshowbann_sfsx) (5)
  170.     CreateObject(3850,1534.74694824,-1651.79870605,13.06778431,0.00000000,0.00000000,179.24743652); //object(carshowbann_sfsx) (5)
  171.     CreateObject(3850,1534.80603027,-1648.39416504,13.06778431,0.00000000,0.00000000,179.24743652); //object(carshowbann_sfsx) (5)
  172.     CreateObject(3850,1534.86340332,-1644.94873047,13.06778431,0.00000000,0.00000000,179.24743652); //object(carshowbann_sfsx) (5)
  173.     CreateObject(3850,1534.92834473,-1641.48498535,13.06778431,0.00000000,0.00000000,179.24743652); //object(carshowbann_sfsx) (5)
  174.     CreateObject(3850,1534.97802734,-1638.05822754,13.06778431,0.00000000,0.00000000,179.24743652); //object(carshowbann_sfsx) (5)
  175.     CreateObject(3850,1536.34265137,-1663.82702637,13.06778431,0.00000000,0.00000000,269.99743652); //object(carshowbann_sfsx) (5)
  176.     CreateObject(3850,1536.33544922,-1681.55554199,13.06778431,0.00000000,0.00000000,270.24426270); //object(carshowbann_sfsx) (5)
  177.     CreateObject(3850,1534.74804688,-1683.33508301,13.06778431,0.00000000,0.00000000,179.74743652); //object(carshowbann_sfsx) (5)
  178.     CreateObject(3850,1534.75268555,-1686.73632812,13.06778431,0.00000000,0.00000000,179.74731445); //object(carshowbann_sfsx) (5)
  179.     CreateObject(3850,1534.74389648,-1690.09155273,13.06778431,0.00000000,0.00000000,179.74731445); //object(carshowbann_sfsx) (5)
  180.     CreateObject(3850,1534.72143555,-1693.51904297,13.06778431,0.00000000,0.00000000,179.74731445); //object(carshowbann_sfsx) (5)
  181.     CreateObject(3850,1534.70642090,-1696.91979980,13.06778431,0.00000000,0.00000000,179.74731445); //object(carshowbann_sfsx) (5)
  182.     CreateObject(2773,1544.10595703,-1677.82983398,13.09857941,0.00000000,0.00000000,87.74572754); //object(cj_airprt_bar) (2)
  183.     CreateObject(2773,1544.03442383,-1675.47937012,13.09857941,0.00000000,0.00000000,87.99230957); //object(cj_airprt_bar) (3)
  184.     CreateObject(2773,1544.18725586,-1673.06945801,13.09857941,0.00000000,0.00000000,89.24194336); //object(cj_airprt_bar) (4)
  185.     CreateObject(2794,1539.55920410,-1616.10363770,14.85764122,0.00000000,359.50000000,89.00000000); //object(cj_air_d_3) (1)
  186.     CreateObject(3657,1543.06921387,-1661.40563965,12.84956741,0.00000000,0.00000000,270.00000000); //object(airseata_las) (1)
  187.     CreateObject(3657,1543.11279297,-1690.40380859,12.84956741,0.00000000,0.00000000,269.99450684); //object(airseata_las) (2)
  188.     CreateObject(1215,1541.52050781,-1644.36059570,16.57476807,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
  189.     CreateObject(1215,1545.57836914,-1690.47985840,16.57476807,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
  190.     CreateObject(1215,1545.49926758,-1689.43859863,16.57476807,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
  191.     CreateObject(2922,1539.25646973,-1633.90747070,13.86353874,0.00000000,0.00000000,88.25000000); //object(kmb_keypad) (1)
  192.     CreateObject(1569,1555.83312988,-1677.09912109,15.17031288,0.00000000,0.00000000,88.75000000); //object(adam_v_door) (1)
  193.     CreateObject(1569,1555.86413574,-1674.12353516,15.17031288,0.00000000,0.00000000,269.49761963); //object(adam_v_door) (2)
  194.     CreateObject(3051,1554.14550781,-1655.41223145,13.53408432,0.00000000,0.00000000,46.48889160); //object(lift_dr) (6)
  195.     CreateObject(3051,1554.13366699,-1654.28564453,13.53408432,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  196.     CreateObject(3051,1554.15820312,-1654.28515625,16.23406219,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  197.     CreateObject(3051,1554.15820312,-1654.28515625,18.93405151,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  198.     CreateObject(3051,1554.15820312,-1654.28515625,21.65904045,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  199.     CreateObject(3051,1554.15820312,-1654.28515625,24.25904655,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  200.     CreateObject(3051,1554.14550781,-1655.41210938,16.18406677,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  201.     CreateObject(3051,1554.14550781,-1655.41210938,18.85906029,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  202.     CreateObject(3051,1554.14550781,-1655.41210938,21.53405380,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  203.     CreateObject(3051,1554.14550781,-1655.41210938,24.25903511,0.00000000,0.00000000,46.48864746); //object(lift_dr) (6)
  204.     CreateObject(3051,1553.57287598,-1653.69384766,13.53408432,0.00000000,0.00000000,137.23864746); //object(lift_dr) (6)
  205.     CreateObject(2986,1553.52209473,-1654.93127441,12.77219582,0.00000000,0.00000000,0.50000000); //object(lxr_motelvent) (1)
  206.     CreateObject(3051,1553.59179688,-1656.01171875,13.53408432,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  207.     CreateObject(3051,1552.45373535,-1656.03637695,13.53408432,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  208.     CreateObject(3051,1552.47192383,-1653.71484375,13.53408432,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  209.     CreateObject(3051,1552.47167969,-1653.71484375,16.25906944,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  210.     CreateObject(3051,1552.47167969,-1653.71484375,18.75906944,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  211.     CreateObject(3051,1552.47167969,-1653.71484375,21.40906334,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  212.     CreateObject(3051,1552.47167969,-1653.71484375,24.00905800,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  213.     CreateObject(3051,1552.47167969,-1653.71484375,26.15905190,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  214.     CreateObject(3051,1552.45312500,-1656.03613281,16.20908928,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  215.     CreateObject(3051,1552.45312500,-1656.03613281,18.90908241,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  216.     CreateObject(3051,1552.45312500,-1656.03613281,21.45908165,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  217.     CreateObject(3051,1552.45312500,-1656.03613281,24.10907555,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  218.     CreateObject(3051,1552.45312500,-1656.03613281,25.90906715,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  219.     CreateObject(3051,1553.57226562,-1653.69335938,16.23408508,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  220.     CreateObject(3051,1553.57226562,-1653.69335938,18.85908699,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  221.     CreateObject(3051,1553.57226562,-1653.69335938,21.55908775,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  222.     CreateObject(3051,1553.57226562,-1653.69335938,24.20908546,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  223.     CreateObject(3051,1553.57226562,-1653.69335938,25.05909538,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  224.     CreateObject(3051,1553.57226562,-1653.69335938,26.00908089,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  225.     CreateObject(3051,1553.59179688,-1656.01171875,16.20908165,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  226.     CreateObject(3051,1553.59179688,-1656.01171875,18.85909081,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  227.     CreateObject(3051,1553.59179688,-1656.01171875,21.58407211,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  228.     CreateObject(3051,1553.59179688,-1656.01171875,24.28407288,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  229.     CreateObject(3051,1553.59179688,-1656.01171875,25.90908623,0.00000000,0.00000000,137.23571777); //object(lift_dr) (6)
  230.     CreateObject(1491,1551.88439941,-1654.09289551,12.32187843,0.00000000,0.00000000,270.49450684); //object(gen_doorint01) (4)
  231.     CreateObject(3526,1557.75500488,-1648.30920410,27.47053337,0.00000000,0.00000000,88.00000000); //object(vegasairportlight) (1)
  232.     CreateObject(3928,1562.92297363,-1654.44018555,27.39560699,0.00000000,0.00000000,0.00000000); //object(helipad) (1)
  233.     print("\n--------------------------------------");
  234.     print(" Mappa PD Esterno by Mik_Teck ");
  235.     print("--------------------------------------\n");
  236.     return 1;
  237. }
  238.  
  239. public OnFilterScriptExit()
  240. {
  241.     return 1;
  242. }
  243.  
  244. forward MovingGates();
  245. public MovingGates()
  246. {
  247.     foreach(Player, i)
  248.     {
  249.     if(IsPlayerInRangeOfPoint(i, 7.0, 1536.9276,-1628.3940,13.3828) && GetPlayerState(i) == PLAYER_STATE_DRIVER)
  250.         {
  251.         MoveObject( cancello1, 1539.70703125,-1626.12207031,5.40908051, 1.2);
  252.         MoveObject( cancello2, 1539.76171875,-1630.18164062,5.40908051, 1.2);
  253.         return;
  254.         }
  255.     }
  256.     MoveObject( cancello1, 1539.70703125,-1626.12207031,13.90900040, 1.2);
  257.     MoveObject( cancello2, 1539.76171875,-1630.18164062,13.90900040, 1.2);
  258.     return;
  259. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement