Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* PLEASE READ THIS PLEASE READ THIS PLEASE READ THIS
- PLEASE READ THIS PLEASE READ THIS PLEASE READ THIS
- I have made some lines ignored so you can un-ignore them in your script and add the restrictions.
- Jail spawn coords (x,y,z,facing angle):
- 1: 1348.3336,-1641.1874,17.8859, 271.0785
- 2: 1355.3071,-1641.3607,17.8859,93.6285
- 3: 1355.2693,-1638.0983,17.8859,90.9330
- 4: 1348.3010,-1637.8019,17.8859,270.8531
- 5: 1348.5400,-1634.1970,17.8859,269.2240
- 6: 1354.6405,-1633.9059,17.8859,95.8495 */
- #define DIALOG_SWATLSWEAP 1820 // random dialog ID number.
- new LSsg;
- new IsLSsgOpened;
- new SWATLSEnterPick, SWATLSExitPick, SWATLSWeapon;
- new SWATLSVeh1, SWATLSVeh2, SWATLSVeh3, SWATLSVeh4, SWATLSVeh5, SWATLSVeh6, SWATLSVeh7, SWATLSVeh8;
- new SWATLSVeh9, SWATLSVeh10, SWATLSVeh11, SWATLSVeh12, SWATLSVeh13, SWATLSVeh14, SWATLSVeh15, SWATLSVeh16;
- new SWATLSVeh17, SWATLSVeh18, SWATLSVeh19, SWATLSVeh20, SWATLSVeh21, SWATLSVeh22, SWATLSVeh23, SWATLSVeh24;
- new SWATLSVeh25, SWATLSVeh26, SWATLSVeh27, SWATLSVeh28;
- public OnFilterScriptInit() // or OnGamemodeInIt
- {
- SWATLSEnterPick = CreatePickup(1318,23,1351.7141,-1663.7690,17.7266,0);
- SWATLSExitPick = CreatePickup(1318,23,1351.8358,-1662.5436,17.8859,0);
- SWATLSWeapon = CreatePickup(1277,23,1354.8234,-1645.4679,17.8859,0);
- SWATLSVeh1 = AddStaticVehicleEx(427,1363.80004883,-1658.59997559,13.60000038,270.00000000,0,0,240); //Enforcer
- SWATLSVeh2 = AddStaticVehicleEx(427,1363.80004883,-1651.09997559,13.60000038,270.00000000,0,0,240); //Enforcer
- SWATLSVeh3 = AddStaticVehicleEx(427,1363.80004883,-1643.19995117,13.60000038,270.00000000,0,0,240); //Enforcer
- SWATLSVeh4 = AddStaticVehicleEx(427,1363.80004883,-1635.50000000,13.60000038,270.00000000,0,0,240); //Enforcer
- SWATLSVeh5 = AddStaticVehicleEx(497,1333.40002441,-1632.40002441,23.10000038,270.00000000,0,0,240); //Police Maverick
- SWATLSVeh6 = AddStaticVehicleEx(497,1333.40002441,-1643.80004883,23.10000038,270.00000000,0,0,240); //Police Maverick
- SWATLSVeh7 = AddStaticVehicleEx(563,1335.00000000,-1665.09997559,23.70000076,320.00000000,1,0,240); //Raindance
- SWATLSVeh8 = AddStaticVehicleEx(601,1378.19995117,-1696.59997559,13.50000000,350.00000000,-1,-1,240); //S.W.A.T. Van
- SWATLSVeh9 = AddStaticVehicleEx(601,1383.30004883,-1692.50000000,13.50000000,359.99694824,-1,-1,240); //S.W.A.T. Van
- SWATLSVeh10 = AddStaticVehicleEx(560,1366.30004883,-1680.50000000,13.30000019,0.00000000,0,1,240); //Sultan
- SWATLSVeh11 = AddStaticVehicleEx(560,1366.19995117,-1674.19995117,13.30000019,0.00000000,0,1,240); //Sultan
- SWATLSVeh12 = AddStaticVehicleEx(560,1362.59997559,-1680.50000000,13.30000019,0.00000000,0,1,240); //Sultan
- SWATLSVeh13 = AddStaticVehicleEx(560,1362.50000000,-1674.19995117,13.30000019,0.00000000,0,1,240); //Sultan
- SWATLSVeh14 = AddStaticVehicleEx(602,1356.19995117,-1672.90002441,13.50000000,310.00000000,0,1,240); //Alpha
- SWATLSVeh15 = AddStaticVehicleEx(602,1356.00000000,-1668.09997559,13.50000000,310.00000000,0,1,240); //Alpha
- SWATLSVeh16 = AddStaticVehicleEx(451,1355.40002441,-1629.69995117,13.39999962,268.00000000,0,1,240); //Turismo
- SWATLSVeh17 = AddStaticVehicleEx(451,1355.40002441,-1626.30004883,13.39999962,267.99499512,0,1,240); //Turismo
- SWATLSVeh18 = AddStaticVehicleEx(522,1381.59997559,-1630.69995117,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh19 = AddStaticVehicleEx(522,1384.90002441,-1630.69995117,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh20 = AddStaticVehicleEx(522,1388.40002441,-1630.69995117,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh21 = AddStaticVehicleEx(522,1391.69995117,-1630.69995117,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh22 = AddStaticVehicleEx(522,1381.50000000,-1628.19995117,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh23 = AddStaticVehicleEx(522,1384.90002441,-1628.19995117,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh24 = AddStaticVehicleEx(522,1388.30004883,-1628.30004883,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh25 = AddStaticVehicleEx(522,1391.59997559,-1628.30004883,13.19999981,90.00000000,0,1,240); //NRG-500
- SWATLSVeh26 = AddStaticVehicleEx(579,1374.50000000,-1615.19995117,13.60000038,80.00000000,0,-1,240); //Huntley
- SWATLSVeh27 = AddStaticVehicleEx(579,1380.80004883,-1616.30004883,13.60000038,79.99694824,0,-1,240); //Huntley
- SWATLSVeh28 = AddStaticVehicleEx(579,1387.59997559,-1617.59997559,13.60000038,79.99694824,0,-1,240); //Huntley
- CreateDynamicObject(987,1413.00000000,-1661.59997559,12.39999962,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (1)
- CreateDynamicObject(987,1413.00000000,-1661.59997559,17.20000076,0.00000000,0.00000000,90.00000000); //object(elecfence_bar) (2)
- LSsg = CreateDynamicObject(971,1413.19995117,-1645.30004883,15.89999962,0.00000000,0.00000000,90.00000000); //object(subwaygate) (1)
- CreateDynamicObject(984, 1413.20, -1643.30, 20.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(984, 1413.20, -1643.30, 21.40, 0.00, 0.00, 0.00);
- CreateDynamicObject(984, 1413.20, -1643.30, 22.70, 0.00, 0.00, 0.00);
- CreateDynamicObject(971, 1413.30, -1640.00, 15.90, 0.00, 0.00, 90.00);
- CreateDynamicObject(972, 1358.00, -1609.80, 7.50, 0.00, 0.00, 86.00);
- CreateDynamicObject(972, 1381.10, -1612.10, 11.80, 0.00, 0.00, 83.99);
- CreateDynamicObject(972, 1341.30, -1608.30, 11.80, 0.00, 0.00, 83.99);
- CreateDynamicObject(972, 1362.20, -1702.40, 7.50, 0.00, 0.00, 270.00);
- CreateDynamicObject(972, 1337.30, -1702.40, 12.30, 0.00, 0.00, 270.00);
- CreateDynamicObject(972, 1384.10, -1697.90, 12.20, 0.00, 0.00, 300.00);
- CreateDynamicObject(972, 1384.10, -1697.90, 15.30, 0.00, 0.00, 300.00);
- CreateDynamicObject(972, 1362.20, -1702.40, 14.70, 0.00, 0.00, 270.00);
- CreateDynamicObject(8615, 1348.40, -1664.10, 15.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(19362, 1356.50, -1661.40, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1356.50, -1658.20, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1661.40, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1658.20, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1354.90, -1663.00, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1663.00, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19360, 1354.90, -1661.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1351.70, -1661.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1348.50, -1661.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1348.50, -1657.70, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1351.70, -1657.70, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1354.90, -1657.70, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(1506, 1350.92, -1663.00, 16.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(19391, 1351.70, -1663.00, 18.50, 0.00, 0.00, 90.00);
- CreateDynamicObject(1726, 1355.30, -1662.40, 16.80, 0.00, 0.00, 180.00);
- CreateDynamicObject(1726, 1350.20, -1662.40, 16.80, 0.00, 0.00, 179.99);
- CreateDynamicObject(1726, 1353.30, -1660.00, 16.80, 0.00, 0.00, 359.99);
- CreateDynamicObject(1726, 1348.20, -1660.00, 16.80, 0.00, 0.00, 359.99);
- CreateDynamicObject(1775, 1355.90, -1658.70, 18.00, 0.00, 0.00, 270.00);
- CreateDynamicObject(19360, 1354.90, -1654.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1351.70, -1654.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1348.50, -1654.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1348.50, -1650.70, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1351.70, -1650.70, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1354.90, -1650.70, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1356.50, -1655.00, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1655.00, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1356.50, -1651.80, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1651.80, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1354.80, -1656.40, 16.30, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1351.60, -1656.40, 16.30, 0.00, 0.00, 269.99);
- CreateDynamicObject(19391, 1348.60, -1656.40, 18.50, 0.00, 0.00, 90.00);
- CreateDynamicObject(2165, 1353.90, -1655.90, 16.90, 0.00, 0.00, 179.99);
- CreateDynamicObject(2165, 1351.90, -1655.90, 16.90, 0.00, 0.00, 179.99);
- CreateDynamicObject(19435, 1351.90, -1656.40, 19.50, 90.00, 90.00, 0.00);
- CreateDynamicObject(19435, 1354.70, -1656.40, 19.50, 90.00, 90.00, 0.00);
- CreateDynamicObject(1502, 1347.80, -1656.40, 16.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2172, 1354.60, -1652.80, 16.90, 0.00, 0.00, 180.00);
- CreateDynamicObject(2172, 1352.70, -1652.80, 16.90, 0.00, 0.00, 179.99);
- CreateDynamicObject(2172, 1350.80, -1652.80, 16.90, 0.00, 0.00, 179.99);
- CreateDynamicObject(2172, 1349.80, -1650.50, 16.90, 0.00, 0.00, 359.99);
- CreateDynamicObject(2172, 1351.70, -1650.50, 16.90, 0.00, 0.00, 359.99);
- CreateDynamicObject(2172, 1353.60, -1650.50, 16.90, 0.00, 0.00, 359.99);
- CreateDynamicObject(19360, 1354.90, -1647.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1351.70, -1647.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1348.50, -1647.20, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(1671, 1351.30, -1655.20, 17.30, 0.00, 0.00, 0.00);
- CreateDynamicObject(1671, 1353.30, -1655.20, 17.30, 0.00, 0.00, 0.00);
- CreateDynamicObject(1671, 1355.40, -1655.20, 17.30, 0.00, 0.00, 0.00);
- CreateDynamicObject(1671, 1354.20, -1652.60, 17.30, 0.00, 0.00, 0.00);
- CreateDynamicObject(1671, 1352.30, -1652.60, 17.30, 0.00, 0.00, 0.00);
- CreateDynamicObject(1671, 1350.40, -1652.60, 17.30, 0.00, 0.00, 0.00);
- CreateDynamicObject(1671, 1350.20, -1650.80, 17.30, 0.00, 0.00, 180.00);
- CreateDynamicObject(1671, 1352.10, -1650.80, 17.30, 0.00, 0.00, 179.99);
- CreateDynamicObject(1671, 1354.00, -1650.80, 17.30, 0.00, 0.00, 179.99);
- CreateDynamicObject(2171, 1347.50, -1653.00, 16.90, 0.00, 0.00, 90.00);
- CreateDynamicObject(2171, 1347.50, -1651.60, 16.90, 0.00, 0.00, 90.00);
- CreateDynamicObject(2221, 1347.50, -1653.10, 17.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2223, 1347.50, -1652.50, 17.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2425, 1347.10, -1651.52, 17.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(2429, 1346.80, -1653.00, 17.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(2663, 1347.40, -1651.30, 17.90, 0.00, 0.00, 0.00);
- CreateDynamicObject(2663, 1347.40, -1651.10, 17.90, 0.00, 0.00, 0.00);
- CreateDynamicObject(2663, 1347.40, -1650.90, 17.90, 0.00, 0.00, 0.00);
- CreateDynamicObject(2647, 1347.60, -1651.30, 17.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2647, 1347.60, -1651.10, 17.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2647, 1347.60, -1650.90, 17.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(19362, 1356.50, -1648.60, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1354.90, -1647.40, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(2607, 1355.10, -1647.90, 17.30, 0.00, 0.00, 180.00);
- CreateDynamicObject(19362, 1346.90, -1648.60, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1645.40, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19360, 1348.50, -1645.50, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1351.70, -1645.50, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19360, 1354.90, -1645.50, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1356.50, -1645.40, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1356.50, -1642.20, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1642.20, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1354.80, -1643.70, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19391, 1351.60, -1643.70, 18.50, 0.00, 0.00, 90.00);
- CreateDynamicObject(19362, 1348.40, -1643.70, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1647.40, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(2607, 1353.10, -1647.90, 17.30, 0.00, 0.00, 179.99);
- CreateDynamicObject(2607, 1351.10, -1647.90, 17.30, 0.00, 0.00, 179.99);
- CreateDynamicObject(2611, 1351.30, -1647.60, 18.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2611, 1353.10, -1647.60, 18.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(2611, 1354.90, -1647.60, 18.80, 0.00, 0.00, 0.00);
- CreateDynamicObject(19357, 1354.90, -1642.00, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19357, 1351.70, -1642.00, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19357, 1348.50, -1642.00, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1356.50, -1639.00, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1354.80, -1640.20, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19357, 1354.90, -1638.50, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1354.80, -1636.70, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19357, 1351.70, -1638.50, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1356.50, -1635.90, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19357, 1354.90, -1635.00, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1356.50, -1634.80, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1354.90, -1633.20, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19357, 1351.70, -1635.00, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19357, 1348.50, -1635.00, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19357, 1348.50, -1638.50, 16.80, 0.00, 90.00, 90.00);
- CreateDynamicObject(19362, 1346.90, -1639.00, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1635.80, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1346.90, -1634.80, 18.50, 0.00, 0.00, 179.99);
- CreateDynamicObject(19362, 1348.50, -1633.20, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1633.20, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1348.60, -1640.20, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1348.60, -1636.70, 18.50, 0.00, 0.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1661.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1661.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1661.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1657.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1657.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1657.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1654.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1654.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1654.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1650.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1650.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1650.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1647.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1643.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1640.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1636.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1348.50, -1634.80, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1634.80, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1634.80, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1647.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1643.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1640.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1354.90, -1636.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1636.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1640.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1643.70, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(19362, 1351.70, -1647.20, 20.30, 0.00, 90.00, 269.99);
- CreateDynamicObject(972, 1358.00, -1609.80, 14.70, 0.00, 0.00, 86.00);
- CreateDynamicObject(972, 1381.10, -1612.10, 14.80, 0.00, 0.00, 83.99);
- CreateDynamicObject(972, 1337.30, -1702.40, 14.70, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1350.10, -1641.10, 18.10, 0.00, 0.00, 90.00);
- CreateDynamicObject(19303, 1350.10, -1642.80, 18.10, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1350.10, -1639.30, 18.10, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1350.10, -1635.80, 18.10, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1353.30, -1642.80, 18.10, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1353.30, -1639.30, 18.10, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1353.30, -1635.80, 18.10, 0.00, 0.00, 270.00);
- CreateDynamicObject(19303, 1353.30, -1634.10, 18.10, 0.00, 0.00, 90.00);
- CreateDynamicObject(19303, 1353.30, -1637.60, 18.10, 0.00, 0.00, 90.00);
- CreateDynamicObject(19303, 1353.30, -1641.10, 18.10, 0.00, 0.00, 90.00);
- CreateDynamicObject(19303, 1350.10, -1637.60, 18.10, 0.00, 0.00, 90.00);
- CreateDynamicObject(19303, 1350.10, -1634.10, 18.10, 0.00, 0.00, 90.00);
- CreateDynamicObject(1800, 1350.50, -1643.10, 16.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(1800, 1350.50, -1639.60, 16.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(1800, 1350.50, -1636.10, 16.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(1800, 1357.50, -1643.10, 16.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(1800, 1357.50, -1639.60, 16.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(1800, 1357.50, -1636.10, 16.70, 0.00, 0.00, 90.00);
- CreateDynamicObject(1744, 1353.50, -1643.60, 18.50, 0.00, 0.00, 0.00);
- CreateDynamicObject(1744, 1353.50, -1643.60, 17.70, 0.00, 0.00, 0.00);
- CreateDynamicObject(1744, 1354.70, -1647.50, 17.70, 0.00, 0.00, 180.00);
- CreateDynamicObject(1744, 1354.70, -1647.50, 18.50, 0.00, 0.00, 180.00);
- CreateDynamicObject(2000, 1352.80, -1644.30, 16.90, 0.00, 0.00, 0.00);
- CreateDynamicObject(2000, 1352.90, -1646.80, 16.90, 0.00, 0.00, 180.00);
- CreateDynamicObject(2000, 1352.40, -1646.80, 16.90, 0.00, 0.00, 179.99);
- CreateDynamicObject(2000, 1351.90, -1646.80, 16.90, 0.00, 0.00, 179.99);
- CreateDynamicObject(964, 1355.80, -1644.60, 16.90, 0.00, 0.00, 270.00);
- CreateDynamicObject(964, 1355.80, -1644.60, 17.80, 0.00, 0.00, 270.00);
- CreateDynamicObject(964, 1355.80, -1644.60, 18.70, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 17.00, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 17.20, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 17.40, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 17.60, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 17.80, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 18.00, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1645.70, 18.20, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 17.00, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 17.20, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 17.40, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 17.60, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 17.80, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 18.00, 0.00, 0.00, 270.00);
- CreateDynamicObject(2358, 1355.80, -1646.40, 18.20, 0.00, 0.00, 270.00);
- CreateDynamicObject(2035, 1355.40, -1645.80, 17.30, 0.00, 295.00, 0.00);
- CreateDynamicObject(2035, 1355.40, -1646.10, 17.30, 0.00, 295.00, 0.00);
- CreateDynamicObject(2035, 1355.40, -1646.40, 17.30, 0.00, 295.00, 0.00);
- CreateDynamicObject(2035, 1355.40, -1645.50, 17.30, 0.00, 295.00, 0.00);
- CreateDynamicObject(2035, 1355.40, -1646.70, 17.30, 0.00, 295.00, 0.00);
- CreateDynamicObject(2036, 1355.60, -1647.11, 16.77, 0.00, 0.00, 0.00);
- CreateDynamicObject(2036, 1354.70, -1647.10, 17.40, 0.00, 295.00, 270.00);
- CreateDynamicObject(2036, 1354.30, -1647.10, 17.40, 0.00, 295.00, 270.00);
- CreateDynamicObject(2036, 1353.90, -1647.10, 17.40, 0.00, 295.00, 270.00);
- CreateDynamicObject(2036, 1353.50, -1647.10, 17.40, 0.00, 295.00, 270.00);
- CreateDynamicObject(2044, 1353.20, -1644.00, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1353.60, -1644.00, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1354.00, -1644.00, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1354.40, -1644.00, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1354.90, -1647.10, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1354.50, -1647.10, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1354.10, -1647.10, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(2044, 1353.70, -1647.10, 18.10, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1353.50, -1647.10, 19.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1353.80, -1647.10, 19.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1354.10, -1647.10, 19.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1354.40, -1647.10, 19.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1354.70, -1647.10, 19.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1355.00, -1647.10, 19.00, 0.00, 0.00, 0.00);
- CreateDynamicObject(1242, 1354.80, -1644.00, 19.00, 0.00, 0.00, 180.00);
- CreateDynamicObject(1242, 1354.50, -1644.00, 19.00, 0.00, 0.00, 179.99);
- CreateDynamicObject(1242, 1354.20, -1644.00, 19.00, 0.00, 0.00, 179.99);
- CreateDynamicObject(1242, 1353.90, -1644.00, 19.00, 0.00, 0.00, 179.99);
- CreateDynamicObject(1242, 1353.60, -1644.00, 19.00, 0.00, 0.00, 179.99);
- CreateDynamicObject(1242, 1353.30, -1644.00, 19.00, 0.00, 0.00, 179.99);
- CreateDynamicObject(6976, 1344.10, -1646.30, 13.00, 0.00, 0.00, 270.00);
- CreateDynamicObject(973, 1359.80, -1683.90, 13.40, 0.00, 0.00, 0.00);
- CreateDynamicObject(973, 1358.20, -1683.90, 13.40, 0.00, 0.00, 0.00);
- CreateDynamicObject(973, 1358.10, -1619.00, 13.50, 0.00, 0.00, 180.00);
- CreateDynamicObject(973, 1359.90, -1619.00, 13.50, 0.00, 0.00, 179.99);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #endif
- CMD:sgls(playerid, o[])
- {
- #pragma unused o
- // if(gTeam{playerid} == TEAM_SWAT)
- // {
- if(IsLSsgOpened == 0)
- {
- MoveDynamicObject(LSsg,1413.30004883,-1640.00000000,15.89999962, 4.0);
- SendClientMessage(playerid, 0xFFFFFFFF, "The gate of SWAT base in Los Santos is now {00FF00}opening{FFFFFF}.");
- IsLSsgOpened =1;
- }
- else
- {
- MoveDynamicObject(LSsg,1413.19995117,-1645.30004883,15.89999962, 4.0);
- SendClientMessage(playerid, 0xFFFFFFFF, "The gate of SWAT base in Los Santos is now {FF0000}closing{FFFFFF}.");
- IsLSsgOpened =0;
- }
- // }
- // else return SendClientMessage(playerid, 0xFF0000FF, "You are not authorized to use this command.");
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- /*new GetPVehID = GetPlayerVehicleID(playerid);
- if(newstate == PLAYER_STATE_DRIVER)
- {
- if(GetPVehID == SWATLSVeh1 || GetPVehID == SWATLSVeh2 || GetPVehID == SWATLSVeh3 || GetPVehID == SWATLSVeh4 || GetPVehID == SWATLSVeh5 || GetPVehID == SWATLSVeh6 || GetPVehID == SWATLSVeh7 || GetPVehID == SWATLSVeh8 ||
- GetPVehID == SWATLSVeh9 || GetPVehID == SWATLSVeh10 || GetPVehID == SWATLSVeh11 || GetPVehID == SWATLSVeh12 || GetPVehID == SWATLSVeh13 || GetPVehID == SWATLSVeh14 || GetPVehID == SWATLSVeh15 || GetPVehID == SWATLSVeh16 ||
- GetPVehID == SWATLSVeh17 || GetPVehID == SWATLSVeh18 || GetPVehID == SWATLSVeh19 || GetPVehID == SWATLSVeh20 || GetPVehID == SWATLSVeh21 || SWATLSVeh22 || SWATLSVeh23 || SWATLSVeh24 ||
- GetPVehID == SWATLSVeh25 || GetPVehID == SWATLSVeh26 || GetPVehID == SWATLSVeh27 || GetPVehID == SWATLSVeh28)
- {
- if(gTeam{playerid} != TEAM_SWAT)
- {
- RemovePlayerFromVehicle(playerid);
- SendClientMessage(playerid, 0xFF0000FF, "You cannot use this vehicle.");
- }
- }
- }*/
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- if(pickupid == SWATLSEnterPick)
- {
- // if(gTeam{playerid} == TEAM_SWAT)
- // {
- SetPlayerPos(playerid, 1351.8336,-1660.2690,17.8859);
- SetPlayerFacingAngle(playerid, 0.0563);
- // }
- // else return SendClientMessage(playerid, 0xFF0000FF, "You are not allowed to use this pickup.");
- }
- if(pickupid == SWATLSExitPick)
- {
- // if(gTeam{playerid} == TEAM_SWAT)
- // {
- SetPlayerPos(playerid, 1347.7839,-1663.9242,15.8775);
- SetPlayerFacingAngle(playerid, 91.6258);
- // }
- // else return SendClientMessage(playerid, 0xFF0000FF, "You are not allowed to use this pickup.");
- }
- if(pickupid == SWATLSWeapon)
- {
- // if(gTeam{playerid} == TEAM_SWAT)
- // {
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- // }
- // else return SendClientMessage(playerid, 0xFF0000FF, "You are not allowed to use this pickup.");
- }
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_SWATLSWEAP)
- {
- // if(gTeam{playerid} == TEAM_SWAT)
- // {
- if(response)
- {
- switch (listitem)
- {
- case 0:
- {
- GivePlayerWeapon(playerid, 24, 500);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 1:
- {
- GivePlayerWeapon(playerid, 25, 200);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 2:
- {
- GivePlayerWeapon(playerid, 27, 500);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 3:
- {
- GivePlayerWeapon(playerid, 28, 500);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 4:
- {
- GivePlayerWeapon(playerid, 29, 500);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 5:
- {
- GivePlayerWeapon(playerid, 31, 500);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 6:
- {
- GivePlayerWeapon(playerid, 34, 100);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 7:
- {
- SetPlayerHealth(playerid, 100);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- case 8:
- {
- SetPlayerArmour(playerid, 100);
- ShowPlayerDialog(playerid, DIALOG_SWATLSWEAP, DIALOG_STYLE_LIST, "{00FFFF}S.W.A.T. Equipment Selection","{FFFFFF}Desert Eagle \nShotgun \nCombat Shotgun \nMicro Uzi \nMP5 \nM4 Assault Rifle \nSniper Rifle \nHealth \nArmour","Select","Close");
- }
- }
- }
- else return SendClientMessage(playerid, 0xFF0000FF, "ERROR: You have closed the dialog.");
- // }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment