Guest User

Untitled

a guest
Aug 30th, 2012
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 KB | None | 0 0
  1. //all by XtremeR
  2. #include <a_samp>
  3. new b1;
  4. new b2;
  5. new b3;
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11. print("\n--------------------------------------");
  12. print("Balloon's FS By XtremeR");
  13. print("--------------------------------------\n");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. return 1;
  20. }
  21.  
  22. #else
  23.  
  24.  
  25. #endif
  26.  
  27. public OnGameModeInit()
  28. {
  29.  
  30. b1 = CreateObject(19332, 364.71, 2537.19, 15.68, 0.00, 0.00, 0.00);
  31. b2 = CreateObject(19333, 154.77, -1858.23, 2.78, 0.00, 0.00, 0.00);
  32. b3 = CreateObject(19334, -1748.00, -154.60, 2.60, 0.00, 0.00, 0.00);
  33. }
  34.  
  35.  
  36. public OnPlayerText(playerid, text[])
  37. {
  38. return 1;
  39. }
  40. public OnPlayerCommandText(playerid, cmdtext[])
  41. {
  42. if (strcmp(cmdtext, "/rballoon", true) == 0)
  43. {
  44. SetPlayerPos(playerid,382.0658, 2537.5269, 15.6774);
  45. SendClientMessage(playerid, 0xDEEE20FF, "Welcome to Red Balloon");
  46. return 1;
  47. }
  48. if (strcmp(cmdtext, "/bballoon", true) == 0)
  49. {
  50. SetPlayerPos(playerid,153.8562, -1879.2620, 2.7823);
  51. SendClientMessage(playerid, 0xDEEE20FF, "Welcome to Blue Balloon");
  52. return 1;
  53. }
  54. if (strcmp(cmdtext, "/gballoon", true) == 0)
  55. {
  56. SetPlayerPos(playerid,-1738.4253, -137.0162, 2.6011);
  57. SendClientMessage(playerid, 0xDEEE20FF, "Welcome to Grey Balloon");
  58. return 1;
  59. }
  60. if (strcmp(cmdtext, "/rup", true) == 0)
  61. {
  62. MoveObject(b1, 237.11, 2547.02, 354.68, 3);
  63. SendClientMessage(playerid, 0xDEEE20FF, "Going!");
  64. return 1;
  65. }
  66. if (strcmp(cmdtext, "/bup", true) == 0)
  67. {
  68. MoveObject(b2, 455.3196, -1870.2194, 824.6305, 3);
  69. SendClientMessage(playerid, 0xDEEE20FF, "Going!");
  70. return 1;
  71. }
  72. if (strcmp(cmdtext, "/gup", true) == 0)
  73. {
  74. MoveObject(b3,-1752.5271, -8.4947, 282.0090, 3);
  75. SendClientMessage(playerid, 0xDEEE20FF, "Going!");
  76. return 1;
  77. }
  78.  
  79. if (strcmp(cmdtext, "/rdown", true) == 0)
  80. {
  81. MoveObject(b1, 365.56, 2537.17, 15.68, 5);
  82. SendClientMessage(playerid, 0xDEEE20FF, "Going Down!");
  83. return 1;
  84. }
  85. if (strcmp(cmdtext, "/bdown", true) == 0)
  86. {
  87. MoveObject(b2, 154.7741, -1858.2334, 2.7823 , 5);
  88. SendClientMessage(playerid, 0xDEEE20FF, "Going Down!");
  89. return 1;
  90. }
  91. if (strcmp(cmdtext, "/gdown", true) == 0)
  92. {
  93. MoveObject(b3, -1748.0038, -154.6030, 2.6011, 5);
  94. SendClientMessage(playerid, 0xDEEE20FF, "Going Down!");
  95. return 1;
  96. }
  97. if (strcmp(cmdtext, "/ballooncredits", true) == 0)
  98. {
  99. SendClientMessage(playerid, 0xDEEE20FF, "All Balloons by XtremeR ");
  100. return 1;
  101. }
  102. if (strcmp(cmdtext, "/balloonhelp", true) == 0)
  103. {
  104. SendClientMessage(playerid, 0xDEEE20FF, "[Xtreme's Balloon FS HELP]");
  105. SendClientMessage(playerid, 0xDEEE20FF, "/rballoon red balloon");
  106. SendClientMessage(playerid, 0xDEEE20FF, "/bballon blue balloon");
  107. SendClientMessage(playerid, 0xDEEE20FF, "/gballon grey balloon");
  108. SendClientMessage(playerid, 0xDEEE20FF, "/rup - Red balloon Up, /rdown - Red Balloon Down");
  109. SendClientMessage(playerid, 0xDEEE20FF, "/bup - Blue balloon Up, /bdown - Blue Balloon Down");
  110. SendClientMessage(playerid, 0xDEEE20FF, "/gup - Grey balloon Up, /gdown - Grey Balloon Down");
  111. SendClientMessage(playerid, 0xDEEE20FF, "/ballooncredits - For Credits");
  112. SendClientMessage(playerid, 0xDEEE20FF, "Filterscript made by: XtremeR");
  113. return 1;
  114. }
  115. return 0;
  116. }
Advertisement
Add Comment
Please, Sign In to add comment