new Objekty[2];
new FireCela;? ?
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
? ? if(IsPlayerConnected(playerid))
? ? {
? ? ? ? if(newkeys & KEY_SUBMISSION)
? ? ? ? {
? ? ? ? ? ? ? if(JOB) // you JOB
? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? if(IsPlayerInRangeOfPoint(playerid,30,2274.6499000,-18.1000000,24.2000000))
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? if(Objekty[1] == 0)
? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? MoveDynamicObject(FireCela, 2274.6499000,-18.1000000,24.2000000, 2.0);
? ? ? ? ? ? ? ? ? ? ? ? Objekty[1] = 1;
? ? ? ? ? ? ? ? ? ? ? ? }else{
? ? ? ? ? ? ? ? ? ? ? ? MoveDynamicObject(FireCela, 2274.6499000,-18.1000000,26.2000000, 2.0);
? ? ? ? ? ? ? ? ? ? ? ? Objekty[1] = 0;
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? }
? ? ? ? ? ? }
? ? ? ? }
? ? }
? ? return 1;
}
? ? ? ? RemoveBuildingForPlayer(playerid, 782, 2252.6484, -13.50781, 25.55469, 0.25);
? ? RemoveBuildingForPlayer(playerid, 3314, 2267.375, 0.85156, 26.46875, 0.25);
? ? RemoveBuildingForPlayer(playerid, 3329, 2267.375, 0.85156, 26.46875, 0.25);//
? ? RemoveBuildingForPlayer(playerid, 3317, 2246.4141, 0.42188, 28.8125, 0.25);
? ? RemoveBuildingForPlayer(playerid, 3326, 2246.4141, 0.42188, 28.8125, 0.25);//
? ? RemoveBuildingForPlayer(playerid, 765, 2260.6172, -10.60937, 25.53125, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1418, 2255.6692, -18.31072, 26.85053, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1418, 2263.5200, -18.31072, 26.11155, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1418, 2268.2227, -18.31072, 26.16243, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1418, 2273.4517, -18.31072, 26.28481, 0.25);
? ? RemoveBuildingForPlayer(playerid, 729, 2269.0938, 14.6875, 25.36719, 0.25);
? ? RemoveBuildingForPlayer(playerid, 3407, 2282.7034, -18.27385, 26.63925, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1308, 2284.0703, -18.49219, 25.67969, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1294, 2283.9360, -0.29532, 26.09596, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1419, 2283.7104, -6.25398, 27.4321, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1419, 2283.7090, -12.41389, 27.19013, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1419, 2283.7095, 5.25415, 27.86471, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1419, 2283.7095, 1.13507, 27.71704, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1419, 2283.7095, 12.02221, 27.85261, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1308, 2283.8904, 19.3501, 25.69351, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1419, 2283.7095, 18.06592, 27.76617, 0.25);
? ? RemoveBuildingForPlayer(playerid, 1294, 2283.8000, 31.71266, 25.72592, 0.25);
? ? RemoveBuildingForPlayer(playerid, 3408, 2243.5906, -18.29061, 26.84566, 0.25);
? ? AddStaticVehicle(407,2280.7000000,0.6000000,26.9000000,180.0000000,119,249); //Firetruck
? ? AddStaticVehicle(407,2276.3000000,0.8000000,26.9000000,180.0000000,132,4); //Firetruck
? ? AddStaticVehicle(544,2272.0000000,0.2000000,26.8000000,180.0000000,132,4); //Firetruck LA
? ? AddStaticVehicle(544,2268.1001000,-0.2000000,26.9000000,180.0000000,132,4); //Firetruck LA
? ? AddStaticVehicle(544,2264.6001000,0.1000000,26.9000000,180.0000000,229,-1); //Firetruck LA
? ? AddStaticVehicle(544,2260.5000000,0.3000000,26.7000000,180.0000000,132,4); //Firetruck LA
? ? AddStaticVehicle(552,2256.1001000,-0.2000000,26.3000000,180.0000000,173,16); //Utility
? ? AddStaticVehicle(552,2252.2000000,-0.2000000,26.1000000,180.0000000,173,176); //Utility
? ? AddStaticVehicle(603,2237.0000000,-11.9000000,26.5000000,160.0000000,100,100); //Phoenix
? ? AddStaticVehicle(474,2242.3999000,-12.6000000,26.4000000,165.0000000,100,104); //Hermes
? ? CreateDynamicObject(3378,2282.3999000,-10.8000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (1)
? ? CreateDynamicObject(3378,2282.3401000,11.3000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (2)
? ? CreateDynamicObject(3378,2276.8000000,-7.5000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (3)
? ? CreateDynamicObject(3378,2271.4900000,-7.5000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (4)
? ? CreateDynamicObject(3378,2266.3000000,-7.3000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (5)
? ? CreateDynamicObject(3378,2262.7000000,-7.3000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (6)
? ? CreateDynamicObject(3378,2257.0000000,-7.4000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (7)
? ? CreateDynamicObject(3378,2251.3000000,-6.8000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (8)
? ? CreateDynamicObject(3378,2245.7000000,-7.3000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (9)
? ? CreateDynamicObject(3378,2240.0000000,-7.3000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (10)
? ? CreateDynamicObject(3378,2234.5000000,-7.3000000,24.2900000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (11)
? ? CreateDynamicObject(3378,2276.8999000,12.7000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (12)
? ? CreateDynamicObject(3378,2271.5000000,11.2000000,24.2800000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (13)
? ? CreateDynamicObject(3378,2236.2000000,8.7000000,24.2600000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (14)
? ? CreateDynamicObject(3378,2241.0000000,7.8000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (15)
? ? CreateDynamicObject(3378,2246.1001000,12.7000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (16)
? ? CreateDynamicObject(3378,2251.5000000,12.4000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (17)
? ? CreateDynamicObject(3378,2256.9900000,12.3000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (18)
? ? CreateDynamicObject(3378,2262.2000000,12.2000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (19)
? ? CreateDynamicObject(3378,2267.6001000,12.5000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(ce_beerpile01) (20)
? ? CreateDynamicObject(8063,2258.5000000,20.0000000,29.0000000,0.0000000,0.0000000,0.0000000); //object(vgswrehse16) (1)
? ? CreateDynamicObject(1693,2244.5000000,14.0000000,33.5000000,0.0000000,0.0000000,0.0000000); //object(roofstuff12) (1)
? ? CreateDynamicObject(1693,2244.8000000,26.9000000,33.5000000,0.0000000,0.0000000,0.0000000); //object(roofstuff12) (2)
? ? CreateDynamicObject(1693,2272.5000000,14.4000000,33.5000000,0.0000000,0.0000000,0.0000000); //object(roofstuff12) (3)
? ? CreateDynamicObject(1693,2272.6001000,26.9000000,33.5000000,0.0000000,0.0000000,0.0000000); //object(roofstuff12) (4)
? ? CreateDynamicObject(3294,2278.8000000,8.0000000,28.0000000,0.0000000,0.0000000,90.0000000); //object(cxf_spraydoor1) (2)
? ? CreateDynamicObject(3294,2270.5000000,8.0000000,28.0000000,0.0000000,0.0000000,90.0000000); //object(cxf_spraydoor1) (3)
? ? CreateDynamicObject(3294,2262.5000000,8.0000000,28.0000000,0.0000000,0.0000000,90.0000000); //object(cxf_spraydoor1) (4)
? ? CreateDynamicObject(3294,2254.5000000,8.0000000,28.0000000,0.0000000,0.0000000,90.0000000); //object(cxf_spraydoor1) (5)
? ? CreateDynamicObject(1566,2240.2000000,8.0000000,27.0000000,0.0000000,0.0000000,0.0000000); //object(cj_ws_door) (3)
? ? CreateDynamicObject(1566,2243.1001000,8.0000000,27.0000000,0.0000000,0.0000000,0.0000000); //object(cj_ws_door) (7)
? ? CreateDynamicObject(669,2233.8000000,-15.0000000,25.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (1)
? ? CreateDynamicObject(1490,2282.8999000,11.4000000,29.2000000,0.0000000,0.0000000,179.9970000); //object(tag_01) (2)
? ? CreateDynamicObject(7191,2284.1001000,4.6000000,27.0000000,0.0000000,0.0000000,0.0000000); //object(vegasnnewfence2b) (1)
? ? CreateDynamicObject(7191,2284.1001000,11.0000000,27.0000000,0.0000000,0.0000000,180.0000000); //object(vegasnnewfence2b) (2)
? ? CreateDynamicObject(7191,2261.7000000,33.5000000,27.0000000,0.0000000,0.0000000,90.0000000); //object(vegasnnewfence2b) (3)
? ? CreateDynamicObject(7191,2255.5000000,33.5000000,27.0000000,0.0000000,0.0000000,270.0000000); //object(vegasnnewfence2b) (4)
? ? CreateDynamicObject(7191,2233.0000000,11.1000000,27.0000000,0.0000000,0.0000000,180.0000000); //object(vegasnnewfence2b) (5)
? ? CreateDynamicObject(7191,2233.0000000,4.3000000,27.0000000,0.0000000,0.0000000,0.0000000); //object(vegasnnewfence2b) (6)
? ? CreateDynamicObject(8650,2247.8000000,-18.1000000,26.6000000,0.0000000,0.0000000,90.0000000); //object(shbbyhswall06_lvs) (1)
? ? CreateDynamicObject(8650,2250.3000000,-18.1000000,26.6000000,0.0000000,0.0000000,90.0000000); //object(shbbyhswall06_lvs) (2)
? ? FireCela = CreateDynamicObject(7657,2274.6499000,-18.1000000,26.2000000,0.0000000,0.0000000,0.0000000); //object(plasticsgate1) (2)
? ? CreateDynamicObject(669,2248.3000000,-16.6000000,25.5000000,0.0000000,0.0000000,0.0000000); //object(sm_veg_tree4) (2)
? ? CreateDynamicObject(672,2258.1001000,-16.1000000,25.5000000,0.0000000,0.0000000,180.0000000); //object(sm_veg_tree5) (1)
? ? CreateDynamicObject(1364,2247.3999000,7.2000000,26.1000000,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop) (1)
? ? CreateDynamicObject(1364,2237.5000000,7.1000000,26.1000000,0.0000000,0.0000000,0.0000000); //object(cj_bush_prop) (2)
? ? CreateDynamicObject(7091,2242.2000000,8.5000000,31.1000000,0.0000000,336.0000000,270.0000000); //vlajka
? ? CreateDynamicObject(1688,2252.3000000,20.8000000,33.4500000,0.0000000,0.0000000,178.0000000); //object(gen_roofbit2) (1)
? ? CreateDynamicObject(1687,2265.1001000,20.8000000,33.3000000,0.0000000,0.0000000,270.0000000); //object(gen_roofbit1) (1)
? ? CreateDynamicObject(1690,2257.6001000,30.3000000,33.0000000,0.0000000,0.0000000,90.0000000); //object(gen_roofbit4) (1)
? ? CreateDynamicObject(1490,2232.8999000,-14.7000000,27.4000000,0.0000000,0.0000000,0.0000000); //object(tag_01) (3)
? ? CreateDynamicObject(1346,2255.2000000,-19.1000000,26.8000000,0.0000000,0.0000000,0.0000000); //object(cj_phone_kiosk2) (1)
? ? CreateDynamicObject(910,2263.0000000,-16.8000000,26.8000000,0.0000000,0.0000000,180.0000000); //object(bust_cabinet_4) (1)
? ? CreateDynamicObject(1297,2285.0000000,-16.6000000,28.5000000,0.0000000,0.0000000,180.0000000); //object(lamppost1) (1)
? ? CreateDynamicObject(1297,2285.2000000,-6.0000000,28.5000000,0.0000000,0.0000000,180.0000000); //object(lamppost1) (2)
? ? CreateDynamicObject(1297,2285.0500000,7.0000000,28.5000000,0.0000000,0.0000000,180.0000000); //object(lamppost1) (3)
? ? CreateDynamicObject(1297,2264.0000000,-19.4000000,28.5000000,0.0000000,0.0000000,90.0000000); //object(lamppost1) (4)
? ? CreateDynamicObject(1297,2251.8000000,-19.4000000,28.5000000,0.0000000,0.0000000,90.0000000); //object(lamppost1) (5)
? ? CreateDynamicObject(1297,2235.2000000,-19.5000000,28.5000000,0.0000000,0.0000000,90.0000000); //object(lamppost1) (6)
? ? CreateDynamicObject(1215,2258.6001000,7.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (1)
? ? CreateDynamicObject(1215,2266.5000000,7.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (2)
? ? CreateDynamicObject(1215,2274.8000000,7.6000000,26.1000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (3)
? ? CreateDynamicObject(1215,2250.3000000,7.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (4)
? ? CreateDynamicObject(1215,2242.5000000,7.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (5)
? ? CreateDynamicObject(1215,2234.7000000,7.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (6)
? ? CreateDynamicObject(1215,2238.5000000,-17.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (7)
? ? CreateDynamicObject(1215,2245.8000000,-17.5000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (8)
? ? CreateDynamicObject(1215,2233.3999000,-10.8000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (9)
? ? CreateDynamicObject(1215,2251.3999000,-17.6000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (10)
? ? CreateDynamicObject(1215,2233.5000000,-4.8000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (11)
? ? CreateDynamicObject(1215,2233.3999000,1.9000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (12)
? ? CreateDynamicObject(1215,2260.6001000,-17.4000000,26.0000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (13)
? ? CreateDynamicObject(1215,2265.2000000,-18.0000000,27.8000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (14)?