Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Teleport Filterscript by DJTunes
- // Please do not re-release without my premission
- // Do not claim this as your filterscript
- // Be sure to give my credit if you are to use this
- //-----------------------------------------------------------
- //Defines
- //-----------------------------------------------------------
- #define FILTERSCRIPT
- //-----------------------------------------------------------
- //Includes
- //-----------------------------------------------------------
- #include <a_samp>
- //-----------------------------------------------------------
- //Keep This Defined
- //-----------------------------------------------------------
- #if defined FILTERSCRIPT
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_BLUE 0x0000BBAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_ORANGE 0xFF9900AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_LIME 0x10F441AA
- #define COLOR_MAGENTA 0xFF00FFFF
- #define COLOR_NAVY 0x000080AA
- #define COLOR_AQUA 0xF0F8FFAA
- #define COLOR_CRIMSON 0xDC143CAA
- #define COLOR_FLBLUE 0x6495EDAA
- #define COLOR_BISQUE 0xFFE4C4AA
- #define COLOR_BLACK 0x000000AA
- #define COLOR_CHARTREUSE 0x7FFF00AA
- #define COLOR_BROWN 0XA52A2AAA
- #define COLOR_CORAL 0xFF7F50AA
- #define COLOR_GOLD 0xB8860BAA
- #define COLOR_GREENYELLOW 0xADFF2FAA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_IVORY 0xFFFF82AA
- #define COLOR_LAWNGREEN 0x7CFC00AA
- #define COLOR_SEAGREEN 0x20B2AAAA
- #define COLOR_LIMEGREEN 0x32CD32AA
- #define COLOR_MIDNIGHTBLUE 0X191970AA
- #define COLOR_MAROON 0x800000AA
- #define COLOR_OLIVE 0x808000AA
- #define COLOR_ORANGERED 0xFF4500AA
- #define COLOR_PINK 0xFFC0CBAA
- #define COLOR_SEAGREEN 0x2E8B57AA
- #define COLOR_SPRINGGREEN 0x00FF7FAA
- #define COLOR_TOMATO 0xFF6347AA
- #define COLOR_YELLOWGREEN 0x9ACD32AA
- #define COLOR_MEDIUMAQUA 0x83BFBFAA
- #define COLOR_MEDIUMMAGENTA 0x8B008BAA
- //-----------------------------------------------------------
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Teleport System by DJTunes...... LOADED!");
- print("--------------------------------------\n");
- return 1;
- }
- //-----------------------------------------------------------
- public OnFilterScriptExit()
- {
- print("\n----------------------------------");
- print(" Teleport System by DJTunes...... UNLOADED!");
- print("----------------------------------\n");
- return 1;
- }
- //-----------------------------------------------------------
- //Don't Modify The 2 following lines:
- #else
- #endif
- //-----------------------------------------------------------
- //Desert Teleporters
- //-----------------------------------------------------------
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/DArea51", cmdtext, true, 8) == 0)
- {
- SetPlayerPos(playerid,214.4253,1872.7339,13.1406,179.9766);
- SendClientMessage(playerid, COLOR_GREEN, "You've teleported to Area 51!");
- return 1;
- }
- if (strcmp("/DARunway", cmdtext, true, 9) == 0)
- {
- SetPlayerPos(playerid,373.6937,2474.2234,16.4844,78.0672);
- SendClientMessage(playerid, COLOR_GREEN, "You've teleported to the Abondoned Airfield!");
- return 1;
- }
- if (strcmp("/DHospital", cmdtext, true, 10) == 0)
- {
- SetPlayerPos(playerid,1097.6407,1084.4579,10.8359,150.6203);
- SendClientMessage(playerid, COLOR_GREEN, "You've teleported to the Desert Hospital!");
- return 1;
- }
- return 0;
- }
- //-----------------------------------------------------------
- //Changelog
- //-----------------------------------------------------------
- //Version 1.0 Features
- // - Commands: "/DARunway", "/DHospital", "DArea51"
- // - Teleporters: Abondoned Airfield, Desert Hospital, Area51
- // - Credits: | Idea: Captain Price | Filterscript Scripter: DJTunes |
- //-----------------------------------------------------------
- //Version 1.1 Coming out 12/29/2012
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement