View difference between Paste ID: hpiTC9nq and z1fF3mm7
SHOW: | | - or go back to the newest paste.
1-
// This is a comment
1+
/*/////////////////////////////////////
2-
// uncomment the line below if you want to write a filterscript
2+
TeleportSystem by stormchaser206
3-
//#define FILTERSCRIPT
3+
*/////////////////////////////////
4
#define FILTERSCRIPT
5
6
#include <a_samp>
7
8
#if defined FILTERSCRIPT
9
10
public OnFilterScriptInit()
11
{
12-
	print(" Blank Filterscript by your name here");
12+
13
	print(" Teleport System by stormchaser206 loaded!");
14
	print("--------------------------------------\n");
15
	return 1;
16
}
17
18
public OnFilterScriptExit()
19
{
20
    print("\n--------------------------------------");
21
	print(" Teleport System by stormchaser206 unloaded!");
22
	print("--------------------------------------\n");
23
	return 1;
24
}
25
26
#else
27
28
main()
29
{
30
	print("\n----------------------------------");
31
	print(" Blank Gamemode by your name here");
32
	print("----------------------------------\n");
33
}
34
35
#endif
36
37
public OnGameModeInit()
38
{
39
	// Don't use these lines if it's a filterscript
40
	SetGameModeText("Blank Script");
41
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
42
	return 1;
43
}
44
45
public OnGameModeExit()
46
{
47
	return 1;
48
}
49
50
public OnPlayerRequestClass(playerid, classid)
51
{
52
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
53
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
54
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
55
	return 1;
56
}
57
58
public OnPlayerConnect(playerid)
59
{
60
	return 1;
61
}
62
63
public OnPlayerDisconnect(playerid, reason)
64
{
65
	return 1;
66
}
67
68
public OnPlayerSpawn(playerid)
69
{
70
	return 1;
71
}
72
73
public OnPlayerDeath(playerid, killerid, reason)
74
{
75
	return 1;
76
}
77
78
public OnVehicleSpawn(vehicleid)
79
{
80
	return 1;
81
}
82
83
public OnVehicleDeath(vehicleid, killerid)
84
{
85
	return 1;
86
}
87
88
public OnPlayerText(playerid, text[])
89
{
90
	return 1;
91
}
92-
    SetPlayerPos(playerid, 1950.008, -2289.814, 15);
92+
93
public OnPlayerCommandText(playerid, cmdtext[])
94
{
95
	if(!strcmp(cmdtext,"/lsair",true)) {
96-
	if(!strcmp(cmdtext,"/lsship",true)) {
96+
    SetPlayerPos(playerid, 1939.0291, -2235.8638, 13.5469);
97-
    SetPlayerPos(playerid, 2813.252, -2439.828, 15);
97+
98
	return 1;
99
}
100
	if(!strcmp(cmdtext,"/quarry",true)) {
101-
	if(!strcmp(cmdtext,"/lspd",true)) {
101+
    SetPlayerPos(playerid, 809.9111, 843.4572, 9.8722);
102-
    SetPlayerPos(playerid, 1508.879, -1666.071, 15);
102+
103
    return 1;
104
}
105
	if(!strcmp(cmdtext,"/aa",true)) {
106
    SetPlayerPos(playerid, 339.7693, 2545.0022, 16.7897);
107-
    SetPlayerPos(playerid, -1332.444, -218.6009, 15);
107+
108
    return 1;
109
}
110
	if(!strcmp(cmdtext,"/grove",true)) {
111
    SetPlayerPos(playerid, 2481.0984, -1699.1428, 13.5266);
112-
    SetPlayerPos(playerid, -1996.826, 203.5103, 15);
112+
113
    return 1;
114
}
115
	if(!strcmp(cmdtext,"/lvair",true)) {
116
    SetPlayerPos(playerid, 1701.9695, 1609.5265, 10.3819);
117-
    SetPlayerPos(playerid, -1541.029, 471.7679, 15);
117+
118
    return 1;
119
}
120
	if(!strcmp(cmdtext,"/kacc",true)) {
121-
	if(!strcmp(cmdtext,"/jizzy",true)) {
121+
    SetPlayerPos(playerid, 2501.5725, 2770.6711, 10.8203);
122-
    SetPlayerPos(playerid, -2614.856, 1426.449, 15);
122+
123
    return 1;
124
}
125
	if(!strcmp(cmdtext,"/lvdock",true)) {
126-
	if(!strcmp(cmdtext,"/gatebridge",true)) {
126+
    SetPlayerPos(playerid, 2282.4517, 626.4056, 10.8297);
127-
    SetPlayerPos(playerid, -2661.208, 1347.55, 15);
127+
128
    return 1;
129
}
130
	if(!strcmp(cmdtext,"/chilliad",true)) {
131
    SetPlayerPos(playerid, -2241.5339, -1742.1427, 480.1776);
132-
    SetPlayerPos(playerid, 607.2495, 875.8406, 15);
132+
133
    return 1;
134
}
135
	if(!strcmp(cmdtext,"/sherman",true)) {
136
    SetPlayerPos(playerid, -512.9248, 1993.4125, 60.3526);
137-
    SetPlayerPos(playerid, 326.9805, 2499.065, 15);
137+
138
    return 1;
139
}
140
	if(!strcmp(cmdtext,"/bayside",true)) {
141
    SetPlayerPos(playerid, -2266.7275, 2378.4746, 5.0477);
142-
    SetPlayerPos(playerid, 2470.997, -1677.914, 15);
142+
143
    return 1;
144
}
145
	if(!strcmp(cmdtext,"/pier",true)) {
146
    SetPlayerPos(playerid, 368.9555, -1657.4330, 32.7431);
147-
    SetPlayerPos(playerid, 1579.923, 1589.296, 15);
147+
148
    return 1;
149
}
150
	if(!strcmp(cmdtext,"/lsdock",true)) {
151
    SetPlayerPos(playerid, 2763.815, -2554.313, 15);
152-
    SetPlayerPos(playerid, 2528.801, 2765.188, 15);
152+
153
    return 1;
154
}
155
	if(!strcmp(cmdtext,"/lsbeach",true)) {
156
    SetPlayerPos(playerid, 310.6404, -1776.1348, 4.6045);
157-
    SetPlayerPos(playerid, 2271.081, 630.0158, 15);
157+
158
    return 1;
159
}
160
	if(!strcmp(cmdtext,"/mansion",true)) {
161
    SetPlayerPos(playerid, 1239.9155, -740.4766, 95.6599);
162-
    SetPlayerPos(playerid, -2323.897, -1634.903, 15);
162+
163
    return 1;
164
}
165
	if(!strcmp(cmdtext,"/lvbeach",true)) {
166
    SetPlayerPos(playerid, 2865.3887, 1118.5415, 10.8984);
167-
    SetPlayerPos(playerid, -583.8938, 2031.95, 15);
167+
168
    return 1;
169
}
170
	if(!strcmp(cmdtext,"/lv",true)) {
171
    SetPlayerPos(playerid, 1973.9928, 1623.0900, 12.8629);
172-
    SetPlayerPos(playerid, -2335.575, 2417.32, 15);
172+
173
    return 1;
174
}
175
	if(!strcmp(cmdtext,"/a69",true)) {
176
    SetPlayerPos(playerid, 101.6725, 1938.2587, 18.3775);
177-
    SetPlayerPos(playerid, 406.0569, -1954.256, 15);
177+
178
    return 1;
179
}
180
	if(!strcmp(cmdtext,"/angelpine",true)) {
181
    SetPlayerPos(playerid, -2206.7419, -2354.1575, 30.6250);
182
    
183
    return 1;
184
}
185
	if(!strcmp(cmdtext,"/sfdock",true)) {
186
    SetPlayerPos(playerid, -1734.5939, 28.5241, 3.5547);
187-
    SetPlayerPos(playerid, 314.7888, -1827.928, 15);
187+
188
    return 1;
189
}
190
	if(!strcmp(cmdtext,"/cityhall",true)) {
191
    SetPlayerPos(playerid, -2678.6389, 421.9384, 4.3281);
192-
    SetPlayerPos(playerid, 1261.695, -746.2472, 15);
192+
193
    return 1;
194
}
195
	if(!strcmp(cmdtext,"/hill",true)) {
196
    SetPlayerPos(playerid, -2489.9231, -598.0287, 132.6956);
197-
    SetPlayerPos(playerid, 2864.617, 1121.26, 15);
197+
198
}
199
	if(!strcmp(cmdtext,"/sfship2",true)) {
200
    SetPlayerPos(playerid, -1389.0991, 1491.1641, 7.1016);
201
    
202-
    SetPlayerPos(playerid, 1134.77, 1156.073, 15);
202+
203
}
204
	if(!strcmp(cmdtext,"/sfship1",true)) {
205
    SetPlayerPos(playerid, -2472.9473, 1550.6138, 33.2273);
206
    
207-
    SetPlayerPos(playerid, 93.423, 2008.595, 15);
207+
208
}
209
	if(!strcmp(cmdtext,"/lvstadium",true)) {
210
    SetPlayerPos(playerid, 1360.7964, 2190.8069, 11.0234);
211
212-
    SetPlayerPos(playerid, -2183.763, -2428.998, 15);
212+
213
}
214
	if(!strcmp(cmdtext,"/lvgarage",true)) {
215
	SetPlayerPos(playerid, 1105.8004, 2325.8789, 16.7188);
216
	
217-
    SetPlayerPos(playerid, -1738.026, 89.10634, 15);
217+
218
}
219
	if(!strcmp(cmdtext,"/lvbeach",true)) {
220
	SetPlayerPos(playerid, 2840.6106, 1127.1094, 10.8449);
221
	
222-
    SetPlayerPos(playerid, -2672.796, 408.6485, 15);
222+
223
}
224
	if(!strcmp(cmdtext,"/farm",true)) {
225
	SetPlayerPos(playerid, 83.4711, -55.7423, 0.6094);
226
	
227-
    SetPlayerPos(playerid, -2452.623, -589.4276, 15);
227+
228
}
229
	if(!strcmp(cmdtext,"/unity",true)) {
230
	SetPlayerPos(playerid, 1783.6481, -1889.0811, 13.3920);
231-
    SetPlayerPos(playerid, -1432.874, 1529.018, 15);
231+
	
232
	return 1;
233
}
234
	if(!strcmp(cmdtext,"/sfair",true)) {
235
	SetPlayerPos(playerid, -1543.9358, -429.0523, 5.8516);
236-
    SetPlayerPos(playerid, -2413.996, 1576.358, 15);
236+
237
	return 1;
238
}
239
	if(!strcmp(cmdtext,"/doherty",true)) {
240
	SetPlayerPos(playerid, -2035.4064, 178.4977, 28.8429);
241
	
242
	return 1;
243
}
244
	if(!strcmp(cmdtext,"/sfnavy",true)) {
245
	SetPlayerPos(playerid, -1530.2700, 482.0526, 7.1875);
246
	
247
	return 1;
248
}
249
	if(!strcmp(cmdtext,"/junkyard",true)) {
250
	SetPlayerPos(playerid, -1939.5153, -1787.0084, 30.9874);
251
	
252
	return 1;
253
}
254
255
	return 0;
256
}
257
258
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
259
{
260
	return 1;
261
}
262
263
public OnPlayerExitVehicle(playerid, vehicleid)
264
{
265
	return 1;
266
}
267
268
public OnPlayerStateChange(playerid, newstate, oldstate)
269
{
270
	return 1;
271
}
272
273
public OnPlayerEnterCheckpoint(playerid)
274
{
275
	return 1;
276
}
277
278
public OnPlayerLeaveCheckpoint(playerid)
279
{
280
	return 1;
281
}
282
283
public OnPlayerEnterRaceCheckpoint(playerid)
284
{
285
	return 1;
286
}
287
288
public OnPlayerLeaveRaceCheckpoint(playerid)
289
{
290
	return 1;
291
}
292
293
public OnRconCommand(cmd[])
294
{
295
	return 1;
296
}
297
298
public OnPlayerRequestSpawn(playerid)
299
{
300
	return 1;
301
}
302
303
public OnObjectMoved(objectid)
304
{
305
	return 1;
306
}
307
308
public OnPlayerObjectMoved(playerid, objectid)
309
{
310
	return 1;
311
}
312
313
public OnPlayerPickUpPickup(playerid, pickupid)
314
{
315
	return 1;
316
}
317
318
public OnVehicleMod(playerid, vehicleid, componentid)
319
{
320
	return 1;
321
}
322
323
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
324
{
325
	return 1;
326
}
327
328
public OnVehicleRespray(playerid, vehicleid, color1, color2)
329
{
330
	return 1;
331
}
332
333
public OnPlayerSelectedMenuRow(playerid, row)
334
{
335
	return 1;
336
}
337
338
public OnPlayerExitedMenu(playerid)
339
{
340
	return 1;
341
}
342
343
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
344
{
345
	return 1;
346
}
347
348
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
349
{
350
	return 1;
351
}
352
353
public OnRconLoginAttempt(ip[], password[], success)
354
{
355
	return 1;
356
}
357
358
public OnPlayerUpdate(playerid)
359
{
360
	return 1;
361
}
362
363
public OnPlayerStreamIn(playerid, forplayerid)
364
{
365
	return 1;
366
}
367
368
public OnPlayerStreamOut(playerid, forplayerid)
369
{
370
	return 1;
371
}
372
373
public OnVehicleStreamIn(vehicleid, forplayerid)
374
{
375
	return 1;
376
}
377
378
public OnVehicleStreamOut(vehicleid, forplayerid)
379
{
380
	return 1;
381
}
382
383
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
384
{
385
	return 1;
386
}
387
388
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
389
{
390
	return 1;
391
}