Guest User

[HB]Teleports By [HB]Billaboi

a guest
Apr 16th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1.  
  2. // This is a comment
  3. // uncomment the line below if you want to write a filterscript
  4. //#define FILTERSCRIPT
  5.  
  6. #include <a_samp>
  7.  
  8. #if defined FILTERSCRIPT
  9.  
  10.  
  11. public OnFilterScriptInit()
  12. {
  13. print("\n--------------------------------------");
  14. print(" [HB]Billaboi Teleports ~Loaded~");
  15. print("--------------------------------------\n");
  16. return 1;
  17. }
  18.  
  19. public OnFilterScriptExit()
  20.  
  21.  
  22. public OnPlayerCommandText(playerid, cmdtext[])
  23. {
  24.  
  25. if (strcmp("/arch", cmdtext, true, 10) == 0)
  26. {
  27. SetPlayerPos(playerid, -2703.5210,218.5312,3.8405);
  28. SendClientMessage(playerid,-1,"You Teleported to arch");
  29. return 1;
  30. }
  31.  
  32. if (strcmp("/lv", cmdtext, true, 10) == 0)
  33. {
  34. SetPlayerPos(playerid, 2497.6963,1533.7504,10.6752);
  35. SendClientMessage(playerid,-1,"You Teleported to lv");
  36. return 1;
  37. }
  38.  
  39. if (strcmp("/sf", cmdtext, true, 10) == 0)
  40. {
  41. SetPlayerPos(playerid, -2027.2809,138.5987,28.8359);
  42. SendClientMessage(playerid,-1,"You Teleported to sf");
  43. return 1;
  44. }
  45.  
  46. if (strcmp("/ls", cmdtext, true, 10) == 0)
  47. {
  48. SetPlayerPos(playerid, 2495.2002, -1666.3481, 13.3438);
  49. SendClientMessage(playerid,-1,"You Teleported to ls");
  50. return 1;
  51. }
  52.  
  53. if (strcmp("/trans", cmdtext, true, 10) == 0)
  54. {
  55. SetPlayerPos(playerid, -1935.6311, 231.5551, 34.1563);
  56. SendClientMessage(playerid,-1,"You Teleported to trans");
  57. return 1;
  58. }
  59.  
  60.  
  61. if (strcmp("/bigear", cmdtext, true, 10) == 0)
  62. {
  63. SetPlayerPos(playerid, -368.1264, 1581.7207, 76.1016);
  64. SendClientMessage(playerid,-1,"You Teleported to Bigear");
  65. return 1;
  66. }
  67.  
  68. if (strcmp("/lsair", cmdtext, true, 10) == 0)
  69. {
  70. SetPlayerPos(playerid, 1961.6473, -2182.5845, 13.5469);
  71. SendClientMessage(playerid,-1,"You Teleported to ls airport");
  72. return 1;
  73. }
  74.  
  75. if (strcmp("/lvair", cmdtext, true, 10) == 0)
  76. {
  77. SetPlayerPos(playerid, 1706.5125, 1607.6833, 10.0156);
  78. SendClientMessage(playerid,-1,"You Teleported to lv airport");
  79. return 1;
  80. }
  81.  
  82. if (strcmp("/sfair", cmdtext, true, 10) == 0)
  83. {
  84. SetPlayerPos(playerid, -1543.4087, -428.6080, 5.8516);
  85. SendClientMessage(playerid,-1,"You Teleported to sf airport");
  86. return 1;
  87. }
  88.  
  89.  
  90. if (strcmp("/loco", cmdtext, true, 10) == 0)
  91. {
  92. SetPlayerPos(playerid, 2644.3401,-2030.5510,13.5469);
  93. SendClientMessage(playerid,-1,"You Teleported to loco");
  94. return 1;
  95. }
  96.  
  97. if (strcmp("/teles", cmdtext, true, 10) == 0)
  98. {
  99. SendClientMessage(playerid,-1,"---------------/Teleports\------------- ");
  100. SendClientMessage(playerid,-1,"/sf, /lv, /ls, /lvair, /sfair, /lsair");
  101. SendClientMessage(playerid,-1,"/arch, /loco, /trans (created by [HB]Shahil)");
  102. return 1;
  103. }
  104.  
  105. return 0;
  106.  
  107. #endif
Advertisement
Add Comment
Please, Sign In to add comment