[Map] SF Army Base (With Gate codes)
#1

Code:
  //Army base
    CreateObject(987,-1453.50000000,481.89999390,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
	CreateObject(987,-1433.19995117,291.89999390,6.19999981,0.00000000,0.00000000,179.99993896); //object(elecfence_bar) (2)
	CreateObject(987,-1622.90002441,260.39999390,6.19999981,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (3)
	CreateObject(987,-1321.69995117,481.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
	CreateObject(970,-1321.50000000,483.89999390,7.50000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (1)
	CreateObject(970,-1321.50000000,483.89941406,6.61000013,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (2)
	CreateObject(970,-1321.50000000,483.89941406,8.39999962,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (3)
	CreateObject(970,-1321.50000000,483.89941406,9.00000000,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (4)
	CreateObject(970,-1321.50000000,483.89941406,9.60000038,0.00000000,0.00000000,90.00000000); //object(fencesmallb) (5)
    ArmyGate = CreateObject(971,-1530.15380859,482.34051514,8.83757210,0.00000000,0.00000000,179.26562500); //object(gate)(1)
	CreateObject(987,-1506.69995117,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (1)
	CreateObject(987,-1494.69995117,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (2)
	CreateObject(987,-1482.69995117,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (3)
	CreateObject(987,-1470.69995117,481.50000000,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (4)
	CreateObject(987,-1463.39941406,481.59960938,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (5)
	CreateObject(987,-1445.09997559,481.79998779,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (6)
	CreateObject(987,-1433.19995117,481.70001221,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (7)
	CreateObject(987,-1421.50000000,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (8)
	CreateObject(987,-1409.59997559,481.50000000,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (9)
	CreateObject(987,-1397.80004883,481.50000000,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (10)
	CreateObject(987,-1386.00000000,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (11)
	CreateObject(987,-1374.19995117,481.50000000,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (12)
	CreateObject(987,-1362.30004883,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (13)
	CreateObject(987,-1315.50000000,481.70001221,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (17)
	CreateObject(987,-1303.69995117,481.70001221,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (18)
	CreateObject(987,-1291.80004883,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (19)
	CreateObject(987,-1280.09997559,481.29998779,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (20)
	CreateObject(987,-1268.19995117,481.20001221,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (21)
	CreateObject(987,-1256.30004883,481.29998779,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (22)
	CreateObject(987,-1246.50000000,481.60000610,6.30000019,0.00000000,0.00000000,0.00000000); //object(elecfence_bar) (23)
	CreateObject(987,-1234.40002441,481.50000000,6.19999981,0.00000000,0.00000000,316.50000000); //object(elecfence_bar) (24)
	CreateObject(987,-1228.69995117,476.60000610,6.19999981,0.00000000,0.00000000,313.99960327); //object(elecfence_bar) (27)
	CreateObject(987,-1220.50000000,468.10000610,6.19999981,0.00000000,0.00000000,270.99475098); //object(elecfence_bar) (28)
	CreateObject(987,-1220.40002441,456.20001221,6.19999981,0.00000000,0.00000000,269.24426270); //object(elecfence_bar) (29)
	CreateObject(987,-1220.50000000,448.70001221,6.19999981,0.00000000,0.00000000,269.74194336); //object(elecfence_bar) (30)
	CreateObject(987,-1238.50000000,433.89941406,6.19999981,0.00000000,0.00000000,180.98327637); //object(elecfence_bar) (32)
	CreateObject(987,-1250.30004883,433.70001221,6.19999981,0.00000000,0.00000000,180.98327637); //object(elecfence_bar) (33)
	CreateObject(987,-1262.40002441,433.60000610,6.19999981,0.00000000,0.00000000,179.98327637); //object(elecfence_bar) (34)
	CreateObject(987,-1274.30004883,433.70001221,6.19999981,0.00000000,0.00000000,179.97802734); //object(elecfence_bar) (35)
	CreateObject(987,-1286.19995117,433.79998779,6.19999981,0.00000000,0.00000000,179.97802734); //object(elecfence_bar) (36)
	CreateObject(987,-1298.09997559,434.00000000,6.19999981,0.00000000,0.00000000,179.97802734); //object(elecfence_bar) (37)
	CreateObject(987,-1309.90002441,433.89999390,6.19999981,0.00000000,0.00000000,179.97253418); //object(elecfence_bar) (38)
	CreateObject(3884,-1522.50000000,485.39941406,9.60000038,0.00000000,0.00000000,0.00000000); //object(samsite_sfxrf) (1)
	CreateObject(973,-1339.90002441,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (2)
	CreateObject(973,-1349.09997559,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (3)
	CreateObject(973,-1358.30004883,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (4)
	CreateObject(973,-1367.59997559,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (5)
	CreateObject(973,-1377.19995117,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (6)
	CreateObject(973,-1386.50000000,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (7)
	CreateObject(973,-1395.69995117,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (8)
	CreateObject(973,-1405.00000000,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (9)
	CreateObject(973,-1414.30004883,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (10)
	CreateObject(973,-1423.50000000,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (11)
	CreateObject(973,-1432.59997559,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (12)
	CreateObject(973,-1441.90002441,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (13)
	CreateObject(973,-1450.90002441,433.79998779,7.00000000,0.00000000,0.00000000,0.00000000); //object(sub_roadbarrier) (14)
	CreateObject(973,-1455.40002441,429.20001221,7.00000000,0.00000000,0.00000000,89.75000000); //object(sub_roadbarrier) (18)
	CreateObject(973,-1455.40002441,424.20001221,7.00000000,0.00000000,0.00000000,89.74731445); //object(sub_roadbarrier) (19)
	CreateObject(973,-1450.80004883,419.50000000,7.00000000,0.00000000,359.75000000,179.24731445); //object(sub_roadbarrier) (22)
	CreateObject(973,-1441.50000000,419.50000000,7.00000000,0.00000000,359.74731445,181.24194336); //object(sub_roadbarrier) (23)
	CreateObject(973,-1432.19995117,419.60000610,7.00000000,0.00000000,359.74731445,180.24145508); //object(sub_roadbarrier) (24)
	CreateObject(973,-1423.00000000,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (25)
	CreateObject(973,-1413.69995117,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (26)
	CreateObject(973,-1404.50000000,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (27)
	CreateObject(973,-1395.19995117,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (28)
	CreateObject(973,-1386.09997559,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (29)
	CreateObject(973,-1377.00000000,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (30)
	CreateObject(973,-1368.09997559,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (31)
	CreateObject(973,-1358.09997559,419.29998779,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (32)
	CreateObject(973,-1348.90002441,419.29998779,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (33)
	CreateObject(973,-1340.30004883,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (34)
	CreateObject(973,-1327.79980469,406.50000000,7.00000000,0.00000000,359.74731445,90.23071289); //object(sub_roadbarrier) (35)
	CreateObject(973,-1338.30004883,419.50000000,7.00000000,0.00000000,359.74731445,180.23620605); //object(sub_roadbarrier) (39)
	CreateObject(973,-1327.80004883,411.10000610,7.00000000,0.00000000,359.74731445,90.23071289); //object(sub_roadbarrier) (40)
	CreateObject(973,-1340.30004883,398.20001221,7.00000000,0.00000000,359.74731445,359.48071289); //object(sub_roadbarrier) (41)
	CreateObject(973,-1348.00000000,398.20001221,7.00000000,0.00000000,359.74731445,359.47814941); //object(sub_roadbarrier) (42)
	CreateObject(973,-1357.30004883,398.29998779,7.00000000,0.00000000,359.74731445,359.47814941); //object(sub_roadbarrier) (43)
	CreateObject(973,-1366.50000000,398.39999390,7.00000000,0.00000000,359.74731445,359.47814941); //object(sub_roadbarrier) (44)
	CreateObject(973,-1375.80004883,398.50000000,7.00000000,0.00000000,359.74731445,359.47814941); //object(sub_roadbarrier) (45)
	CreateObject(973,-1384.90002441,398.50000000,7.00000000,0.00000000,359.74731445,1.22814941); //object(sub_roadbarrier) (46)
	CreateObject(973,-1394.00000000,398.29998779,7.00000000,0.00000000,359.74731445,1.22497559); //object(sub_roadbarrier) (47)
	CreateObject(973,-1403.09997559,398.20001221,7.00000000,0.00000000,359.74731445,359.97497559); //object(sub_roadbarrier) (48)
	CreateObject(973,-1412.30004883,398.20001221,7.00000000,0.00000000,359.74731445,359.97253418); //object(sub_roadbarrier) (49)
	CreateObject(973,-1421.59997559,398.20001221,7.00000000,0.00000000,359.74731445,359.97253418); //object(sub_roadbarrier) (50)
	CreateObject(973,-1431.00000000,398.20001221,7.00000000,0.00000000,359.74731445,359.97253418); //object(sub_roadbarrier) (51)
	CreateObject(973,-1440.19995117,398.20001221,7.00000000,0.00000000,359.74731445,359.97253418); //object(sub_roadbarrier) (52)
	CreateObject(973,-1449.40002441,398.10000610,7.00000000,0.00000000,359.74731445,359.97253418); //object(sub_roadbarrier) (53)
	CreateObject(973,-1450.59997559,398.10000610,7.00000000,0.00000000,359.74731445,359.97253418); //object(sub_roadbarrier) (54)
	CreateObject(973,-1455.40002441,393.50000000,7.00000000,0.00000000,359.74731445,90.00000000); //object(sub_roadbarrier) (62)
	CreateObject(973,-1455.40002441,388.70001221,7.00000000,0.00000000,359.74731445,90.00000000); //object(sub_roadbarrier) (63)
	CreateObject(973,-1450.80004883,383.79998779,7.00000000,0.00000000,359.74731445,180.00000000); //object(sub_roadbarrier) (72)
	CreateObject(973,-1441.80004883,383.79998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (73)
	CreateObject(973,-1432.59997559,383.70001221,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (74)
	CreateObject(973,-1423.40002441,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (75)
	CreateObject(973,-1414.19995117,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (76)
	CreateObject(973,-1405.00000000,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (77)
	CreateObject(973,-1395.69995117,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (78)
	CreateObject(973,-1386.50000000,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (79)
	CreateObject(973,-1377.30004883,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (80)
	CreateObject(973,-1368.19995117,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (81)
	CreateObject(973,-1358.90002441,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (82)
	CreateObject(973,-1340.40002441,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (84)
	CreateObject(973,-1349.80004883,383.60000610,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (86)
	CreateObject(973,-1327.90002441,376.10000610,7.00000000,0.00000000,359.74731445,90.00000000); //object(sub_roadbarrier) (88)
	CreateObject(973,-1340.59997559,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (89)
	CreateObject(973,-1327.89941406,370.39941406,7.00000000,0.00000000,359.74731445,90.00000000); //object(sub_roadbarrier) (90)
	CreateObject(973,-1347.69995117,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (91)
	CreateObject(973,-1356.90002441,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (92)
	CreateObject(973,-1365.90002441,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (93)
	CreateObject(973,-1375.19995117,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (94)
	CreateObject(973,-1384.30004883,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (95)
	CreateObject(973,-1393.59997559,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (96)
	CreateObject(973,-1402.80004883,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (97)
	CreateObject(973,-1412.00000000,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (98)
	CreateObject(973,-1421.30004883,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (99)
	CreateObject(973,-1430.50000000,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (100)
	CreateObject(973,-1439.80004883,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (101)
	CreateObject(973,-1449.09997559,362.39999390,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (102)
	CreateObject(973,-1455.50000000,357.79998779,7.00000000,0.00000000,359.74731445,90.00000000); //object(sub_roadbarrier) (103)
	CreateObject(973,-1450.79980469,362.39941406,7.00000000,0.00000000,359.74731445,0.00000000); //object(sub_roadbarrier) (104)
	CreateObject(973,-1455.50000000,353.10000610,7.00000000,0.00000000,359.74731445,90.25000000); //object(sub_roadbarrier) (105)
	CreateObject(973,-1450.90002441,348.29998779,7.00000000,0.00000000,359.74731445,180.00000000); //object(sub_roadbarrier) (106)
	CreateObject(973,-1441.80004883,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (107)
	CreateObject(973,-1432.69995117,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (108)
	CreateObject(973,-1423.50000000,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (109)
	CreateObject(973,-1414.19995117,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (110)
	CreateObject(973,-1405.00000000,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (111)
	CreateObject(973,-1395.90002441,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (112)
	CreateObject(973,-1386.69995117,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (113)
	CreateObject(973,-1377.59997559,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (114)
	CreateObject(973,-1368.40002441,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (115)
	CreateObject(973,-1359.19995117,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (116)
	CreateObject(973,-1350.09997559,348.29998779,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (117)
	CreateObject(973,-1327.80004883,340.20001221,7.00000000,0.00000000,359.74731445,91.49450684); //object(sub_roadbarrier) (118)
	CreateObject(973,-1340.69921875,348.39941406,7.00000000,0.00000000,359.74731445,179.99450684); //object(sub_roadbarrier) (119)
	CreateObject(973,-1327.69995117,331.29998779,7.00000000,0.00000000,359.74731445,89.74414062); //object(sub_roadbarrier) (120)
	CreateObject(973,-1327.69995117,322.20001221,7.00000000,0.00000000,359.74731445,89.74182129); //object(sub_roadbarrier) (121)
	CreateObject(973,-1327.80004883,313.20001221,7.00000000,0.00000000,359.74731445,89.99182129); //object(sub_roadbarrier) (122)
	CreateObject(973,-1327.80004883,310.50000000,7.00000000,0.00000000,359.74731445,89.98901367); //object(sub_roadbarrier) (123)
	CreateObject(973,-1331.19995117,302.50000000,7.00000000,0.00000000,359.74731445,44.98901367); //object(sub_roadbarrier) (124)
	CreateObject(973,-1337.69995117,296.10000610,7.00000000,0.00000000,359.74731445,44.98352051); //object(sub_roadbarrier) (125)
	CreateObject(973,-1346.19995117,292.10000610,7.00000000,0.00000000,359.74731445,0.98352051); //object(sub_roadbarrier) (126)
	CreateObject(973,-1338.30004883,295.50000000,7.00000000,0.00000000,359.74731445,44.98352051); //object(sub_roadbarrier) (127)
	CreateObject(973,-1355.30004883,292.00000000,7.00000000,0.00000000,359.74731445,0.98327637); //object(sub_roadbarrier) (128)
	CreateObject(973,-1364.19995117,291.89999390,7.00000000,0.00000000,359.74731445,0.98327637); //object(sub_roadbarrier) (129)
	CreateObject(973,-1373.19995117,291.79998779,7.00000000,0.00000000,359.74731445,0.98327637); //object(sub_roadbarrier) (130)
	CreateObject(973,-1382.30004883,291.70001221,7.00000000,0.00000000,359.74731445,0.98327637); //object(sub_roadbarrier) (131)
	CreateObject(973,-1391.19995117,291.70001221,7.00000000,0.00000000,359.74731445,0.98327637); //object(sub_roadbarrier) (132)
	CreateObject(973,-1400.30004883,291.70001221,7.00000000,0.00000000,359.74731445,0.98327637); //object(sub_roadbarrier) (133)
	CreateObject(973,-1409.50000000,291.70001221,7.00000000,0.00000000,359.74731445,359.98327637); //object(sub_roadbarrier) (134)
	CreateObject(987,-1414.30004883,291.89999390,6.19999981,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (5)
	CreateObject(987,-1444.80004883,292.00000000,6.19999981,0.00000000,359.00000000,269.49450684); //object(elecfence_bar) (5)
	CreateObject(987,-1426.29980469,292.09960938,6.19999981,0.00000000,0.00000000,179.99450684); //object(elecfence_bar) (5)
	CreateObject(987,-1444.90002441,280.10000610,6.19999981,0.00000000,358.99475098,269.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1444.90002441,260.29998779,6.19999981,0.00000000,358.99475098,179.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1444.79980469,272.39941406,6.19999981,0.00000000,358.99475098,269.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1456.69995117,260.20001221,6.19999981,0.00000000,358.99475098,179.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1468.40002441,260.10000610,6.19999981,0.00000000,358.99475098,179.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1480.30004883,260.10000610,6.19999981,0.00000000,358.99475098,179.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1492.09997559,259.89999390,6.19999981,0.00000000,358.99475098,179.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1504.00000000,259.79998779,6.19999981,0.00000000,359.99475098,179.48913574); //object(elecfence_bar) (5)
	CreateObject(987,-1515.80004883,259.89999390,6.19999981,0.00000000,359.99450684,180.23913574); //object(elecfence_bar) (5)
	CreateObject(987,-1527.69995117,260.10000610,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1539.59997559,260.20001221,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1551.30004883,260.20001221,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1563.09997559,260.20001221,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1574.90002441,260.39999390,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1586.59997559,260.39999390,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1598.40002441,260.20001221,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1610.09997559,260.10000610,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1612.19995117,260.00000000,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1630.30004883,260.10000610,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1642.19995117,260.10000610,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1653.80004883,260.29998779,6.19999981,0.00000000,359.98352051,180.23071289); //object(elecfence_bar) (5)
	CreateObject(987,-1665.59997559,260.29998779,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1677.50000000,260.20001221,6.19999981,0.00000000,359.98901367,180.73620605); //object(elecfence_bar) (5)
	CreateObject(987,-1688.90002441,259.79998779,6.19999981,0.00000000,359.98901367,180.73620605); //object(elecfence_bar) (5)
	CreateObject(987,-1699.80004883,260.00000000,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(987,-1733.30004883,263.00000000,6.19999981,0.00000000,0.00000000,348.00000000); //object(elecfence_bar) (68)
	CreateObject(987,-1709.90002441,260.20001221,6.19999981,0.00000000,359.98901367,180.23620605); //object(elecfence_bar) (5)
	CreateObject(7090,-1355.59997559,488.10000610,26.60000038,0.00000000,0.00000000,269.99996948); //object(vegasflag1) (2)
	CreateObject(7090,-1345.59997559,488.10000610,26.60000038,0.00000000,0.00000000,269.99450684); //object(vegasflag1) (3)
	CreateObject(987,-1315.19995117,433.70001221,6.19999981,0.00000000,0.00000000,179.97253418); //object(elecfence_bar) (38)
	CreateObject(5130,-1334.90002441,478.70001221,8.19999981,0.00000000,0.00000000,226.00000000); //object(imcompstrs02) (1)
	CreateObject(1985,-1477.59997559,428.10000610,9.00000000,0.00000000,0.00000000,0.00000000); //object(punchbagnu) (1)
	CreateObject(1985,-1477.50000000,432.00000000,9.00000000,0.00000000,0.00000000,0.00000000); //object(punchbagnu) (2)
	CreateObject(12912,-1548.50000000,316.20001221,64.00000000,0.00000000,0.00000000,0.00000000); //object(sw_silo04) (1)
	CreateObject(12912,-1493.09997559,320.70001221,64.00000000,0.00000000,0.00000000,0.00000000); //object(sw_silo04) (2)
	CreateObject(16644,-1330.30004883,424.70001221,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (1)
	CreateObject(16644,-1332.69995117,424.70001221,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (2)
	CreateObject(16644,-1330.30004883,355.79998779,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (3)
	CreateObject(16644,-1333.30004883,391.20001221,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (4)
	CreateObject(16644,-1330.69995117,387.20001221,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (5)
	CreateObject(16644,-1333.40002441,386.39999390,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (6)
	CreateObject(16644,-1330.69921875,391.19921875,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (7)
	CreateObject(16644,-1332.80004883,355.89999390,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (8)
	CreateObject(16644,-1332.80004883,352.20001221,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (9)
	CreateObject(16644,-1330.30004883,351.79998779,6.30000019,0.00000000,0.00000000,90.00000000); //object(a51_ventsouth) (10)
	CreateObject(14780,-1463.30004883,425.89999390,7.09999990,0.00000000,0.00000000,0.00000000); //object(in_bxing04) (1)
	CreateObject(2627,-1474.19995117,440.39999390,6.19999981,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (1)
	CreateObject(2627,-1472.19995117,440.39999390,6.19999981,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (2)
	CreateObject(2627,-1469.59997559,440.39999390,6.19999981,0.00000000,0.00000000,0.00000000); //object(gym_treadmill) (3)
	CreateObject(2628,-1467.09997559,439.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(gym_bench2) (1)
	CreateObject(2628,-1465.30004883,439.79998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(gym_bench2) (2)
	CreateObject(2630,-1463.00000000,440.20001221,6.19999981,0.00000000,0.00000000,0.00000000); //object(gym_bike) (1)
	CreateObject(3268,-1234.90002441,455.89999390,6.19999981,0.00000000,0.00000000,0.00000000); //object(mil_hangar1_) (1)
	CreateObject(3268,-1536.00000000,425.60000610,6.19999981,0.00000000,0.00000000,0.00000000); //object(mil_hangar1_) (2)
	CreateObject(3268,-1576.80004883,369.29998779,6.19999981,0.00000000,0.00000000,270.00000000); //object(mil_hangar1_) (3)
	CreateObject(3268,-1660.59997559,271.29998779,6.19999981,0.00000000,0.00000000,270.00000000); //object(mil_hangar1_) (4)
	CreateObject(974,-1518.40002441,488.60000610,12.60000038,0.00000000,0.00000000,90.00000000); //object(tall_fence) (2)
	CreateObject(974,-1525.80004883,488.50000000,12.60000038,0.00000000,0.00000000,90.00000000); //object(tall_fence) (3)
	CreateObject(974,-1522.50000000,491.89941406,12.60000038,0.00000000,0.00000000,0.00000000); //object(tall_fence) (4)
	CreateObject(974,-1521.69995117,492.00000000,12.60000038,0.00000000,0.00000000,0.00000000); //object(tall_fence) (5)
	CreateObject(974,-1525.80004883,485.00000000,12.60000038,0.00000000,0.00000000,90.00000000); //object(tall_fence) (6)
	CreateObject(974,-1518.50000000,485.10000610,12.60000038,0.00000000,0.00000000,90.00000000); //object(tall_fence) (7)
	CreateObject(987,-1220.69995117,437.39999390,6.19999981,0.00000000,0.00000000,197.23645020); //object(elecfence_bar) (31)
	CreateObject(987,-1232.00000000,434.00000000,6.19999981,0.00000000,0.00000000,180.98327637); //object(elecfence_bar) (32)
	CreateObject(2886,-1429.00000000,488.39999390,3.20000005,0.00000000,0.00000000,180.00000000); //object(sec_keypad) (1)
	CreateObject(3279,-1541.00000000,474.29998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1)
	CreateObject(3279,-1699.79980469,288.89941406,6.19999981,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (2)
	CreateObject(3279,-1639.00000000,352.00000000,6.19999981,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3)
	CreateObject(3279,-1578.30004883,267.29998779,6.19999981,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (4)
For Army Gate Please add this in top of your script
Code:
new ArmyGate;
new ArmyGateOpen =0;
Then add this in with your forwards
Code:
forward ArmyGatesOpen();
forward ArmyGatesClose();
Then add this in with your timers
Code:
SetTimer("ArmyGatesOpen",1000,1);
Add this in your end of your script
Code:
public ArmyGatesOpen()
{
    for(new i=0; i<MAX_PLAYERS; i++)
	{
        if(PlayerToPoint(10.0, i, -1530.15380859,482.34051514,8.83757210) && ArmyGateOpen == 0)
        {
            if(gTeam[i] == TEAM_ARMY)
            {
	        	MoveObject(ArmyGate, -1540.15380859,482.34051514,8.83757210, 5);
				ArmyGateOpen =1;
				SetTimer("ArmyGatesClose",7000,0);
			}
        }
    }
}
After that add this
Code:
public ArmyGatesClose()
{
    MoveObject(ArmyGate, -1530.15380859,482.34051514,8.83757210, 5);
	ArmyGateOpen =0;
}
And If You want the ship gate also then add this
Code:
new ShipGate;
new ShipGateOpen =0;
Same with rest of your forwards
Code:
forward ShipGatesOpen();
forward ShipGatesClose();
Add this under gamemodeinit


Code:
ShipGate = CreateObject(3113,-1465.59997559,501.00000000,1.00000000,0.00000000,0.00000000,0.00000000); //object(carrier_door_sfse) (1)
Add this timer
Code:
SetTimer("ShipGatesOpen",1000,1);
And put this in the end of your script
Code:
public ShipGatesOpen()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(PlayerToPoint(10.0, i, -1465.59997559,501.00000000,1.00000000) && ShipGateOpen == 0)
        {
            if(gTeam[i] == TEAM_ARMY)
            {
                MoveObject(ShipGate, -1465.59960938,501.00000000,10.00000000, 6);
                ShipGateOpen =1;
                SetTimer("ShipGatesClose",7000,0);
            }
        }
    }
}

public ShipGatesClose()
{
     MoveObject(ShipGate, -1465.59997559,501.00000000,1.00000000, 6);
     ShipGateOpen =0;
}
Here's is a video [ame="http://www.youtube.com/watch?v=ai8T55FBPSg&list=FLg2so9TlCtSs7bvurA5fsxA& index=1&feature=plpp_video"]http://www.youtube.com/watch?v=ai8T55FBPSg&list=FLg2so9TlCtSs7bvurA5fsxA& index=1&feature=plpp_video[/ame]

Please I can't give the sidelift and lift codes
And rep me if u like it .. Please This is my first release .. Hope U like it

And Please If you don't know how to make team .. Then see this http://weedarr.wikidot.com/teams
The team name should be : TEAM_ARMY .. To let the gates work properly ..U can change the name if U want
Reply
#2

Comments plz
Reply
#3

No comments ......................
Reply
#4

Not Bad ! But I don't like what you did on the roof , unreal for me .
Reply
#5

Nice! .
Reply
#6

Quote:
Originally Posted by Michael_Cruise
View Post
Please I can't give the sidelift and lift codes
And rep me if u like it .. Please This is my first release .. Hope U like it
The base is AWSUM and I will use it but can you please give me the sidelift and lift codes? Please that would be really nice since I am a nub at scripting
Reply
#7

Nice Mic From TT CnR
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)