Advertisement
DJTunes

Teleport System SA-MP [] - [] - [] = Version 1.1

Dec 29th, 2012
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. // Teleport Filterscript by DJTunes
  2. // Please do not re-release without my premission
  3. // Do not claim this as your filterscript
  4. // Be sure to give my credit if you are to use this
  5. //-----------------------------------------------------------
  6. //Defines
  7. //-----------------------------------------------------------
  8. #define FILTERSCRIPT
  9. //-----------------------------------------------------------
  10. //Includes
  11. //-----------------------------------------------------------
  12. #include <a_samp>
  13. //-----------------------------------------------------------
  14. //Keep This Defined
  15. //-----------------------------------------------------------
  16. #if defined FILTERSCRIPT
  17. #define COLOR_GREEN 0x33AA33AA
  18. #define COLOR_RED 0xAA3333AA
  19. #define COLOR_YELLOW 0xFFFF00AA
  20. #define COLOR_WHITE 0xFFFFFFAA
  21. #define COLOR_BLUE 0x0000BBAA
  22. #define COLOR_LIGHTBLUE 0x33CCFFAA
  23. #define COLOR_ORANGE 0xFF9900AA
  24. #define COLOR_RED 0xAA3333AA
  25. #define COLOR_LIME 0x10F441AA
  26. #define COLOR_MAGENTA 0xFF00FFFF
  27. #define COLOR_NAVY 0x000080AA
  28. #define COLOR_AQUA 0xF0F8FFAA
  29. #define COLOR_CRIMSON 0xDC143CAA
  30. #define COLOR_FLBLUE 0x6495EDAA
  31. #define COLOR_BISQUE 0xFFE4C4AA
  32. #define COLOR_BLACK 0x000000AA
  33. #define COLOR_CHARTREUSE 0x7FFF00AA
  34. #define COLOR_BROWN 0XA52A2AAA
  35. #define COLOR_CORAL 0xFF7F50AA
  36. #define COLOR_GOLD 0xB8860BAA
  37. #define COLOR_GREENYELLOW 0xADFF2FAA
  38. #define COLOR_INDIGO 0x4B00B0AA
  39. #define COLOR_IVORY 0xFFFF82AA
  40. #define COLOR_LAWNGREEN 0x7CFC00AA
  41. #define COLOR_SEAGREEN 0x20B2AAAA
  42. #define COLOR_LIMEGREEN 0x32CD32AA
  43. #define COLOR_MIDNIGHTBLUE 0X191970AA
  44. #define COLOR_MAROON 0x800000AA
  45. #define COLOR_OLIVE 0x808000AA
  46. #define COLOR_ORANGERED 0xFF4500AA
  47. #define COLOR_PINK 0xFFC0CBAA
  48. #define COLOR_SEAGREEN 0x2E8B57AA
  49. #define COLOR_SPRINGGREEN 0x00FF7FAA
  50. #define COLOR_TOMATO 0xFF6347AA
  51. #define COLOR_YELLOWGREEN 0x9ACD32AA
  52. #define COLOR_MEDIUMAQUA 0x83BFBFAA
  53. #define COLOR_MEDIUMMAGENTA 0x8B008BAA
  54. //-----------------------------------------------------------
  55. public OnFilterScriptInit()
  56. {
  57. print("\n--------------------------------------");
  58. print(" Teleport System by DJTunes...... LOADED!");
  59. print("--------------------------------------\n");
  60. return 1;
  61. }
  62. //-----------------------------------------------------------
  63. public OnFilterScriptExit()
  64. {
  65. print("\n----------------------------------");
  66. print(" Teleport System by DJTunes...... UNLOADED!");
  67. print("----------------------------------\n");
  68. return 1;
  69. }
  70. //-----------------------------------------------------------
  71. //Don't Modify The 2 following lines:
  72. #else
  73. #endif
  74. //-----------------------------------------------------------
  75. //Desert Teleporters
  76. //-----------------------------------------------------------
  77. public OnPlayerCommandText(playerid, cmdtext[])
  78. {
  79. if (strcmp("/DArea51", cmdtext, true, 8) == 0)
  80. {
  81. SetPlayerPos(playerid,214.4253,1872.7339,13.1406,179.9766);
  82. SendClientMessage(playerid, COLOR_GREEN, "You've teleported to Area 51!");
  83. return 1;
  84. }
  85. if (strcmp("/DARunway", cmdtext, true, 9) == 0)
  86. {
  87. SetPlayerPos(playerid,373.6937,2474.2234,16.4844,78.0672);
  88. SendClientMessage(playerid, COLOR_GREEN, "You've teleported to the Abondoned Airfield!");
  89. return 1;
  90. }
  91. if (strcmp("/DHospital", cmdtext, true, 10) == 0)
  92. {
  93. SetPlayerPos(playerid,1097.6407,1084.4579,10.8359,150.6203);
  94. SendClientMessage(playerid, COLOR_GREEN, "You've teleported to the Desert Hospital!");
  95. return 1;
  96. }
  97. if (strcmp("/DBigEar", cmdtext, true, 8) == 0)
  98. {
  99. SetPlayerPos(playerid,-344.0461,1541.2297,75.5625,180.3021);
  100. SendClientMessage(playerid, COLOR_GREEN, "You've teleported to the Big Ear!");
  101. return 1;
  102. //-----------------------------------------------------------
  103. //Los Santos Teleporters (None Currently)
  104. //-----------------------------------------------------------
  105. }
  106. return 0;
  107. }
  108. //-----------------------------------------------------------
  109. //Changelog
  110. //-----------------------------------------------------------
  111. //Version 1.0 Features
  112. // - Commands: "/DARunway", "/DHospital", "DArea51"
  113. // - Teleporters: Abondoned Airfield, Desert Hospital, Area51
  114. // - Credits: | Idea: Captain Price | Filterscript Scripter: DJTunes |
  115. //-----------------------------------------------------------
  116. //Version 1.1 Features
  117. // - Commands: Version 1.0 Commands, and "/DBigEar"
  118. // - Teleporters: Version 1.0 Teleporters, and Big Ear Teleporter
  119. // - Credits: | Idea: DJTunes | Filterscript Scripter: DJTunes |
  120. //-----------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement