SHOW:
|
|
- or go back to the newest paste.
1 | - | //Oss Hq - By drakoN |
1 | + | //Oss Hq - By MaayaN |
2 | new Gate; | |
3 | new Gate2; | |
4 | new Move; | |
5 | new Move2; | |
6 | ||
7 | #include <a_samp> | |
8 | #if defined FILTERSCRIPT | |
9 | #endif | |
10 | #pragma tabsize 0 | |
11 | public OnGameModeInit() | |
12 | { | |
13 | CreateObject(8263, -2056.09, -756.26, 34.17, 0.00, 0.00, 180.39); | |
14 | CreateObject(8263, -2053.41, -995.96, 34.18, 0.00, 0.00, 358.95); | |
15 | CreateObject(8263, -2115.34, -815.14, 34.23, 0.00, 0.00, 270.68); | |
16 | CreateObject(8263, -2113.81, -935.13, 34.17, 0.00, 0.00, 270.68); | |
17 | CreateObject(8263, -1981.40, -819.15, 34.35, 0.00, 0.00, 90.25); | |
18 | Move = CreateObject(8620, -1988.52, -997.06, 46.78, 0.00, 0.00, 0.00); | |
19 | CreateObject(8263, -1980.34, -935.29, 34.19, 0.00, 0.00, 90.25); | |
20 | CreateObject(8263, -2082.01, -909.95, 64.29, -91.00, 0.00, 89.90); | |
21 | CreateObject(8263, -2082.07, -806.33, 64.29, -91.00, 0.00, 89.90); | |
22 | Gate2 = CreateObject(19129, -2059.7424, -859.8861, 31.1265, 0.00000, 0.00000, 359.27863); | |
23 | CreateObject(13607, -2010.34753, -859.66864, 67.84310, 0.00000, 0.00000, 0.00000); | |
24 | CreateObject(8355, -1966.74487, -857.92773, 64.22208, 0.00000, 0.00000, 269.02606); | |
25 | CreateObject(14602, -2042.06250, -915.57098, 7.58952, 0.00000, 0.00000, 86.32020); | |
26 | Gate = CreateObject(8493, -2019.55359, -912.69348, 43.45575, -0.02000, 0.00000, 358.90170); | |
27 | CreateObject(16362, -2024.29651, -969.95184, 34.17653, 0.00000, 0.00000, 270.02539); | |
28 | CreateObject(3743, -2022.17102, -921.37518, -0.72490, -2.00000, 0.00000, 266.28879); | |
29 | CreateObject(1491, -2035.33557, -919.75372, 2.23160, 0.00000, 0.00000, 268.19940); | |
30 | CreateObject(1497, -2058.37866, -925.29797, 2.24780, 0.00000, 0.00000, 85.26380); | |
31 | CreateObject(14391, -2056.13574, -918.18665, 2.93668, 0.00000, 0.00000, 358.86838); | |
32 | Move2 = CreateObject(8620, -1988.30078, -755.82147, 47.62154, 0.00000, 0.00000, 0.00000); | |
33 | CreateObject(18779, -2101.02, -974.35, 41.09, 0.00, 0.00, 91.77); | |
34 | CreateObject(18750, -2096.01, -875.01, 91.46, 91.00, -5.00, 93.00); | |
35 | CreateObject(1257, -1994.9786, -783.6891, 32.3527, 0.00000, 0.00000, 177.98438); | |
36 | CreateObject(1290, -2108.44141, -758.10846, 35.99864, 0.00000, 0.00000, 0.00000); | |
37 | CreateObject(3279, -2066.34424, -988.75629, 30.95377, 0.00000, 0.00000, 0.00000); | |
38 | CreateObject(2785, -2058.13232, -929.73212, 3.24493, 0.00000, 0.00000, 86.46268); | |
39 | CreateObject(3279, -2050.75635, -759.70068, 30.51171, 0.00000, 0.00000, 0.00000); | |
40 | CreateObject(703, -2054.03906, -992.71094, 31.05469, 356.85840, 0.00000, 3.14159); | |
41 | CreateObject(703, -2057.05664, -763.57855, 31.15183, 0.00000, 0.00000, 0.00000); | |
42 | CreateObject(1775, -2095.66357, -762.63672, 32.10560, 0.00000, 0.00000, 293.87448); | |
43 | ||
44 | ||
45 | ||
46 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
47 | CreateVehicle(487, -2079.5920, -759.5573, 67.4194, 269.8864, -1, -1, 100); | |
48 | CreateVehicle(487, -2080.2200, -860.1846, 67.4194, 269.8864, -1, -1, 100); | |
49 | CreateVehicle(487, -2082.3066, -910.4019, 67.4194, 269.8864, -1, -1, 100); | |
50 | CreateVehicle(487, -2082.2649, -961.7679, 67.4194, 269.8864, -1, -1, 100); | |
51 | CreateVehicle(487, -2080.4360, -809.6089, 67.4194, 269.8864, -1, -1, 100); | |
52 | CreateVehicle(451, -2051.3423, -919.8475, 32.0099, 0.9193, -1, -1, 100); | |
53 | CreateVehicle(451, -2051.0493, -959.8915, 32.4416, 0.0000, -1, -1, 100); | |
54 | CreateVehicle(411, -2009.4016, -968.6586, 32.2146, 0.0000, -1, -1, 100); | |
55 | CreateVehicle(411, -2015.1746, -968.9238, 32.2113, 0.0000, -1, -1, 100); | |
56 | CreateVehicle(411, -2038.2965, -970.4998, 32.2129, 0.0000, -1, -1, 100); | |
57 | CreateVehicle(411, -2032.5747, -969.7313, 32.2146, 0.0000, -1, -1, 100); | |
58 | CreateVehicle(411, -2026.6577, -969.3629, 32.2025, 0.0000, -1, -1, 100); | |
59 | CreateVehicle(411, -2020.8285, -969.0955, 32.2146, 0.0000, -1, -1, 100); | |
60 | CreateVehicle(541, -1996.5077, -917.1450, 31.9802, 0.0000, -1, -1, 100); | |
61 | CreateVehicle(541, -1997.2018, -959.4579, 31.9802, 0.0000, -1, -1, 100); | |
62 | CreateVehicle(406, -2021.7385, -861.4938, 33.5634, 90.3797, -1, -1, 100); | |
63 | CreateVehicle(431, -1991.2805, -786.6177, 31.2159, 0.0000, -1, -1, 100); | |
64 | CreateVehicle(522, -2105.7070, -762.8573, 33.7132, 179.5271, -1, -1, 100); | |
65 | CreateVehicle(522, -2111.2629, -762.8394, 33.7132, 179.5271, -1, -1, 100); | |
66 | CreateVehicle(519, -1951.1449, -857.6166, 66.0601, 270.4203, -1, -1, 100); | |
67 | ||
68 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// | |
69 | CreatePickup(1240, 2, -2028.3634, -932.1819, 2.7982, -1); | |
70 | CreatePickup(1242, 2, -2028.3467, -931.4158, 2.7850, -1); | |
71 | CreatePickup(341, 2, -2028.6038, -930.7881, 2.7850, -1); | |
72 | CreatePickup(358, 2, -2028.8053, -930.0417, 2.8048, -1); | |
73 | CreatePickup(348, 2, -2028.8457, -929.4052, 2.7814, -1); | |
74 | CreatePickup(351, 2, -2028.4049, -928.5924, 2.7454, -1); | |
75 | CreatePickup(350, 2, -2028.3302, -927.7668, 2.7454, -1); | |
76 | CreatePickup(344, 2, -2028.2411, -927.1180, 2.7454, -1); | |
77 | CreatePickup(355, 2, -2028.0311, -926.3185, 2.7688, -1); | |
78 | CreatePickup(349, 2, -2028.0172, -925.5634, 2.7454, -1); | |
79 | return 1; | |
80 | } | |
81 | public OnPlayerCommandText(playerid, cmdtext[]) | |
82 | { | |
83 | if (strcmp("/hq", cmdtext, true, 10) == 0) | |
84 | { | |
85 | SetPlayerPos(playerid, -2009.1116, -861.3822, 39.6881); | |
86 | return 1; | |
87 | ///////////////////////////////////////////////////////// | |
88 | } | |
89 | if(strcmp(cmdtext, "/og", true) == 0) | |
90 | { | |
91 | MoveObject(Gate, -2019.5536, -912.6935, 13.3139,9.7,4); | |
92 | return 1; | |
93 | } | |
94 | if(strcmp(cmdtext, "/cg", true) == 0) | |
95 | { | |
96 | MoveObject(Gate, -2019.55359, -912.69348, 43.45575,9.7,4); | |
97 | return 1; | |
98 | } | |
99 | ///////////////////////////////////////////////////////// | |
100 | if(strcmp(cmdtext, "/og2", true) == 0) | |
101 | { | |
102 | MoveObject(Gate2, -2059.7424, -859.8861, 64.2221,9.7,4); | |
103 | return 1; | |
104 | } | |
105 | if(strcmp(cmdtext, "/cg2", true) == 0) | |
106 | { | |
107 | MoveObject(Gate2, -2059.7424, -859.8861, 31.1265,9.7,4); | |
108 | return 1; | |
109 | } | |
110 | ///////////////////////////////////////////////////////// | |
111 | if(strcmp(cmdtext, "/og3", true) == 0) | |
112 | { | |
113 | MoveObject(Move, -1988.5238, -997.0572, 52.8186,9.7,4); | |
114 | return 1; | |
115 | } | |
116 | if(strcmp(cmdtext, "/cg3", true) == 0) | |
117 | { | |
118 | MoveObject(Move, -1988.52, -997.06, 46.78,4); | |
119 | return 1; | |
120 | } | |
121 | ///////////////////////////////////////////////////////// | |
122 | if(strcmp(cmdtext, "/og4", true) == 0) | |
123 | { | |
124 | MoveObject(Move2, -1988.3008, -755.8215, 52.8186,9.7,4); | |
125 | return 1; | |
126 | } | |
127 | if(strcmp(cmdtext, "/cg4", true) == 0) | |
128 | { | |
129 | MoveObject(Move2, -1988.30078, -755.82147, 47.62154,9.7,4); | |
130 | return 1; | |
131 | } | |
132 | return 0; | |
133 | } |