open.mp forum
[Map] [Red Country] Fire Station - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Releases (https://forum.open.mp/forumdisplay.php?fid=13)
---- Forum: Maps (https://forum.open.mp/forumdisplay.php?fid=67)
---- Thread: [Map] [Red Country] Fire Station (/showthread.php?tid=1880)



[Red Country] Fire Station - Mivco - 2021-04-14

Maybe it will help someone if they do RP Red Country they can use it. :D?



PHP Code:
new Objekty[2]; 

new 
FireCela;? ? 

public 
OnPlayerKeyStateChange(playeridnewkeysoldkeys



? ? 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(FireCela2274.6499000,-18.1000000,24.20000002.0); 

? ? ? ? ? ? ? ? ? ? ? ? 
Objekty[1] = 1

? ? ? ? ? ? ? ? ? ? ? ? }else{ 

? ? ? ? ? ? ? ? ? ? ? ? 
MoveDynamicObject(FireCela2274.6499000,-18.1000000,26.20000002.0); 

? ? ? ? ? ? ? ? ? ? ? ? 
Objekty[1] = 0

? ? ? ? ? ? ? ? ? ? } 

? ? ? ? ? ? ? ? } 

? ? ? ? ? ? } 

? ? ? ? } 

? ? } 

? ? return 
1







? ? ? ? 
RemoveBuildingForPlayer(playerid7822252.6484, -13.5078125.554690.25); 

? ? 
RemoveBuildingForPlayer(playerid33142267.3750.8515626.468750.25); 

? ? 
RemoveBuildingForPlayer(playerid33292267.3750.8515626.468750.25);// 

? ? RemoveBuildingForPlayer(playerid33172246.41410.4218828.81250.25); 

? ? 
RemoveBuildingForPlayer(playerid33262246.41410.4218828.81250.25);// 

? ? RemoveBuildingForPlayer(playerid7652260.6172, -10.6093725.531250.25); 

? ? 
RemoveBuildingForPlayer(playerid14182255.6692, -18.3107226.850530.25); 

? ? 
RemoveBuildingForPlayer(playerid14182263.5200, -18.3107226.111550.25); 

? ? 
RemoveBuildingForPlayer(playerid14182268.2227, -18.3107226.162430.25); 

? ? 
RemoveBuildingForPlayer(playerid14182273.4517, -18.3107226.284810.25); 

? ? 
RemoveBuildingForPlayer(playerid7292269.093814.687525.367190.25); 

? ? 
RemoveBuildingForPlayer(playerid34072282.7034, -18.2738526.639250.25); 

? ? 
RemoveBuildingForPlayer(playerid13082284.0703, -18.4921925.679690.25); 

? ? 
RemoveBuildingForPlayer(playerid12942283.9360, -0.2953226.095960.25); 

? ? 
RemoveBuildingForPlayer(playerid14192283.7104, -6.2539827.43210.25); 

? ? 
RemoveBuildingForPlayer(playerid14192283.7090, -12.4138927.190130.25); 

? ? 
RemoveBuildingForPlayer(playerid14192283.70955.2541527.864710.25); 

? ? 
RemoveBuildingForPlayer(playerid14192283.70951.1350727.717040.25); 

? ? 
RemoveBuildingForPlayer(playerid14192283.709512.0222127.852610.25); 

? ? 
RemoveBuildingForPlayer(playerid13082283.890419.350125.693510.25); 

? ? 
RemoveBuildingForPlayer(playerid14192283.709518.0659227.766170.25); 

? ? 
RemoveBuildingForPlayer(playerid12942283.800031.7126625.725920.25); 

? ? 
RemoveBuildingForPlayer(playerid34082243.5906, -18.2906126.845660.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)? 





[Image: Mr4.jpg]

[Image: Mr5.jpg]

[Image: Mr6.jpg]

[Image: Mr7.jpg]

[Image: Mr8.jpg]


RE: [Red Country] Fire Station - N0FeaR - 2023-09-21

I like it, good job!