CreateVehicle(433, 2743.6953, -2460.9089, 14.0135, 270.0340, -1, -1, 100);
CreateVehicle(433, 2743.9839, -2478.2607, 14.0135, 270.0340, -1, -1, 100);
CreateVehicle(433, 2743.8464, -2469.7280, 14.0135, 270.0340, -1, -1, 100);
CreateVehicle(425, 2775.0005, -2390.3318, 14.2788, 0.3493, -1, -1, 100);
CreateVehicle(425, 2767.6355, -2358.9158, 14.2788, 1.9615, -1, -1, 100);
CreateVehicle(425, 2795.1509, -2370.2173, 14.2788, 0.3493, -1, -1, 100);
CreateVehicle(432, 2786.8025, -2494.1814, 13.6064, 90.4085, -1, -1, 100);
CreateVehicle(432, 2786.1072, -2418.0044, 13.6064, 90.4085, -1, -1, 100);
CreateVehicle(470, 2796.8450, -2462.6089, 13.3900, 359.4929, -1, -1, 100);
CreateVehicle(470, 2779.7073, -2463.0896, 13.3900, 359.4929, -1, -1, 100);
CreateVehicle(470, 2788.1936, -2462.7852, 13.3900, 359.4929, -1, -1, 100);
CreateVehicle(470, 2796.9678, -2448.8562, 13.4488, 180.2070, -1, -1, 100);
CreateVehicle(470, 2778.9492, -2448.7861, 13.4488, 180.2070, -1, -1, 100);
CreateVehicle(470, 2787.6829, -2448.8113, 13.4488, 180.2070, -1, -1, 100);
CreateVehicle(470, 2748.8518, -2447.1926, 14.1667, 268.9949, -1, -1, 100);
CreateVehicle(520, 2743.4329, -2433.5637, 14.3559, 0.0000, -1, -1, 100);
CreateObject(3934, 2774.41528, -2389.66528, 12.69426, 0.00000, 0.00000, 0.00000);
CreateObject(3934, 2766.90967, -2358.10645, 12.69426, 0.00000, 0.00000, 0.00000);
CreateObject(3934, 2794.62915, -2370.22290, 12.69426, 0.00000, 0.00000, 0.00000);
CreateObject(3934, 2743.51563, -2433.21411, 12.64440, 0.00000, 0.00000, 0.00000);
CreateObject(8674, 2623.06079, -2350.84204, 16.96606, 0.00000, 0.00000, 270.90836);
CreateObject(8674, 2622.78320, -2335.40283, 16.94483, 0.00000, 0.00000, 270.90836);
CreateObject(8674, 2622.92407, -2343.16675, 16.96606, 0.00000, 0.00000, 270.90836);
CreateObject(8674, 2622.92407, -2343.16675, 16.96606, 0.00000, 0.00000, 270.90836);
CreateObject(8674, 2622.92407, -2343.16675, 14.11286, 0.00000, 0.00000, 270.90836);
CreateObject(8674, 2622.78320, -2335.40283, 14.11286, 0.00000, 0.00000, 270.90836);
CreateObject(8674, 2720.07178, -2378.71558, 17.84232, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.07178, -2382.06592, 17.84232, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.07178, -2382.06592, 14.81575, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.16626, -2392.28662, 14.81575, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.19263, -2396.05664, 14.81575, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.10522, -2414.75146, 14.91575, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.18188, -2492.31982, 17.86692, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.17993, -2513.46899, 15.11675, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.19434, -2494.45996, 17.91611, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.18579, -2492.43701, 15.11675, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.19434, -2494.45996, 15.11675, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2726.72046, -2544.76294, 17.76895, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2720.17993, -2513.46899, 17.96995, 0.00000, 0.00000, 90.30886);
CreateObject(8674, 2726.89722, -2560.31201, 16.53536, 0.00000, 0.00000, 90.50986);
CreateObject(8674, 2726.83545, -2551.85400, 16.57113, 0.00000, 0.00000, 90.30886);
/* At the top of your script */
new
ArmyGate1,
ArmyGate1x1,
ArmyGate2,
ArmyGate2x1;
/* Under OnGameModeInit */
ArmyGate1 = CreateObject(988, 2720.09863, -2409.03052, 13.49358, 0.00000, 0.00000, 269.67648);
ArmyGate1x1 = CreateObject(988, 2720.17090, -2403.59082, 13.49358, 0.00000, 0.00000, 269.67648);
ArmyGate2 = CreateObject(988, 2720.13940, -2506.47241, 13.49358, 0.00000, 0.00000, 269.67648);
ArmyGate2x1 = CreateObject(988, 2720.19287, -2500.99463, 13.49358, 0.00000, 0.00000, 269.67648);
/* Your commands - NOTE: You need ZCMD to use the following commands */
CMD:army1open(playerid, params[])
{
MoveObject(ArmyGate1, 2720.06641, -2411.34473, 13.49358, 2);
MoveObject(ArmyGate1x1, 2720.20386, -2399.67432, 13.49358, 2);
SendClientMessage(playerid, -1, "[GATE INFO] You have sucesfully opened the Army gate!");
return 1;
}
CMD:army1close(playerid, params[])
{
MoveObject(ArmyGate1, 2720.09863, -2409.03052, 13.49358, 2);
MoveObject(ArmyGate1x1, 2720.17090, -2403.59082, 13.49358, 2);
SendClientMessage(playerid, -1, "[GATE INFO] You have sucesfully closed the Army gate!");
return 1;
}
CMD:army2open(playerid, params[])
{
MoveObject(ArmyGate2, 2720.18555, -2510.18896, 13.49358, 2);
MoveObject(ArmyGate2x1, 2720.14160, -2497.48047, 13.49358, 2);
SendClientMessage(playerid, -1, "[GATE INFO] You have sucesfully opened the Army gate!");
return 1;
}
its cool bro im using it for my samp server rp and ppl love it, wanting to be NG.. i made it custom for only NG to use the gates.. (NG - National Guard)
|