I present to you my map focused on the army,?It was managed by LS Airport in Dock. :D?
PHP Code:
new Objekty[20];
new Cela[20];
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerConnected(playerid))
{
if(newkeys & KEY_SUBMISSION)
{
if(PlayerInfo[playerid][Job] != 5) // Job
{
if(IsPlayerInRangeOfPoint(playerid,30,2209.7000000,-2662.8000000,14.2900000))
{
if(Objekty[0] == 0)
{
MoveDynamicObject(Cela[0], 2209.7000000,-2662.8000000,14.2900000, 2.0);
Objekty[0] = 1;
}else{
MoveDynamicObject(Cela[0], 2209.7000000,-2662.8000000,0.2900000, 2.0);
Objekty[0] = 0;
}
}
}
}
}
return 1;
}
AddStaticVehicle(432,2245.1001000,-2852.8000000,13.6000000,0.0000000,95,10); //Rhino
AddStaticVehicle(432,2250.8999000,-2851.5000000,13.6000000,0.0000000,95,10); //Rhino
AddStaticVehicle(432,2258.7000000,-2852.5000000,13.6000000,0.0000000,95,10); //Rhino
AddStaticVehicle(433,2220.8999000,-2853.0000000,14.1000000,0.0000000,95,10); //Barracks
AddStaticVehicle(433,2216.0000000,-2853.2000000,14.1000000,0.0000000,81,-1); //Barracks
AddStaticVehicle(433,2211.0000000,-2852.8999000,14.1000000,0.0000000,95,10); //Barracks
AddStaticVehicle(433,2206.0000000,-2852.8000000,14.1000000,0.0000000,95,10); //Barracks
AddStaticVehicle(433,2178.7000000,-2855.2000000,14.1000000,0.0000000,95,10); //Barracks
AddStaticVehicle(433,2173.3000000,-2855.0000000,14.1000000,0.0000000,95,10); //Barracks
AddStaticVehicle(470,2169.0000000,-2858.1001000,13.6000000,0.0000000,95,10); //Patriot
AddStaticVehicle(470,2179.7000000,-2841.5000000,13.6000000,90.0000000,95,10); //Patriot
AddStaticVehicle(470,2164.7000000,-2858.0000000,13.6000000,0.0000000,95,10); //Patriot
AddStaticVehicle(470,2160.6001000,-2858.0000000,13.6000000,0.0000000,95,10); //Patriot
AddStaticVehicle(430,2126.5000000,-2883.7000000,0.0000000,0.0000000,157,152); //Predator
AddStaticVehicle(430,2127.1001000,-2869.0000000,0.0000000,0.0000000,11,-1); //Predator
AddStaticVehicle(430,2127.3000000,-2851.3000000,0.0000000,0.0000000,157,152); //Predator
AddStaticVehicle(472,2136.5000000,-2832.3000000,0.0000000,90.0000000,158,164); //Coastguard
AddStaticVehicle(425,2261.2000000,-2809.3999000,17.0000000,0.0000000,95,10); //Hunter
AddStaticVehicle(548,2258.7000000,-2780.3000000,18.1000000,0.0000000,245,245); //Cargobob
CreateDynamicObject(5184,2210.9004000,-2726.7998000,31.4300000,0.0000000,0.0000000,0.0000000); //object(mdock1a_las2) (1)
CreateDynamicObject(5184,2210.9089000,-2791.3000000,31.4500000,0.0000000,0.0000000,0.0000000); //object(mdock1a_las2) (2)
CreateDynamicObject(5184,2210.8999000,-2855.5000000,31.4000000,0.0000000,0.0000000,0.0000000); //object(mdock1a_las2) (3)
CreateDynamicObject(10831,2250.5000000,-2852.6001000,17.4000000,0.0000000,0.0000000,180.0000000); //object(drydock3_sfse) (1)
CreateDynamicObject(10831,2211.5000000,-2852.7000000,17.4000000,0.0000000,0.0000000,180.0000000); //object(drydock3_sfse) (2)
CreateDynamicObject(10831,2170.3999000,-2852.8000000,17.4000000,0.0000000,0.0000000,180.0000000); //object(drydock3_sfse) (3)
CreateDynamicObject(10834,2169.5996000,-2725.8994000,7.3400000,0.0000000,0.0000000,90.0000000); //object(navybase_03_sfse) (1)
CreateDynamicObject(9958,2255.8000000,-3196.6001000,-46.0000000,0.0000000,0.0000000,278.0000000); //object(submarr_sfe) (1)
CreateDynamicObject(9958,2097.5000000,-3181.3000000,4.3000000,0.0000000,0.0000000,90.0000000); //object(submarr_sfe) (2)
CreateDynamicObject(3753,2139.0000000,-2862.2000000,3.2100000,0.0000000,0.0000000,90.0000000); //object(dockwall_las2) (1)
CreateDynamicObject(10828,2147.5500000,-2871.9900000,-10.0000000,0.0000000,180.0000000,90.0000000); //object(drydock1_sfse) (1)
CreateDynamicObject(9245,2214.5999000,-2806.3999000,24.2000000,0.0000000,0.0000000,90.0000000); //object(cstguard_sfn01) (1)
CreateDynamicObject(8873,2273.3999000,-2875.5000000,18.6000000,0.0000000,0.0000000,0.0000000); //object(vgsecnstrct12) (1)
CreateDynamicObject(8873,2213.8501000,-2877.2000000,18.0000000,0.0000000,0.0000000,330.0000000); //object(vgsecnstrct12) (2)
CreateDynamicObject(8873,2140.3999000,-2876.1001000,18.1660000,0.0000000,0.0000000,290.0000000); //object(vgsecnstrct12) (3)
CreateDynamicObject(7017,2239.0300000,-2877.9900000,11.0160000,0.0000000,0.0000000,180.0000000); //object(circusconstruct07) (1)
CreateDynamicObject(7017,2182.7998000,-2877.9909700,11.0160000,0.0000000,0.0000000,180.0000000); //object(circusconstruct07) (2)
CreateDynamicObject(7017,2275.7500000,-2841.2800000,11.0160000,0.0000000,0.0000000,270.0000000); //object(circusconstruct07) (3)
CreateDynamicObject(7017,2275.7500000,-2767.7000000,11.0160000,0.0000000,0.0000000,270.0000000); //object(circusconstruct07) (4)
CreateDynamicObject(7017,2275.7500000,-2708.2998000,11.0000000,0.0000000,0.0000000,270.0000000); //object(circusconstruct07) (5)
CreateDynamicObject(7017,2145.5901000,-2815.0000000,11.0160000,0.0000000,0.0000000,90.0000000); //object(circusconstruct07) (6)
CreateDynamicObject(7017,2145.5901000,-2742.2700000,11.0100000,0.0000000,0.0000000,90.0000000); //object(circusconstruct07) (7)
CreateDynamicObject(7017,2145.6001000,-2826.7000000,11.0160000,0.0000000,0.0000000,90.0000000); //object(circusconstruct07) (8)
CreateDynamicObject(8841,2199.3203000,-2748.5400000,15.9000000,0.0000000,0.0000000,0.0000000); //object(rsdncarprk01_lvs) (1)
CreateDynamicObject(9241,2259.7998000,-2810.7002000,14.3300000,0.0000000,0.0000000,0.0000000); //object(copbits_sfn) (1)
CreateDynamicObject(9241,2259.9004000,-2781.6895000,14.3300000,0.0000000,0.0000000,179.9950000); //object(copbits_sfn) (2)
CreateDynamicObject(16201,-253.8828100,1922.9844000,72.7109400,0.0000000,0.0000000,0.0000000); //object(cen_bit_09) (1)
CreateDynamicObject(16201,-253.8828100,1922.9844000,72.7109400,0.0000000,0.0000000,0.0000000); //object(cen_bit_09) (2)
CreateDynamicObject(16093,211.6484400,1810.1563000,20.7343800,0.0000000,0.0000000,0.0000000); //object(a51_gatecontrol) (1)
CreateDynamicObject(16093,2155.1001000,-2786.8000000,16.9000000,0.0000000,0.0000000,180.0000000); //object(a51_gatecontrol) (2)
CreateDynamicObject(16638,2155.0000000,-2786.0000000,15.1000000,0.0000000,0.0000000,180.0000000); //object(a51_gatecon_a) (1)
CreateDynamicObject(3279,2191.1001000,-2873.7000000,12.5000000,0.0000000,0.0000000,90.0000000); //object(a51_spottower) (1)
CreateDynamicObject(3998,2173.0000000,-2669.7000000,18.8600000,0.0000000,0.0000000,314.0000000); //object(court1_lan) (1)
CreateDynamicObject(10049,2254.6001000,-2715.7000000,27.0000000,0.0000000,0.0000000,0.0000000); //object(posh_thingsfe) (1)
CreateDynamicObject(10402,2145.7000000,-2694.8000000,12.9000000,0.0000000,0.0000000,270.0000000); //object(hc_secfence_sfs) (1)
CreateDynamicObject(8673,2176.5000000,-2640.3999000,14.0000000,0.0000000,0.0000000,324.0000000); //object(csrsfence03_lvs) (1)
CreateDynamicObject(8673,2193.0000000,-2652.3999000,14.0000000,0.0000000,0.0000000,324.0000000); //object(csrsfence03_lvs) (2)
CreateDynamicObject(8673,2227.2000000,-2670.5000000,14.0000000,0.0000000,0.0000000,339.0000000); //object(csrsfence03_lvs) (3)
CreateDynamicObject(8168,2196.3000000,-2660.2000000,14.5000000,0.0000000,0.0000000,68.0000000); //object(vgs_guardhouse01) (1)
CreateDynamicObject(8168,2218.6001000,-2671.2000000,14.5000000,0.0000000,0.0000000,268.0000000); //object(vgs_guardhouse01) (2)
Cela[0] = CreateDynamicObject(7657,2209.7000000,-2662.8000000,14.2900000,0.0000000,0.0000000,152.0000000); //object(plasticsgate1) (1)
RemoveBuildingForPlayer(playerid, 16093, 211.64844, 1810.1563, 20.73438, 0.25);
RemoveBuildingForPlayer(playerid, 1635, 2215.9141, -2664.2812, 14.92969, 0.25);
RemoveBuildingForPlayer(playerid, 1306, 2239.3672, -2676.2891, 19.84375, 0.25);
RemoveBuildingForPlayer(playerid, 3707, 2184.3516, -2681.7344, 20.49219, 0.25);
RemoveBuildingForPlayer(playerid, 1306, 2210.7031, -2637.5937, 19.84375, 0.25);