Advertisement
Guest User

TELEPORTS SYSTEM BY MORJAN1122

a guest
Dec 14th, 2013
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 6.93 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6. #if defined FILTERSCRIPT
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. public OnFilterScriptInit()
  14. {
  15.     print("\n--------------------------------------");
  16.     print(" TELEPORT SYSTEM by your MORJAN1122(SNAKE)");
  17.     print("--------------------------------------\n");
  18.     return 1;
  19. }
  20.  
  21. public OnFilterScriptExit()
  22. {
  23.     return 1;
  24. }
  25.  
  26. #else
  27.  
  28. main()
  29. {
  30.     print("\n----------------------------------");
  31.     print(" TELEPORT SYSTEM by your MORJAN1122(SNAKE)");
  32.     print("----------------------------------\n");
  33. }
  34.  
  35. #endif
  36.  
  37. public OnGameModeInit()
  38. {
  39.  
  40.     return 1;
  41. }
  42.  
  43. public OnGameModeExit()
  44. {
  45.     return 1;
  46. }
  47.  
  48. public OnPlayerRequestClass(playerid, classid)
  49. {
  50.     SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  51.     SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  52.     SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  53.     return 1;
  54. }
  55.  
  56. public OnPlayerConnect(playerid)
  57. {
  58.     return 1;
  59. }
  60.  
  61. public OnPlayerDisconnect(playerid, reason)
  62. {
  63.     return 1;
  64. }
  65.  
  66. public OnPlayerSpawn(playerid)
  67. {
  68.     return 1;
  69. }
  70.  
  71. public OnPlayerDeath(playerid, killerid, reason)
  72. {
  73.     return 1;
  74. }
  75.  
  76. public OnVehicleSpawn(vehicleid)
  77. {
  78.     return 1;
  79. }
  80.  
  81. public OnVehicleDeath(vehicleid, killerid)
  82. {
  83.     return 1;
  84. }
  85.  
  86. public OnPlayerText(playerid, text[])
  87. {
  88.     return 1;
  89. }
  90. new DIALOG_teles;
  91. public OnPlayerCommandText(playerid, cmdtext[])
  92. {
  93.     new cmd[256];
  94.  
  95.     if(strcmp(cmd, "/teles", true) == 0) {
  96.     ShowPlayerDialog(playerid, DIALOG_teles, DIALOG_STYLE_MSGBOX, "TELES", "/gs /ls /sf /lv /chilliad /lsair /sfair /lvair /drift1-3Tuning:/arch /trans /loco/ammuls /ammusf /ammulv/thebank /area51 /4dragons /farm", "Ok", "");
  97.     return 1;
  98.     }
  99.     if(strcmp(cmd, "/gs", true) == 0) {
  100.     SetPlayerPos(playerid,2512.0932617188,-1671.1571044922,13.907941818237);
  101.    
  102.     return 1;
  103.     }
  104.     if(strcmp(cmd, "/ls", true) == 0) {
  105.     SetPlayerPos(playerid,1280.9606933594,-1338.0102539063,13.654249191284);
  106.    
  107.     return 1;
  108.     }
  109.     if(strcmp(cmd, "/sf", true) == 0) {
  110.     SetPlayerPos(playerid,-1985.9775390625,138.49540710449,28.008354187012);
  111.    
  112.     return 1;
  113.     }
  114.     if(strcmp(cmd, "/lv", true) == 0) {
  115.     SetPlayerPos(playerid,2003.9881591797,1544.4967041016,13.785161018372);
  116.    
  117.     return 1;
  118.     }
  119.     if(strcmp(cmd, "/chilliad", true) == 0) {
  120.     SetPlayerPos(playerid,-2234.4709472656,-1736.5864257813,481.37677001953);
  121.  
  122.     return 1;
  123.     }
  124.     if(strcmp(cmd, "/lsair", true) == 0) {
  125.     SetPlayerPos(playerid,1962.0178222656,-2183.4311523438,13.916575431824);
  126.    
  127.     return 1;
  128.     }
  129.     if(strcmp(cmd, "/sfair", true) == 0) {
  130.     SetPlayerPos(playerid,-1258.97265625,29.321908950806,15.348086357117);
  131.    
  132.     return 1;
  133.     }
  134.     if(strcmp(cmd, "/lvair", true) == 0) {
  135.     SetPlayerPos(playerid,1318.8817138672,1252.8098144531,11.167939186096);
  136.    
  137.     return 1;
  138.     }
  139.     if(strcmp(cmd, "/lspd", true) == 0) {
  140.     SetPlayerPos(playerid,1541.4703369141,-1683.0941162109,14.26225566864);
  141.    
  142.     return 1;
  143.     }
  144.     if(strcmp(cmd, "/sfpd", true) == 0) {
  145.     SetPlayerPos(playerid,-1616.4086914063,681.66888427734,7.465208530426);
  146.    
  147.     return 1;
  148.     }
  149.     if(strcmp(cmd, "/lvpd", true) == 0) {
  150.     SetPlayerPos(playerid,2240.849609375,2449.4326171875,11.949013710022);
  151.    
  152.     return 1;
  153.     }
  154.     if(strcmp(cmd, "/aa", true) == 0) {
  155.     SetPlayerPos(playerid,404.32720947266,2452.1518554688,16.990623474121);
  156.    
  157.     return 1;
  158.     }
  159.     if(strcmp(cmd, "/drift1", true) == 0) {
  160.     SetPlayerPos(playerid,-308.98721313477,1536.6369628906,75.495559692383);
  161.    
  162.     return 1;
  163.     }
  164.     if(strcmp(cmd, "/drift2", true) == 0) {
  165.     SetPlayerPos(playerid,2342.1010742188,1398.7923583984,43.355499267578);
  166.    
  167.     return 1;
  168.     }
  169.     if(strcmp(cmd, "/drift3", true) == 0) {
  170.     SetPlayerPos(playerid,2285.5529785156,1964.0476074219,31.797733306885);
  171.    
  172.     return 1;
  173.     }
  174.     if(strcmp(cmd, "/trans", true) == 0) {
  175.     SetPlayerPos(playerid,1041.0904541016,-1033.6147460938,32.341972351074);
  176.    
  177.     return 1;
  178.     }
  179.     if(strcmp(cmd, "/loco", true) == 0) {
  180.     SetPlayerPos(playerid,2645.1872558594,-2017.2416992188,13.325689315796);
  181.    
  182.     return 1;
  183.     }
  184.     if(strcmp(cmd, "/arch", true) == 0) {
  185.     SetPlayerPos(playerid,-2705.3400878906,217.48022460938,3.8556115627289);
  186.    
  187.     return 1;
  188.     }
  189.     if(strcmp(cmd, "/area51", true) == 0) {
  190.     SetPlayerPos(playerid,213.86730957031,1869.2495117188,12.811868667603);
  191.    
  192.     return 1;
  193.     }
  194.     if(strcmp(cmd, "/farm", true) == 0) {
  195.     SetPlayerPos(playerid,-1059.3493652344,-1195.5015869141,130.05325317383);
  196.    
  197.     return 1;
  198.     }
  199.     if(strcmp(cmd, "/4dragons", true) == 0) {
  200.     SetPlayerPos(playerid,2028.6000976563,1008.0216064453,10.786623001099);
  201.    
  202.     return 1;
  203.     }
  204.     if(strcmp(cmd, "/ammulv", true) == 0) {
  205.     SetPlayerPos(playerid,2153.634765625,942.84271240234,11.116275787354);
  206.    
  207.     return 1;
  208.     }
  209.     if(strcmp(cmd, "/ammusf", true) == 0) {
  210.     SetPlayerPos(playerid,-2626.9919433594,213.13157653809,4.4227476119995);
  211.    
  212.     return 1;
  213.     }
  214.     if(strcmp(cmd, "/ammuls", true) == 0) {
  215.     SetPlayerPos(playerid,1364.6674804688,-1280.0222167969,13.651518821716);
  216.    
  217.     return 1;
  218.     }
  219.     if(strcmp(cmd, "/thebank", true) == 0) {
  220.     SetPlayerPos(playerid,1460.8756103516,-1026.2967529297,23.937147140503);
  221.    
  222.     return 1;
  223.     }
  224.    
  225.    
  226.     return 0;
  227. }
  228.  
  229. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  230. {
  231.     return 1;
  232. }
  233.  
  234. public OnPlayerExitVehicle(playerid, vehicleid)
  235. {
  236.     return 1;
  237. }
  238.  
  239. public OnPlayerStateChange(playerid, newstate, oldstate)
  240. {
  241.     return 1;
  242. }
  243.  
  244. public OnPlayerEnterCheckpoint(playerid)
  245. {
  246.     return 1;
  247. }
  248.  
  249. public OnPlayerLeaveCheckpoint(playerid)
  250. {
  251.     return 1;
  252. }
  253.  
  254. public OnPlayerEnterRaceCheckpoint(playerid)
  255. {
  256.     return 1;
  257. }
  258.  
  259. public OnPlayerLeaveRaceCheckpoint(playerid)
  260. {
  261.     return 1;
  262. }
  263.  
  264. public OnRconCommand(cmd[])
  265. {
  266.     return 1;
  267. }
  268.  
  269. public OnPlayerRequestSpawn(playerid)
  270. {
  271.     return 1;
  272. }
  273.  
  274. public OnObjectMoved(objectid)
  275. {
  276.     return 1;
  277. }
  278.  
  279. public OnPlayerObjectMoved(playerid, objectid)
  280. {
  281.     return 1;
  282. }
  283.  
  284. public OnPlayerPickUpPickup(playerid, pickupid)
  285. {
  286.     return 1;
  287. }
  288.  
  289. public OnVehicleMod(playerid, vehicleid, componentid)
  290. {
  291.     return 1;
  292. }
  293.  
  294. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  295. {
  296.     return 1;
  297. }
  298.  
  299. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  300. {
  301.     return 1;
  302. }
  303.  
  304. public OnPlayerSelectedMenuRow(playerid, row)
  305. {
  306.     return 1;
  307. }
  308.  
  309. public OnPlayerExitedMenu(playerid)
  310. {
  311.     return 1;
  312. }
  313.  
  314. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  315. {
  316.     return 1;
  317. }
  318.  
  319. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  320. {
  321.     return 1;
  322. }
  323.  
  324. public OnRconLoginAttempt(ip[], password[], success)
  325. {
  326.     return 1;
  327. }
  328.  
  329. public OnPlayerUpdate(playerid)
  330. {
  331.     return 1;
  332. }
  333.  
  334. public OnPlayerStreamIn(playerid, forplayerid)
  335. {
  336.     return 1;
  337. }
  338.  
  339. public OnPlayerStreamOut(playerid, forplayerid)
  340. {
  341.     return 1;
  342. }
  343.  
  344. public OnVehicleStreamIn(vehicleid, forplayerid)
  345. {
  346.     return 1;
  347. }
  348.  
  349. public OnVehicleStreamOut(vehicleid, forplayerid)
  350. {
  351.     return 1;
  352. }
  353.  
  354. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  355. {
  356.     return 1;
  357. }
  358.  
  359. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  360. {
  361.     return 1;
  362. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement