Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is a comment
- // uncomment the line below if you want to write a filterscript
- //#define FILTERSCRIPT
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" TELEPORT SYSTEM by your MORJAN1122(SNAKE)");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" TELEPORT SYSTEM by your MORJAN1122(SNAKE)");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- new DIALOG_teles;
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new cmd[256];
- if(strcmp(cmd, "/teles", true) == 0) {
- 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", "");
- return 1;
- }
- if(strcmp(cmd, "/gs", true) == 0) {
- SetPlayerPos(playerid,2512.0932617188,-1671.1571044922,13.907941818237);
- return 1;
- }
- if(strcmp(cmd, "/ls", true) == 0) {
- SetPlayerPos(playerid,1280.9606933594,-1338.0102539063,13.654249191284);
- return 1;
- }
- if(strcmp(cmd, "/sf", true) == 0) {
- SetPlayerPos(playerid,-1985.9775390625,138.49540710449,28.008354187012);
- return 1;
- }
- if(strcmp(cmd, "/lv", true) == 0) {
- SetPlayerPos(playerid,2003.9881591797,1544.4967041016,13.785161018372);
- return 1;
- }
- if(strcmp(cmd, "/chilliad", true) == 0) {
- SetPlayerPos(playerid,-2234.4709472656,-1736.5864257813,481.37677001953);
- return 1;
- }
- if(strcmp(cmd, "/lsair", true) == 0) {
- SetPlayerPos(playerid,1962.0178222656,-2183.4311523438,13.916575431824);
- return 1;
- }
- if(strcmp(cmd, "/sfair", true) == 0) {
- SetPlayerPos(playerid,-1258.97265625,29.321908950806,15.348086357117);
- return 1;
- }
- if(strcmp(cmd, "/lvair", true) == 0) {
- SetPlayerPos(playerid,1318.8817138672,1252.8098144531,11.167939186096);
- return 1;
- }
- if(strcmp(cmd, "/lspd", true) == 0) {
- SetPlayerPos(playerid,1541.4703369141,-1683.0941162109,14.26225566864);
- return 1;
- }
- if(strcmp(cmd, "/sfpd", true) == 0) {
- SetPlayerPos(playerid,-1616.4086914063,681.66888427734,7.465208530426);
- return 1;
- }
- if(strcmp(cmd, "/lvpd", true) == 0) {
- SetPlayerPos(playerid,2240.849609375,2449.4326171875,11.949013710022);
- return 1;
- }
- if(strcmp(cmd, "/aa", true) == 0) {
- SetPlayerPos(playerid,404.32720947266,2452.1518554688,16.990623474121);
- return 1;
- }
- if(strcmp(cmd, "/drift1", true) == 0) {
- SetPlayerPos(playerid,-308.98721313477,1536.6369628906,75.495559692383);
- return 1;
- }
- if(strcmp(cmd, "/drift2", true) == 0) {
- SetPlayerPos(playerid,2342.1010742188,1398.7923583984,43.355499267578);
- return 1;
- }
- if(strcmp(cmd, "/drift3", true) == 0) {
- SetPlayerPos(playerid,2285.5529785156,1964.0476074219,31.797733306885);
- return 1;
- }
- if(strcmp(cmd, "/trans", true) == 0) {
- SetPlayerPos(playerid,1041.0904541016,-1033.6147460938,32.341972351074);
- return 1;
- }
- if(strcmp(cmd, "/loco", true) == 0) {
- SetPlayerPos(playerid,2645.1872558594,-2017.2416992188,13.325689315796);
- return 1;
- }
- if(strcmp(cmd, "/arch", true) == 0) {
- SetPlayerPos(playerid,-2705.3400878906,217.48022460938,3.8556115627289);
- return 1;
- }
- if(strcmp(cmd, "/area51", true) == 0) {
- SetPlayerPos(playerid,213.86730957031,1869.2495117188,12.811868667603);
- return 1;
- }
- if(strcmp(cmd, "/farm", true) == 0) {
- SetPlayerPos(playerid,-1059.3493652344,-1195.5015869141,130.05325317383);
- return 1;
- }
- if(strcmp(cmd, "/4dragons", true) == 0) {
- SetPlayerPos(playerid,2028.6000976563,1008.0216064453,10.786623001099);
- return 1;
- }
- if(strcmp(cmd, "/ammulv", true) == 0) {
- SetPlayerPos(playerid,2153.634765625,942.84271240234,11.116275787354);
- return 1;
- }
- if(strcmp(cmd, "/ammusf", true) == 0) {
- SetPlayerPos(playerid,-2626.9919433594,213.13157653809,4.4227476119995);
- return 1;
- }
- if(strcmp(cmd, "/ammuls", true) == 0) {
- SetPlayerPos(playerid,1364.6674804688,-1280.0222167969,13.651518821716);
- return 1;
- }
- if(strcmp(cmd, "/thebank", true) == 0) {
- SetPlayerPos(playerid,1460.8756103516,-1026.2967529297,23.937147140503);
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement