SA-MP Forums Archive
[Map] HQ - Policia Federal - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [Map] HQ - Policia Federal (/showthread.php?tid=365368)



HQ - Policia Federal - Panico622 - 02.08.2012

Imagens:







Code/Download
pawn Code:
//--------------------------------------------------//
//           Mapa By:       Panico                  //
//--------------------------------------------------//

#include <a_samp>

new portao;
new cancela1;
new cancela2;

forward fecharpt(playerid);
forward fecharcancela(playerid);

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    AddStaticVehicleEx(497,977.20001221,-334.50000000,73.00000000,0.00000000,95,1,15); //Police Maverick
    AddStaticVehicleEx(497,992.29998779,-334.50000000,73.00000000,0.00000000,95,1,15); //Police Maverick
    AddStaticVehicleEx(528,1067.80004883,-292.39999390,74.19999695,180.00000000,16,1,15); //FBI Truck
    AddStaticVehicleEx(528,1070.90002441,-292.39999390,74.19999695,180.00000000,16,1,15); //FBI Truck
    AddStaticVehicleEx(601,1074.19995117,-292.70001221,73.90000153,180.00000000,-1,-1,15); //S.W.A.T. Van
    AddStaticVehicleEx(601,1077.40002441,-292.70001221,73.90000153,180.00000000,-1,-1,15); //S.W.A.T. Van
    AddStaticVehicleEx(490,1080.90002441,-341.39999390,74.30000305,0.00000000,95,-1,15); //FBI Rancher
    AddStaticVehicleEx(490,1077.19995117,-341.20001221,74.30000305,0.00000000,95,-1,15); //FBI Rancher
    AddStaticVehicleEx(596,1045.80004883,-293.10000610,73.80000305,180.00000000,95,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1046.00000000,-306.29998779,73.80000305,180.00000000,95,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(596,1046.00000000,-314.00000000,73.80000305,180.00000000,95,1,15); //Police Car (LSPD)
    AddStaticVehicleEx(523,1045.40002441,-294.79998779,77.00000000,180.00000000,95,1,15); //HPV1000
    AddStaticVehicleEx(523,1045.69995117,-305.60000610,77.00000000,180.00000000,95,1,15); //HPV1000
    AddStaticVehicleEx(523,1044.00000000,-310.60000610,77.00000000,180.00000000,95,1,15); //HPV1000
    AddStaticVehicleEx(523,1047.19995117,-309.60000610,77.00000000,180.00000000,95,1,15); //HPV1000
    AddStaticVehicleEx(495,1072.90002441,-342.00000000,74.59999847,0.00000000,95,1,15); //Sandking
    AddStaticVehicleEx(495,1069.19995117,-341.89999390,74.59999847,0.00000000,95,1,15); //Sandking
    AddStaticVehicleEx(522,1055.00000000,-314.60000610,73.69999695,270.00000000,95,1,15); //NRG-500
    AddStaticVehicleEx(522,1055.09997559,-313.10000610,73.69999695,270.00000000,95,1,15); //NRG-500
    AddStaticVehicleEx(522,1055.19995117,-311.60000610,73.69999695,270.00000000,95,1,15); //NRG-500
    AddStaticVehicleEx(522,1055.19995117,-310.29998779,73.69999695,270.00000000,95,1,15); //NRG-500
    CreateObject(3475,1006.50000000,-282.50000000,75.40000153,0.00000000,0.00000000,343.50000000); //object(vgsn_fncelec_pst) (1)
    CreateObject(3475,1006.00000000,-288.60000610,75.40000153,0.00000000,0.00000000,2.24670410); //object(vgsn_fncelec_pst) (2)
    CreateObject(3475,1006.29998779,-294.50000000,75.40000153,0.00000000,0.00000000,2.24670410); //object(vgsn_fncelec_pst) (3)
    CreateObject(3475,1006.59997559,-300.50000000,75.40000153,0.00000000,0.00000000,2.24670410); //object(vgsn_fncelec_pst) (4)
    CreateObject(3475,1006.79998779,-306.50000000,75.40000153,0.00000000,0.00000000,2.24670410); //object(vgsn_fncelec_pst) (5)
    CreateObject(3475,1007.09960938,-312.39941406,75.40000153,0.00000000,0.00000000,2.24121094); //object(vgsn_fncelec_pst) (6)
    CreateObject(3475,1003.90002441,-315.39999390,75.40000153,0.00000000,0.00000000,265.99121094); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,1008.20001221,-348.20001221,75.40000153,0.00000000,0.00000000,2.24670410); //object(vgsn_fncelec_pst) (14)
    CreateObject(3475,1008.20001221,-354.20001221,75.40000153,0.00000000,0.00000000,2.24670410); //object(vgsn_fncelec_pst) (15)
    CreateObject(3475,1008.40002441,-360.00000000,75.40000153,0.00000000,0.00000000,2.25000000); //object(vgsn_fncelec_pst) (16)
    CreateObject(3475,1011.20001221,-364.20001221,75.40000153,0.00000000,0.00000000,56.24670410); //object(vgsn_fncelec_pst) (17)
    CreateObject(3475,1034.09997559,-365.10000610,75.30000305,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (21)
    CreateObject(3475,1040.09997559,-365.10000610,75.30000305,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (22)
    CreateObject(3475,1046.09997559,-365.20001221,75.30000305,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (23)
    CreateObject(3475,1052.00000000,-365.39999390,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (24)
    CreateObject(3475,1058.00000000,-365.39999390,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (25)
    CreateObject(3475,1063.90002441,-365.50000000,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (26)
    CreateObject(3475,1069.90002441,-365.60000610,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (27)
    CreateObject(3475,1075.69995117,-365.70001221,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (29)
    CreateObject(3475,1081.59997559,-365.79998779,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (30)
    CreateObject(3475,1087.50000000,-365.89999390,75.30000305,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (31)
    CreateObject(3475,1093.40002441,-366.00000000,75.30000305,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (32)
    CreateObject(3475,1099.40002441,-366.29998779,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (33)
    CreateObject(3475,1105.19995117,-366.39999390,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (34)
    CreateObject(3475,1111.09997559,-366.50000000,75.30000305,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (35)
    CreateObject(3475,1116.80004883,-366.79998779,75.40000153,0.00000000,0.00000000,88.98925781); //object(vgsn_fncelec_pst) (36)
    CreateObject(3475,1119.40002441,-364.10000610,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (37)
    CreateObject(3475,1119.50000000,-358.29998779,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (38)
    CreateObject(3475,1119.59997559,-352.39999390,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (39)
    CreateObject(3475,1119.69995117,-346.60000610,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (40)
    CreateObject(3475,1119.80004883,-340.70001221,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (41)
    CreateObject(3475,1120.00000000,-334.79998779,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (42)
    CreateObject(3475,1120.59997559,-329.10000610,75.40000153,0.00000000,0.00000000,169.73925781); //object(vgsn_fncelec_pst) (43)
    CreateObject(3475,1121.19995117,-323.29998779,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (44)
    CreateObject(3475,1121.40002441,-317.50000000,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (45)
    CreateObject(3475,1121.59997559,-311.70001221,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (46)
    CreateObject(3475,1121.69995117,-305.89999390,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (47)
    CreateObject(3475,1121.80004883,-300.20001221,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (48)
    CreateObject(3475,1122.00000000,-294.39999390,75.40000153,0.00000000,0.00000000,178.98925781); //object(vgsn_fncelec_pst) (49)
    CreateObject(3475,1119.30004883,-291.50000000,75.40000153,0.00000000,0.00000000,262.98925781); //object(vgsn_fncelec_pst) (50)
    CreateObject(3475,1113.59997559,-291.10000610,75.40000153,0.00000000,0.00000000,268.98522949); //object(vgsn_fncelec_pst) (51)
    CreateObject(3475,1107.90002441,-291.00000000,75.40000153,0.00000000,0.00000000,268.98376465); //object(vgsn_fncelec_pst) (52)
    CreateObject(3475,1102.09997559,-290.89999390,75.40000153,0.00000000,0.00000000,268.98376465); //object(vgsn_fncelec_pst) (53)
    CreateObject(3475,1096.30004883,-290.79998779,75.40000153,0.00000000,0.00000000,268.98379517); //object(vgsn_fncelec_pst) (54)
    CreateObject(3475,1093.30004883,-287.50000000,75.40000153,0.00000000,0.00000000,178.98376465); //object(vgsn_fncelec_pst) (55)
    CreateObject(3475,1090.80004883,-283.70001221,75.40000153,0.00000000,0.00000000,250.98376465); //object(vgsn_fncelec_pst) (56)
    CreateObject(3475,1085.19995117,-282.50000000,75.40000153,0.00000000,0.00000000,266.98315430); //object(vgsn_fncelec_pst) (58)
    CreateObject(3475,1079.30004883,-282.10000610,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (59)
    CreateObject(3475,1073.40002441,-281.79998779,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (60)
    CreateObject(3475,1067.69995117,-281.50000000,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (61)
    CreateObject(3475,1062.00000000,-281.20001221,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (62)
    CreateObject(3475,1056.30004883,-280.89999390,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (63)
    CreateObject(3475,1050.59997559,-280.50000000,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (64)
    CreateObject(3475,1044.80004883,-280.00000000,75.59999847,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (65)
    CreateObject(3475,1039.00000000,-279.50000000,75.40000153,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (66)
    CreateObject(3475,1033.30004883,-279.20001221,75.30000305,0.00000000,0.00000000,266.97875977); //object(vgsn_fncelec_pst) (67)
    CreateObject(3475,1027.59997559,-279.29998779,75.09999847,0.00000000,0.00000000,275.22875977); //object(vgsn_fncelec_pst) (68)
    CreateObject(3475,1021.79998779,-279.50000000,75.40000153,0.00000000,0.00000000,270.97875977); //object(vgsn_fncelec_pst) (69)
    CreateObject(3475,1015.90002441,-279.50000000,75.40000153,0.00000000,0.00000000,270.97778320); //object(vgsn_fncelec_pst) (70)
    CreateObject(3475,1010.00000000,-279.60000610,75.40000153,0.00000000,0.00000000,270.97778320); //object(vgsn_fncelec_pst) (71)
    CreateObject(3749,1023.39941406,-366.39941406,78.80000305,0.00000000,0.00000000,0.00000000); //object(clubgate01_lax) (1)
    CreateObject(1237,1012.70001221,-452.39999390,50.50000000,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (1)
    CreateObject(1237,1039.30004883,-443.29998779,50.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (2)
    CreateObject(1237,1027.09997559,-447.20001221,50.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (3)
    CreateObject(1237,1023.79998779,-448.29998779,50.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (4)
    CreateObject(1237,1024.30004883,-444.00000000,51.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (5)
    CreateObject(1237,1025.40002441,-447.70001221,50.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (6)
    CreateObject(966,1021.90002441,-449.10000610,50.90000153,0.00000000,0.00000000,22.00000000); //object(bar_gatebar01) (1)
    CreateObject(966,1029.00000000,-446.89999390,51.00000000,0.00000000,0.00000000,198.00000000); //object(bar_gatebar01) (2)
    CreateObject(1237,1036.50000000,-444.10000610,51.00000000,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (7)
    CreateObject(1237,1037.90002441,-443.60000610,51.00000000,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (8)
    CreateObject(1237,1014.29998779,-451.60000610,50.70000076,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (9)
    CreateObject(1237,1010.90002441,-447.39999390,51.70000076,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (10)
    CreateObject(1237,1011.70001221,-449.89999390,51.09999847,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (11)
    CreateObject(1237,1039.80004883,-440.89999390,50.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (12)
    CreateObject(1237,1030.40002441,-362.89999390,72.90000153,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (13)
    CreateObject(1423,1025.80004883,-445.50000000,52.20000076,7.82406616,12.11447144,315.57629395); //object(dyn_roadbarrier_4) (1)
    CreateObject(1423,1024.09997559,-446.20001221,52.09999847,348.26403809,12.25814819,265.77478027); //object(dyn_roadbarrier_4) (2)
    CreateObject(1215,1022.79998779,-448.60000610,51.50000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)
    CreateObject(1215,1028.30004883,-447.10000610,51.50000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)
    CreateObject(1215,1027.00000000,-447.20001221,52.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (3)
    CreateObject(1215,1025.40002441,-447.70001221,52.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (4)
    CreateObject(1215,1023.70001221,-448.39999390,52.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (5)
    CreateObject(1215,1038.90002441,-452.20001221,51.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (7)
    CreateObject(1215,1037.00000000,-453.00000000,51.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (17)
    CreateObject(1215,1035.40002441,-453.70001221,51.09999847,0.00000000,0.00000000,0.00000000); //object(bollardlight) (18)
    CreateObject(1215,1033.30004883,-454.50000000,51.09999847,0.00000000,0.00000000,0.00000000); //object(bollardlight) (19)
    CreateObject(1215,1031.50000000,-455.29998779,51.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (20)
    CreateObject(1215,1029.69995117,-456.00000000,51.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (21)
    CreateObject(1215,1027.90002441,-456.79998779,51.00000000,0.00000000,0.00000000,0.00000000); //object(bollardlight) (22)
    CreateObject(1215,1026.19995117,-457.50000000,50.90000153,0.00000000,0.00000000,0.00000000); //object(bollardlight) (23)
    CreateObject(1215,1024.80004883,-458.10000610,50.90000153,0.00000000,0.00000000,0.00000000); //object(bollardlight) (24)
    CreateObject(1215,1023.20001221,-458.79998779,50.90000153,0.00000000,0.00000000,0.00000000); //object(bollardlight) (25)
    CreateObject(1215,1021.90002441,-459.39999390,50.90000153,0.00000000,0.00000000,0.00000000); //object(bollardlight) (26)
    CreateObject(1215,1020.70001221,-459.89999390,50.79999924,0.00000000,0.00000000,0.00000000); //object(bollardlight) (27)
    CreateObject(1215,1019.50000000,-460.29998779,50.79999924,0.00000000,0.00000000,0.00000000); //object(bollardlight) (28)
    CreateObject(1215,1018.29998779,-460.79998779,50.79999924,0.00000000,0.00000000,0.00000000); //object(bollardlight) (29)
    CreateObject(1215,1017.00000000,-461.39999390,50.79999924,0.00000000,0.00000000,0.00000000); //object(bollardlight) (31)
    CreateObject(1215,1015.79998779,-462.00000000,50.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (32)
    CreateObject(1215,1014.79998779,-462.50000000,50.70000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (33)
    CreateObject(1215,1040.19995117,-451.60000610,51.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (35)
    CreateObject(1215,1041.69995117,-451.00000000,51.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (36)
    CreateObject(1215,1043.09997559,-450.50000000,51.20000076,0.00000000,0.00000000,0.00000000); //object(bollardlight) (37)
    CreateObject(1237,1044.09997559,-450.20001221,50.59999847,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (14)
    CreateObject(1237,1013.90002441,-463.20001221,50.00000000,0.00000000,0.00000000,0.00000000); //object(strtbarrier01) (20)
    CreateObject(4874,1004.29998779,-331.10000610,72.30000305,0.00000000,0.00000000,0.00000000); //object(helipad1_las) (2)
    CreateObject(3475,998.09997559,-315.00000000,74.90000153,0.00000000,0.00000000,267.98999023); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,992.20001221,-314.89999390,74.90000153,0.00000000,0.00000000,269.23950195); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,986.29998779,-314.89999390,74.80000305,0.00000000,0.00000000,272.23645020); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,980.50000000,-315.00000000,74.90000153,0.00000000,0.00000000,269.73645020); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,974.59997559,-315.00000000,74.90000153,0.00000000,0.00000000,269.73632812); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,968.70001221,-315.00000000,74.90000153,0.00000000,0.00000000,269.73632812); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,965.90002441,-317.79998779,74.90000153,0.00000000,0.00000000,359.73632812); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,965.90002441,-323.60000610,74.90000153,0.00000000,0.00000000,359.73632812); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,965.79998779,-329.39999390,74.90000153,0.00000000,0.00000000,359.73632812); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,965.79998779,-335.39999390,74.90000153,0.00000000,0.00000000,359.98632812); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,965.90002441,-341.50000000,74.90000153,0.00000000,0.00000000,359.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,966.00000000,-347.50000000,74.90000153,0.00000000,0.00000000,359.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,968.70001221,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,974.40002441,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,980.20001221,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,985.79998779,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,991.59997559,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,997.40002441,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,1003.20001221,-350.10000610,74.69999695,0.00000000,0.00000000,89.98352051); //object(vgsn_fncelec_pst) (7)
    CreateObject(3475,1006.70001221,-347.79998779,74.69999695,0.00000000,0.00000000,153.48352051); //object(vgsn_fncelec_pst) (7)
    portao = CreateObject(980,1023.40002441,-366.29998779,75.69999695,0.00000000,0.00000000,0.00000000); //object(airportgate) (1)
    cancela1 = CreateObject(968,1029.00000000,-446.89999390,51.90000153,0.00000000,90.00000000,18.00000000); //object(barrierturn) (1)
    cancela2 = CreateObject(968,1021.90002441,-449.10000610,51.59999847,0.00000000,270.75018311,21.99948120); //object(barrierturn) (2)
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    SetPlayerTime(playerid, 0, 0);
    SetWorldTime(0);
    return 1;
}


public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(newkeys==KEY_CROUCH)
    {
        if(IsPlayerInRangeOfPoint(playerid, 15,1029.00000000,-446.89999390,51.90000153))
        {
            if (IsPlayerInAnyVehicle(playerid))
            {
                cancelaabrir(playerid);
            }
        }
        if(IsPlayerInRangeOfPoint(playerid, 15,1023.40002441,-366.29998779,79.69999695))
        {
            if (IsPlayerInAnyVehicle(playerid))
            {
                portaoabrir(playerid);
            }
        }
    }
    if(newkeys==KEY_SECONDARY_ATTACK)
    {
        if(IsPlayerInRangeOfPoint(playerid,  15,1029.00000000,-446.89999390,51.90000153))
        {
            if (!IsPlayerInAnyVehicle(playerid))
            {
                cancelaabrir(playerid);
            }
        }
        if(IsPlayerInRangeOfPoint(playerid, 15,1023.40002441,-366.29998779,79.69999695))
        {
            if (!IsPlayerInAnyVehicle(playerid))
            {
                portaoabrir(playerid);
            }
        }
    }
    return 1;
}

public fecharpt(playerid)
{
    MoveObject(portao, 1023.40002441,-366.29998779,75.69999695,4.0,0.00000000,0.00000000,0.00000000);
    GameTextForPlayer(playerid,"Portao ~w~Fechado", 2000, 4);
    return 1;
}

public fecharcancela(playerid)
{
    MoveObject(cancela1, 1029.00000000,-446.89999390,51.90000153,2.0,0.00000000,90.00000000,18.00000000);
    MoveObject(cancela2, 1021.90002441,-449.10000610,51.59999847,2.0,0.00000000,270.75018311,21.99948120);
    GameTextForPlayer(playerid,"Cancela ~w~Fechada", 2000, 4);
    return 1;
}

portaoabrir(playerid)
{
    MoveObject(portao, 1023.40002441,-366.29998779,79.69999695, 4.0,0.00000000,0.00000000,0.00000000);
    SetTimer("fecharpt", 10000, false);
    GameTextForPlayer(playerid,"Portao ~w~Aberto", 2000, 4);
    return 1;
}
cancelaabrir(playerid)
{
    MoveObject(cancela1, 1029.00000000,-446.89999390,51.90000153,2.0,0.00000000,2.00000000,18.00000000);
    MoveObject(cancela2, 1021.89941406,-449.09960938,51.59999847,2.0,0.00000000,6.74700928,21.99462891);
    GameTextForPlayer(playerid,"Cancela ~w~Aberta", 2000, 4);
    SetTimer("fecharcancela", 10000, false);
    return 1;
}
MediaFire
Coordenadas:
pawn Code:
1029.00000000,-446.89999390,51.90000153
Creditos
-Panico-




Re: HQ - Policia Federal - mau.tito - 02.08.2012

Kkk cancela aberto !!


Muito Bom Parabens



Re: HQ - Policia Federal - Ed_Agr - 02.08.2012

Уtimo mapa, bem iluminado e jб com sistemas de abrir portгo. Parabйns.


Re: HQ - Policia Federal - Panico622 - 02.08.2012

Quote:
Originally Posted by mau.tito
View Post
Kkk cancela aberto !!


Muito Bom Parabens
Quote:
Originally Posted by Ed_Agr
View Post
Уtimo mapa, bem iluminado e jб com sistemas de abrir portгo. Parabйns.
vlw kk