[Map] Los Santos Airport FD & Transportation Service
#1

So I made this map a while ago and some people seemed to like it, so I will release it:

[ame]http://www.youtube.com/watch?v=0JHO_zZ4mMY[/ame]

pawn Код:
new FDgate;
new FDgate2;

Код:
AddStaticVehicleEx(490,1590.42578125,-2165.20800781,13.40193176,270.00000000,3,1,200); //FBI Rancher
	AddStaticVehicleEx(490,1590.28417969,-2161.36328125,13.40193176,270.00000000,3,1,200); //FBI Rancher
	AddStaticVehicleEx(407,1630.58789062,-2177.60156250,13.80055714,114.99938965,3,1,200); //Firetruck
	AddStaticVehicleEx(407,1630.71533203,-2168.66528320,13.80055714,114.99938965,3,1,200); //Firetruck
	AddStaticVehicleEx(407,1630.71350098,-2164.21313477,13.80055714,114.99938965,3,1,200); //Firetruck
	AddStaticVehicleEx(407,1630.66516113,-2159.96289062,13.80055714,114.99938965,3,1,200); //Firetruck
	AddStaticVehicleEx(544,1628.62500000,-2155.91015625,13.75278473,114.99938965,3,1,200); //Firetruck LA
	AddStaticVehicleEx(544,1628.54980469,-2152.26660156,13.78758621,114.99938965,3,1,200); //Firetruck LA
	AddStaticVehicleEx(558,1589.57263184,-2179.00683594,13.26424694,90.00000000,-1,-1,200); //Uranus
	AddStaticVehicleEx(419,1589.58691406,-2172.43261719,13.32405949,90.00000000,68,1,200); //Esperanto
	AddStaticVehicleEx(602,1589.59082031,-2168.81152344,13.34888077,90.00000000,39,1,200); //Alpha
	AddStaticVehicleEx(437,1528.62011719,-2171.26953125,13.81045532,24.49951172,86,86,200); //Coach
	AddStaticVehicleEx(437,1524.11242676,-2171.44360352,13.81045532,24.49951172,86,86,200); //Coach
	AddStaticVehicleEx(437,1519.61499023,-2171.60913086,13.81045532,24.49951172,3,3,200); //Coach
	AddStaticVehicleEx(437,1514.76049805,-2171.54150391,13.81045532,24.49951172,3,3,200); //Coach
	AddStaticVehicleEx(437,1506.08483887,-2171.45898438,13.81045532,24.49951172,6,6,200); //Coach
	AddStaticVehicleEx(437,1501.57299805,-2171.38232422,13.81045532,24.49951172,6,6,200); //Coach
	AddStaticVehicleEx(420,1569.93078613,-2168.75341797,13.38022614,90.00000000,6,1,200); //Taxi
	AddStaticVehicleEx(420,1562.80371094,-2168.66088867,13.36862564,90.00000000,6,1,200); //Taxi
	AddStaticVehicleEx(420,1555.75708008,-2168.65966797,13.36862564,90.00000000,6,1,200); //Taxi
	AddStaticVehicleEx(420,1548.77148438,-2168.62036133,13.36862564,90.00000000,6,1,200); //Taxi
	AddStaticVehicleEx(420,1541.57617188,-2168.52490234,13.36862564,90.00000000,6,1,200); //Taxi
	AddStaticVehicleEx(420,1554.32165527,-2182.00268555,13.38022614,179.74597168,6,1,200); //Taxi
	AddStaticVehicleEx(420,1551.04846191,-2181.98413086,13.38022614,179.74182129,6,1,200); //Taxi
	AddStaticVehicleEx(420,1547.88146973,-2181.92895508,13.38022614,179.74182129,6,1,200); //Taxi
	AddStaticVehicleEx(420,1541.54785156,-2181.78784180,13.38022614,179.74182129,6,1,200); //Taxi
	AddStaticVehicleEx(420,1538.14099121,-2181.74462891,13.38022614,179.74182129,6,1,200); //Taxi
	CreateObject(8661,1586.48632812,-2165.02929688,12.56045532,0.00000000,0.00000000,90.00000000); //object(gnhtelgrnd_lvs) (1)
	CreateObject(8661,1606.46777344,-2165.00097656,12.56045532,0.00000000,0.00000000,90.00000000); //object(gnhtelgrnd_lvs) (2)
	CreateObject(8661,1626.44531250,-2164.97265625,12.56045532,0.00000000,0.00000000,90.00000000); //object(gnhtelgrnd_lvs) (3)
	FDgate 	=	CreateObject(989,1611.13476562,-2184.75976562,14.38126087,0.00000000,0.00000000,286.24877930); //object(ac_apgate) (1)
	FDgate2 =	CreateObject(989,1605.71289062,-2184.70507812,14.38126087,0.00000000,0.00000000,286.24328613); //object(ac_apgate) (2)
	CreateObject(8673,1626.35546875,-2184.89135742,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (2)
	CreateObject(8673,1587.04821777,-2184.85693359,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (3)
	CreateObject(8673,1592.61035156,-2184.85888672,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (4)
	CreateObject(8673,1624.49877930,-2184.89282227,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (5)
	CreateObject(9583,1602.77050781,-2184.89746094,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (2)
	CreateObject(8673,1636.39453125,-2174.11621094,14.02737141,0.00000000,0.00000000,90.00000000); //object(csrsfence03_lvs) (11)
	CreateObject(8673,1636.39135742,-2155.56176758,14.02737141,0.00000000,0.00000000,90.00000000); //object(csrsfence03_lvs) (12)
	CreateObject(9583,1614.07617188,-2184.97167969,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (6)
	CreateObject(9583,1636.30175781,-2184.70214844,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (7)
	CreateObject(9583,1636.30432129,-2145.37670898,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (8)
	CreateObject(8673,1626.19921875,-2145.18847656,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (15)
	CreateObject(8673,1605.79736328,-2145.18457031,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (16)
	CreateObject(8673,1587.24804688,-2145.19042969,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(9583,1576.74975586,-2145.41357422,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (9)
	CreateObject(8673,1576.57104492,-2155.55883789,14.02737141,0.00000000,0.00000000,90.00000000); //object(csrsfence03_lvs) (18)
	CreateObject(8673,1576.57519531,-2174.10644531,14.02737141,0.00000000,0.00000000,90.00000000); //object(csrsfence03_lvs) (19)
	CreateObject(9583,1576.64062500,-2184.72265625,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(3940,1582.45703125,-2170.75097656,15.73016357,0.00000000,0.00000000,359.74731445); //object(comms01) (1)
	CreateObject(11454,1599.25634766,-2153.22509766,12.56045532,0.00000000,0.00000000,180.00000000); //object(des_nwmedcen) (2)
	CreateObject(1215,1614.03051758,-2185.42773438,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
	CreateObject(1215,1602.71643066,-2185.31542969,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
	CreateObject(11548,1628.76953125,-2165.15820312,12.57785606,0.00000000,179.99450684,119.24560547); //object(cnts_lines) (1)
	CreateObject(638,1602.94238281,-2182.96875000,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1614.01135254,-2183.18408203,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (2)
	CreateObject(638,1599.33776855,-2161.60937500,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (3)
	CreateObject(638,1604.26232910,-2161.88598633,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (5)
	CreateObject(3578,1586.76696777,-2170.67187500,11.76367474,12.74829102,0.00000000,0.00000000); //object(dockbarr1_la) (3)
	CreateObject(1215,1604.32971191,-2164.77734375,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
	CreateObject(1215,1599.29235840,-2164.79663086,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
	CreateObject(1215,1585.84692383,-2183.60375977,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5)
	CreateObject(1215,1585.86096191,-2181.11645508,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (6)
	CreateObject(1215,1585.91748047,-2158.96704102,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (7)
	CreateObject(1215,1585.86389160,-2162.92285156,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (8)
	CreateObject(1215,1586.09765625,-2166.89843750,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (9)
	CreateObject(1215,1635.44873047,-2184.50659180,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (10)
	CreateObject(1215,1614.06823730,-2181.52514648,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (11)
	CreateObject(1215,1603.11315918,-2181.15722656,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (12)
	CreateObject(1215,1635.13732910,-2145.91821289,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (13)
	CreateObject(1215,1615.83190918,-2157.23437500,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (14)
	CreateObject(1215,1587.73767090,-2157.23144531,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (15)
	CreateObject(1215,1577.47119141,-2145.91796875,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (16)
	CreateObject(1215,1577.09240723,-2183.90454102,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (17)
	CreateObject(11245,1585.76440430,-2172.72241211,19.56970406,0.00000000,326.00000000,356.00000000); //object(sfsefirehseflag) (1)
	CreateObject(8661,1556.51074219,-2175.01757812,12.56045532,0.00000000,0.00000000,179.99450684); //object(gnhtelgrnd_lvs) (2)
	CreateObject(8661,1516.51953125,-2175.01464844,12.56045532,0.00000000,0.00000000,179.99450684); //object(gnhtelgrnd_lvs) (2)
	CreateObject(8673,1566.13671875,-2165.21533203,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(9583,1576.32849121,-2165.19677734,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(8673,1545.72546387,-2165.21655273,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(8673,1525.32922363,-2165.21411133,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(8673,1506.78039551,-2165.21240234,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(9583,1496.55664062,-2165.12988281,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(8673,1496.60156250,-2174.91894531,14.02737141,0.00000000,0.00000000,90.00000000); //object(csrsfence03_lvs) (19)
	CreateObject(9583,1496.69238281,-2185.15332031,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(8673,1572.20446777,-2184.85522461,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(8673,1546.95605469,-2184.83691406,14.02737141,0.00000000,0.00000000,0.00000000); //object(csrsfence03_lvs) (17)
	CreateObject(3578,1586.73583984,-2167.26562500,11.76367474,12.74414062,0.00000000,0.00000000); //object(dockbarr1_la) (3)
	CreateObject(3578,1586.79687500,-2174.25390625,11.76367474,12.74414062,0.00000000,0.00000000); //object(dockbarr1_la) (3)
	CreateObject(3578,1586.82324219,-2177.25390625,11.76367474,12.74414062,0.00000000,0.00000000); //object(dockbarr1_la) (3)
	CreateObject(3578,1586.85571289,-2180.55859375,11.76367474,12.74414062,0.00000000,0.00000000); //object(dockbarr1_la) (3)
	CreateObject(11548,1515.89721680,-2173.15795898,12.57785606,0.00000000,179.99450684,209.24560547); //object(cnts_lines) (1)
	CreateObject(9583,1536.41992188,-2184.88378906,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(9583,1557.15625000,-2184.83984375,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(9583,1561.91210938,-2184.81738281,16.15531158,0.00000000,179.99450684,0.00000000); //object(freight_sfw15) (10)
	CreateObject(8557,1556.06176758,-2168.16455078,14.07039547,0.00000000,0.00000000,0.00000000); //object(vgshseing27) (1)
	CreateObject(1215,1575.62377930,-2183.85473633,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (18)
	CreateObject(638,1573.79028320,-2168.30273438,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1566.38818359,-2168.29101562,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1559.44287109,-2168.24023438,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1552.41223145,-2168.19238281,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1545.36279297,-2168.22656250,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1538.32604980,-2168.24902344,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(1215,1566.37072754,-2170.02636719,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1573.75476074,-2169.91748047,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1559.44665527,-2169.96997070,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1552.44213867,-2169.88769531,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1545.35729980,-2169.88916016,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1538.31799316,-2170.00659180,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(638,1557.08862305,-2182.67675781,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1561.91857910,-2182.70556641,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(1215,1561.89013672,-2184.35400391,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1561.89868164,-2181.13476562,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1557.15087891,-2181.04809570,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1557.13610840,-2184.41113281,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(638,1536.21862793,-2182.42919922,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1536.10412598,-2166.74316406,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1536.15380859,-2171.88037109,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(638,1536.19348145,-2177.20727539,13.25748920,0.00000000,0.00000000,0.00000000); //object(kb_planter_bush) (1)
	CreateObject(1215,1536.04772949,-2169.17236328,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1536.09204102,-2174.63671875,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1536.07836914,-2179.87304688,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1536.13159180,-2184.56640625,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1497.05407715,-2184.76098633,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1496.90063477,-2165.73071289,13.12477875,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(3881,1568.86206055,-2180.95312500,14.41201782,0.00000000,0.00000000,270.00000000); //object(airsecbooth_sfse) (1)
	CreateObject(3882,1569.64990234,-2181.17187500,13.55825043,0.00000000,0.00000000,0.00000000); //object(airsecboothint_sfse) (1)
	CreateObject(1215,1543.79101562,-2276.42382812,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(984,1559.64160156,-2276.41113281,13.18355465,0.00000000,0.00000000,90.24169922); //object(fenceshit2) (6)
	CreateObject(968,1544.75000000,-2276.35937500,13.45826340,0.00000000,0.00000000,0.00000000); //object(barrierturn) (1)
	CreateObject(966,1544.82226562,-2276.36328125,12.55050564,0.00000000,0.00000000,179.99450684); //object(bar_gatebar01) (1)
	CreateObject(1215,1552.52343750,-2276.35156250,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1616,1651.04284668,-2188.47949219,19.60478783,0.00000000,10.50000000,196.75000000); //object(nt_securecam1_01) (1)
	CreateObject(9583,1650.79223633,-2188.68066406,-3.20312500,0.00000000,0.00000000,0.00000000); //object(freight_sfw15) (5)
	CreateObject(1616,1650.69409180,-2189.07031250,19.18078041,0.00000000,4.74743652,55.99868774); //object(nt_securecam1_01) (2)
	CreateObject(982,1451.61694336,-2204.72192383,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (6)
	CreateObject(982,1425.99719238,-2204.72412109,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (6)
	CreateObject(982,1400.38317871,-2204.71875000,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (6)
	CreateObject(982,1374.76647949,-2204.71972656,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (6)
	CreateObject(984,1360.11926270,-2210.84350586,13.18355465,0.00000000,0.00000000,163.25000000); //object(fenceshit2) (1)
	CreateObject(984,1357.71350098,-2223.34863281,13.18355465,0.00000000,0.00000000,174.99584961); //object(fenceshit2) (1)
	CreateObject(984,1357.11010742,-2236.13403320,13.18355465,0.00000000,0.00000000,179.49572754); //object(fenceshit2) (1)
	CreateObject(984,1357.03820801,-2244.13403320,13.18355465,0.00000000,0.00000000,179.49462891); //object(fenceshit2) (1)
	CreateObject(983,1357.32373047,-2253.72094727,13.23042965,0.00000000,0.00000000,186.24719238); //object(fenceshit3) (3)
	CreateObject(983,1358.84533691,-2259.86743164,13.23042965,0.00000000,0.00000000,201.74572754); //object(fenceshit3) (3)
	CreateObject(983,1361.91406250,-2265.43041992,13.23042965,0.00000000,0.00000000,215.99194336); //object(fenceshit3) (3)
	CreateObject(983,1366.21923828,-2270.10571289,13.23042965,0.00000000,0.00000000,229.49021912); //object(fenceshit3) (3)
	CreateObject(983,1371.53833008,-2273.58789062,13.23042965,0.00000000,0.00000000,243.98791504); //object(fenceshit3) (3)
	CreateObject(983,1377.56738281,-2275.60961914,13.23042965,0.00000000,0.00000000,258.73437500); //object(fenceshit3) (3)
	CreateObject(982,1393.48522949,-2276.25561523,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (6)
	CreateObject(983,1464.69018555,-2227.45849609,13.23042965,0.00000000,0.00000000,1.00000000); //object(fenceshit3) (2)
	CreateObject(983,1464.38232422,-2207.93457031,13.23042965,0.00000000,0.00000000,358.74755859); //object(fenceshit3) (2)
	CreateObject(4639,1463.37854004,-2221.87963867,14.24345493,0.00000000,0.00000000,269.74707031); //object(paypark_lan02) (1)
	CreateObject(966,1464.06091309,-2219.24560547,12.55050564,0.00000000,0.00000000,267.99450684); //object(bar_gatebar01) (1)
	CreateObject(968,1464.07800293,-2219.25756836,13.45826340,0.00000000,358.75000000,88.00000000); //object(barrierturn) (1)
	CreateObject(1215,1464.35644531,-2223.92163086,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1464.42114258,-2211.73461914,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(984,1559.66467285,-2296.58862305,13.18355465,0.00000000,0.00000000,89.49169922); //object(fenceshit2) (6)
	CreateObject(984,1536.78967285,-2296.47167969,13.18355465,0.00000000,0.00000000,89.48913574); //object(fenceshit2) (6)
	CreateObject(983,1529.98742676,-2299.58203125,13.23042965,0.00000000,0.00000000,352.74755859); //object(fenceshit3) (2)
	CreateObject(983,1529.38867188,-2304.33349609,13.23042965,0.00000000,0.00000000,352.74353027); //object(fenceshit3) (2)
	CreateObject(983,1527.85412598,-2310.50659180,13.23042965,0.00000000,0.00000000,339.24353027); //object(fenceshit3) (2)
	CreateObject(983,1526.15625000,-2314.98535156,13.23042965,0.00000000,0.00000000,339.24133301); //object(fenceshit3) (2)
	CreateObject(983,1523.19311523,-2320.59790039,13.23042965,0.00000000,0.00000000,324.99133301); //object(fenceshit3) (2)
	CreateObject(983,1520.44140625,-2324.53173828,13.23042965,0.00000000,0.00000000,324.98657227); //object(fenceshit3) (2)
	CreateObject(983,1516.18762207,-2329.23754883,13.23042965,0.00000000,0.00000000,310.98657227); //object(fenceshit3) (2)
	CreateObject(983,1512.56750488,-2332.38012695,13.23042965,0.00000000,0.00000000,310.98449707); //object(fenceshit3) (2)
	CreateObject(983,1507.27502441,-2335.90307617,13.23042965,0.00000000,0.00000000,296.23449707); //object(fenceshit3) (2)
	CreateObject(983,1501.52880859,-2338.73388672,13.23042965,0.00000000,0.00000000,296.22985840); //object(fenceshit3) (2)
	CreateObject(984,1492.32006836,-2341.15356445,13.18355465,0.00000000,359.75000000,98.98913574); //object(fenceshit2) (6)
	CreateObject(984,1490.73498535,-2341.40942383,13.18355465,0.00000000,359.74731445,98.98684692); //object(fenceshit2) (6)
	CreateObject(982,1484.40795898,-2355.21118164,13.23820972,0.00000000,0.00000000,179.99450684); //object(fenceshit) (6)
	CreateObject(982,1497.21032715,-2368.00488281,13.23820972,0.00000000,0.00000000,89.99475098); //object(fenceshit) (7)
	CreateObject(982,1522.82739258,-2368.00585938,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1548.43518066,-2368.01245117,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1574.05090332,-2368.01855469,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1599.65869141,-2368.02612305,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1602.06286621,-2368.00805664,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1566.07104492,-2309.45947266,13.23820972,0.00000000,0.00000000,179.99450684); //object(fenceshit) (12)
	CreateObject(982,1566.07189941,-2325.45556641,13.23820972,0.00000000,0.00000000,179.99450684); //object(fenceshit) (12)
	CreateObject(982,1578.85559082,-2338.25317383,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1602.05651855,-2338.26733398,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1566.07653809,-2263.59423828,13.23820972,0.00000000,0.00000000,179.99450684); //object(fenceshit) (12)
	CreateObject(982,1566.07763672,-2249.21142578,13.23820972,0.00000000,0.00000000,179.99450684); //object(fenceshit) (12)
	CreateObject(982,1578.86730957,-2236.40917969,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1602.06542969,-2236.41162109,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(984,1536.77673340,-2276.47290039,13.18355465,0.00000000,0.00000000,90.24169922); //object(fenceshit2) (6)
	CreateObject(983,1529.89135742,-2273.30761719,13.23042965,0.00000000,0.00000000,8.74353027); //object(fenceshit3) (2)
	CreateObject(983,1528.90478516,-2266.98437500,13.23042965,0.00000000,0.00000000,8.98962402); //object(fenceshit3) (2)
	CreateObject(983,1528.65783691,-2265.39477539,13.23042965,0.00000000,0.00000000,8.98681641); //object(fenceshit3) (2)
	CreateObject(984,1525.31469727,-2256.48413086,13.18355465,0.00000000,0.00000000,26.24169922); //object(fenceshit2) (6)
	CreateObject(984,1518.18762207,-2245.98510742,13.18355465,0.00000000,0.00000000,41.99084473); //object(fenceshit2) (6)
	CreateObject(983,1511.26770020,-2239.39770508,13.23042965,0.00000000,0.00000000,55.23681641); //object(fenceshit3) (2)
	CreateObject(983,1508.62524414,-2237.56591797,13.23042965,0.00000000,0.00000000,55.23376465); //object(fenceshit3) (2)
	CreateObject(983,1503.00109863,-2234.60424805,13.23042965,0.00000000,0.00000000,69.23376465); //object(fenceshit3) (2)
	CreateObject(983,1498.50817871,-2232.90087891,13.23042965,0.00000000,0.00000000,69.23034668); //object(fenceshit3) (2)
	CreateObject(983,1492.32666016,-2231.41284180,13.23042965,0.00000000,0.00000000,83.73034668); //object(fenceshit3) (2)
	CreateObject(983,1487.55151367,-2230.88720703,13.23042965,0.00000000,0.00000000,83.72680664); //object(fenceshit3) (2)
	CreateObject(982,1484.37976074,-2217.74267578,13.23820972,0.00000000,0.00000000,179.99450684); //object(fenceshit) (12)
	CreateObject(982,1497.16418457,-2204.93823242,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1522.77844238,-2204.93579102,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1548.39135742,-2204.93505859,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1574.00292969,-2204.93554688,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1599.62158203,-2204.93920898,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1602.06445312,-2204.94067383,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(983,1464.38195801,-2364.93408203,13.23042965,0.00000000,0.00000000,359.74755859); //object(fenceshit3) (2)
	CreateObject(983,1464.39392090,-2345.53320312,13.23042965,0.00000000,0.00000000,359.74731445); //object(fenceshit3) (2)
	CreateObject(983,1461.22839355,-2341.97729492,13.23042965,0.00000000,0.00000000,263.22985840); //object(fenceshit3) (2)
	CreateObject(983,1456.47399902,-2341.41870117,13.23042965,0.00000000,0.00000000,263.22692871); //object(fenceshit3) (2)
	CreateObject(983,1450.29357910,-2339.90844727,13.23042965,0.00000000,0.00000000,249.22692871); //object(fenceshit3) (2)
	CreateObject(983,1445.80114746,-2338.20336914,13.23042965,0.00000000,0.00000000,249.22485352); //object(fenceshit3) (2)
	CreateObject(983,1440.17407227,-2335.24072266,13.23042965,0.00000000,0.00000000,235.22486877); //object(fenceshit3) (2)
	CreateObject(983,1436.23229980,-2332.50390625,13.23042965,0.00000000,0.00000000,235.22277832); //object(fenceshit3) (2)
	CreateObject(983,1431.51220703,-2328.24194336,13.23042965,0.00000000,0.00000000,220.72277832); //object(fenceshit3) (2)
	CreateObject(983,1428.37902832,-2324.60961914,13.23042965,0.00000000,0.00000000,220.72082520); //object(fenceshit3) (2)
	CreateObject(983,1424.87402344,-2319.31225586,13.23042965,0.00000000,0.00000000,206.22082520); //object(fenceshit3) (2)
	CreateObject(983,1422.04248047,-2313.56542969,13.23042965,0.00000000,0.00000000,206.21887207); //object(fenceshit3) (2)
	CreateObject(984,1419.63110352,-2304.32421875,13.18355465,0.00000000,359.74731445,8.98681641); //object(fenceshit2) (6)
	CreateObject(984,1419.37976074,-2302.73706055,13.18355465,0.00000000,359.74731445,8.98132324); //object(fenceshit2) (6)
	CreateObject(982,1405.57763672,-2296.42749023,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1394.37988281,-2296.42309570,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(983,1378.44750977,-2296.98242188,13.23042965,0.00000000,358.00000000,280.73352051); //object(fenceshit3) (3)
	CreateObject(983,1372.39282227,-2298.93334961,13.23042965,0.00000000,357.99499512,295.22814941); //object(fenceshit3) (3)
	CreateObject(983,1370.95642090,-2299.61157227,13.23042965,0.00000000,357.98950195,295.22460938); //object(fenceshit3) (3)
	CreateObject(983,1365.79760742,-2303.22900391,13.23042965,0.00000000,357.98950195,314.97460938); //object(fenceshit3) (3)
	CreateObject(983,1361.58605957,-2308.03417969,13.23042965,0.00000000,357.98950195,322.47256470); //object(fenceshit3) (3)
	CreateObject(983,1358.57849121,-2313.58056641,13.23042965,0.00000000,357.73950195,340.72070312); //object(fenceshit3) (3)
	CreateObject(983,1357.18249512,-2319.83349609,13.23042965,0.00000000,357.73681641,353.96899414); //object(fenceshit3) (3)
	CreateObject(984,1356.88256836,-2329.45996094,13.18355465,0.00000000,359.74731445,0.23132324); //object(fenceshit2) (6)
	CreateObject(984,1356.90820312,-2335.85742188,13.18355465,0.00000000,359.74731445,0.23071289); //object(fenceshit2) (6)
	CreateObject(982,1357.77624512,-2355.07153320,13.23820972,0.00000000,0.00000000,183.74456787); //object(fenceshit) (6)
	CreateObject(982,1451.53479004,-2368.14257812,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1425.91760254,-2368.13745117,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1400.30358887,-2368.13745117,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (7)
	CreateObject(982,1374.60498047,-2368.04614258,13.23820972,0.00000000,0.00000000,89.49450684); //object(fenceshit) (7)
	CreateObject(982,1371.40100098,-2368.01171875,13.23820972,0.00000000,0.00000000,89.48913574); //object(fenceshit) (7)
	CreateObject(982,1406.28222656,-2276.25952148,13.23820972,0.00000000,0.00000000,89.99450684); //object(fenceshit) (6)
	CreateObject(984,1419.81774902,-2269.89941406,13.18355465,0.00000000,0.00000000,173.49462891); //object(fenceshit2) (1)
	CreateObject(983,1421.69030762,-2260.53027344,13.23042965,0.00000000,0.00000000,338.98440552); //object(fenceshit3) (3)
	CreateObject(983,1422.84118652,-2257.53344727,13.23042965,0.00000000,0.00000000,338.98315430); //object(fenceshit3) (3)
	CreateObject(983,1425.82824707,-2251.91381836,13.23042965,0.00000000,0.00000000,324.98318481); //object(fenceshit3) (3)
	CreateObject(983,1428.58044434,-2247.98583984,13.23042965,0.00000000,0.00000000,324.98107910); //object(fenceshit3) (3)
	CreateObject(983,1432.82678223,-2243.24975586,13.23042965,0.00000000,0.00000000,311.23110962); //object(fenceshit3) (3)
	CreateObject(983,1436.43041992,-2240.08886719,13.23042965,0.00000000,0.00000000,311.22619629); //object(fenceshit3) (3)
	CreateObject(983,1441.72863770,-2236.58251953,13.23042965,0.00000000,0.00000000,295.97622681); //object(fenceshit3) (3)
	CreateObject(983,1447.53125000,-2233.87768555,13.23042965,0.00000000,0.00000000,293.97167969); //object(fenceshit3) (3)
	CreateObject(983,1453.63659668,-2232.10644531,13.23042965,0.00000000,0.00000000,278.46667480); //object(fenceshit3) (3)
	CreateObject(983,1459.98266602,-2231.23144531,13.23042965,0.00000000,0.00000000,277.21496582); //object(fenceshit3) (3)
	CreateObject(983,1461.56726074,-2231.02978516,13.23042965,0.00000000,0.00000000,277.21252441); //object(fenceshit3) (3)
	CreateObject(4639,1463.35534668,-2359.42895508,14.24345493,0.00000000,0.00000000,269.74182129); //object(paypark_lan02) (1)
	CreateObject(966,1464.16259766,-2356.70288086,12.55050564,0.00000000,0.00000000,268.98950195); //object(bar_gatebar01) (1)
	CreateObject(968,1464.16040039,-2356.75732422,13.45826340,0.00000000,1.74978638,88.74505615); //object(barrierturn) (1)
	CreateObject(1215,1464.38049316,-2361.44018555,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1464.35681152,-2349.17382812,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(4639,1540.73278809,-2274.96411133,14.24345493,0.00000000,0.00000000,179.74182129); //object(paypark_lan02) (1)
	CreateObject(4639,1555.39538574,-2297.71459961,14.24345493,0.00000000,0.00000000,359.48632812); //object(paypark_lan02) (1)
	CreateObject(966,1551.40527344,-2296.77685547,12.55050564,0.00000000,0.00000000,359.49447632); //object(bar_gatebar01) (1)
	CreateObject(968,1551.41979980,-2296.77270508,13.45826340,0.00000000,356.99993896,359.25000000); //object(barrierturn) (1)
	CreateObject(3472,1538.17578125,-2340.00927734,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (1)
	CreateObject(3472,1538.02832031,-2233.46191406,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (2)
	CreateObject(3472,1394.70556641,-2267.57104492,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (3)
	CreateObject(3472,1393.45959473,-2305.07934570,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (4)
	CreateObject(3472,1438.89746094,-2287.48144531,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (7)
	CreateObject(3472,1458.80639648,-2321.49291992,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (8)
	CreateObject(3472,1492.38513184,-2320.59912109,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (9)
	CreateObject(3472,1510.09545898,-2286.48071289,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (10)
	CreateObject(3472,1490.89428711,-2251.36083984,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (11)
	CreateObject(3472,1457.10827637,-2251.64013672,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (12)
	CreateObject(1215,1552.63269043,-2296.44238281,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(1215,1543.88183594,-2296.49365234,13.11119843,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
	CreateObject(973,1550.51867676,-2135.92016602,14.57032776,359.75015259,357.99996948,16.24127197); //object(sub_roadbarrier) (1)
	CreateObject(973,1541.61413574,-2138.36962891,14.24551392,359.74731445,357.99499512,14.48779297); //object(sub_roadbarrier) (2)
	CreateObject(973,1532.42370605,-2140.09008789,13.99610329,359.74719238,358.98950195,6.48986816); //object(sub_roadbarrier) (3)
	CreateObject(973,1523.15576172,-2141.05346680,13.82789612,359.74182129,358.98925781,5.23742676); //object(sub_roadbarrier) (4)
	CreateObject(973,1513.87817383,-2141.71630859,13.66548920,359.73632812,358.98376465,2.98498535); //object(sub_roadbarrier) (5)
	CreateObject(973,1504.61315918,-2141.92700195,13.56108475,359.73632812,359.73376465,359.48620605); //object(sub_roadbarrier) (6)
	CreateObject(973,1495.31970215,-2141.84765625,13.51468277,359.73083496,359.73083496,359.48364258); //object(sub_roadbarrier) (7)
	CreateObject(973,1486.23815918,-2141.74438477,13.49454212,0.00000000,0.00000000,359.25000000); //object(sub_roadbarrier) (9)
	CreateObject(973,1477.02636719,-2141.65991211,13.49454212,0.00000000,0.00000000,359.74743652); //object(sub_roadbarrier) (10)
	CreateObject(973,1467.85034180,-2141.61718750,13.49454212,0.00000000,0.00000000,359.74731445); //object(sub_roadbarrier) (11)
	CreateObject(973,1458.79931641,-2141.57788086,13.49454212,0.00000000,0.00000000,359.74731445); //object(sub_roadbarrier) (12)
	CreateObject(973,1449.43359375,-2141.53564453,13.49454212,0.00000000,0.00000000,359.74731445); //object(sub_roadbarrier) (13)
	CreateObject(973,1440.23083496,-2141.98291016,13.49454212,0.00000000,0.00000000,5.74731445); //object(sub_roadbarrier) (14)
	CreateObject(973,1431.29626465,-2142.88159180,13.49454212,0.00000000,0.00000000,5.74584961); //object(sub_roadbarrier) (15)
	CreateObject(973,1422.26416016,-2144.79809570,13.49454212,0.00000000,0.00000000,18.24584961); //object(sub_roadbarrier) (16)
	CreateObject(973,1413.72094727,-2147.60742188,13.49454212,0.00000000,0.00000000,18.24279785); //object(sub_roadbarrier) (17)
	CreateObject(973,1405.26171875,-2151.36694336,13.49454212,0.00000000,0.00000000,29.74279785); //object(sub_roadbarrier) (18)
	CreateObject(973,1397.13586426,-2156.01513672,13.49454212,0.00000000,0.00000000,29.73999023); //object(sub_roadbarrier) (19)
	CreateObject(973,1389.55322266,-2161.37329102,13.49454212,0.00000000,0.00000000,40.73999023); //object(sub_roadbarrier) (20)
	CreateObject(973,1382.73120117,-2167.67309570,13.49454212,0.00000000,0.00000000,44.73730469); //object(sub_roadbarrier) (21)
	CreateObject(973,1376.50769043,-2174.56030273,13.49454212,0.00000000,0.00000000,50.73632812); //object(sub_roadbarrier) (22)
	CreateObject(973,1371.02746582,-2181.99218750,13.49454212,0.00000000,0.00000000,56.48486328); //object(sub_roadbarrier) (23)
	CreateObject(973,1364.30566406,-2194.85131836,13.28573322,0.00000000,359.50000000,88.23071289); //object(sub_roadbarrier) (24)
	CreateObject(3472,1390.18994141,-2161.80175781,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (13)
	CreateObject(3472,1437.02001953,-2144.41015625,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (14)
	CreateObject(3472,1487.35913086,-2143.50122070,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (15)
	CreateObject(3472,1541.22924805,-2140.06762695,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (16)
	CreateObject(3472,1357.33911133,-2285.40527344,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (17)
	CreateObject(3472,1319.18237305,-2286.82812500,12.54687500,0.00000000,0.00000000,0.00000000); //object(circuslampost03) (18)
Commands:

Код:
if (strcmp("/Airport",cmdtext,true,10) == 0)
	{
	    SetPlayerPos(playerid, 1611.13476562,-2184.75976562,14.38126087+3);
	    return 1;
	}
	if (strcmp("/Gateopen", cmdtext, true, 10) == 0)
	{
		if(PlayerToPoint(10.0,playerid,1611.13476562,-2184.75976562,14.38126087))
		{
			MoveObject(FDgate,1616.13476562,-2184.75976562,14.38126087,1.00);
			MoveObject(FDgate2,1600.71289062,-2184.70507812,14.38126087,1.00);
		}
		else SendClientMessage(playerid, COLOR_RED, "[Error]: {FFFFFF} You're not near any gate!");
		return 1;
	}
	if (strcmp("/Gateclose", cmdtext, true, 10) == 0)
	{
		if(PlayerToPoint(10.0,playerid,1611.13476562,-2184.75976562,14.38126087))
		{
			MoveObject(FDgate,1611.13476562,-2184.75976562,14.38126087,1.00);
			MoveObject(FDgate2,1605.71289062,-2184.70507812,14.38126087,1.00);
		}
		else SendClientMessage(playerid, COLOR_RED, "[Error]: {FFFFFF} You're not near any gate!");
		return 1;
	}
	return 0;
}

PlayerToPoint function:

Код:
forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    if(IsPlayerConnected(playerid))
	{
		new Float:oldposx, Float:oldposy, Float:oldposz;
		new Float:tempposx, Float:tempposy, Float:tempposz;
		GetPlayerPos(playerid, oldposx, oldposy, oldposz);
		tempposx = (oldposx -x);
		tempposy = (oldposy -y);
		tempposz = (oldposz -z);
		//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
		if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
		{
			return 1;
		}
	}
	return 0;
}
Reply
#2

I didn't test it, but it seems good.
Reply
#3

Nice work
Reply
#4

Nice work
Very usefull for RP.
8/10
Reply
#5

100/100
Reply
#6

Not bad ! Keep it up !
Reply
#7

IM going To Use This in my server, Bloody nice +1 rep for ya bud
Reply
#8

I won't be using it but nice job
Reply
#9

Good map... keep it up!
Reply
#10

Awesome, keep it up!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)