Advertisement
Guest User

StanLeys

a guest
Jul 25th, 2009
329
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. //Color Defines
  4.  
  5. #define COLOR_GREY 0xAFAFAFAA
  6.  
  7. #define COLOR_GREEN 0x33AA33AA
  8.  
  9. #define COLOR_RED 0xAA3333AA
  10.  
  11. #define COLOR_YELLOW 0xFFFF00AA
  12.  
  13. #define COLOR_PINK 0xFF66FFAA
  14.  
  15. #define COLOR_BLUE 0x0000BBAA
  16.  
  17. #define COLOR_LIGHTBLUE 0x33CCFFAA
  18.  
  19. #define COLOR_DARKRED 0x660000AA
  20.  
  21. #define COLOR_ORANGE 0xFF9900AA
  22.  
  23. #if defined FILTERSCRIPT
  24.  
  25. public OnFilterScriptInit()
  26. {
  27. print("\n--------------------------------------");
  28. print(" Blank Filterscript by your name here");
  29. print("--------------------------------------\n");
  30. return 1;
  31. }
  32.  
  33. public OnFilterScriptExit()
  34. {
  35. return 1;
  36. }
  37.  
  38. #else
  39.  
  40. main()
  41. {
  42. print("\n----------------------------------");
  43. print(" Blank Gamemode by your name here");
  44. print("----------------------------------\n");
  45. }
  46.  
  47. #endif
  48.  
  49. public OnGameModeInit()
  50. {
  51. // Don't use these lines if it's a filterscript
  52. SetGameModeText("Blank Script");
  53. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  54. return 1;
  55. }
  56.  
  57. public OnGameModeExit()
  58. {
  59. return 1;
  60. }
  61.  
  62. public OnPlayerRequestClass(playerid, classid)
  63. {
  64. SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  65. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  66. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  67. return 1;
  68. }
  69.  
  70. public OnPlayerRequestSpawn(playerid)
  71. {
  72. return 1;
  73. }
  74.  
  75. public OnPlayerConnect(playerid)
  76. {
  77. return 1;
  78. }
  79.  
  80. public OnPlayerDisconnect(playerid, reason)
  81. {
  82. return 1;
  83. }
  84.  
  85. public OnPlayerSpawn(playerid)
  86. {
  87. return 1;
  88. }
  89.  
  90. public OnPlayerDeath(playerid, killerid, reason)
  91. {
  92. return 1;
  93. }
  94.  
  95. public OnVehicleSpawn(vehicleid)
  96. {
  97. return 1;
  98. }
  99.  
  100. public OnVehicleDeath(vehicleid, killerid)
  101. {
  102. return 1;
  103. }
  104.  
  105. public OnPlayerText(playerid, text[])
  106. {
  107. return 1;
  108. }
  109.  
  110. public OnPlayerPrivmsg(playerid, recieverid, text[])
  111. {
  112. return 1;
  113. }
  114.  
  115. public OnPlayerCommandText(playerid, cmdtext[])
  116. {
  117. if (strcmp("/Smoke", cmdtext, true, 10) == 0)
  118. {
  119. SendClientMessage(playerid,COLOR_RED,"You startin to smoke some Weed, and feelin Greaaaaatty");
  120. ApplyAnimation(playerid,"JST_BUISNESS","smoke_01",4.1,1,1,1,1,1);
  121. SetPlayerWeather(playerid, -66);
  122. return 1;
  123. }
  124. if (strcmp("/StopSmoke", cmdtext, true, 10) == 0)
  125. {
  126. SendClientMessage(playerid,COLOR_GREEN,"You ended to smoke");
  127. SetPlayerWeather(playerid, 1);
  128. return 1;
  129. }
  130. return 0;
  131. }
  132.  
  133. public OnPlayerInfoChange(playerid)
  134. {
  135. return 1;
  136. }
  137.  
  138. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  139. {
  140. return 1;
  141. }
  142.  
  143. public OnPlayerExitVehicle(playerid, vehicleid)
  144. {
  145. return 1;
  146. }
  147.  
  148. public OnPlayerStateChange(playerid, newstate, oldstate)
  149. {
  150. return 1;
  151. }
  152.  
  153. public OnPlayerEnterCheckpoint(playerid)
  154. {
  155. return 1;
  156. }
  157.  
  158. public OnPlayerLeaveCheckpoint(playerid)
  159. {
  160. return 1;
  161. }
  162.  
  163. public OnPlayerEnterRaceCheckpoint(playerid)
  164. {
  165. return 1;
  166. }
  167.  
  168. public OnPlayerLeaveRaceCheckpoint(playerid)
  169. {
  170. return 1;
  171. }
  172.  
  173. public OnRconCommand(cmd[])
  174. {
  175. return 1;
  176. }
  177.  
  178. public OnObjectMoved(objectid)
  179. {
  180. return 1;
  181. }
  182.  
  183. public OnPlayerObjectMoved(playerid, objectid)
  184. {
  185. return 1;
  186. }
  187.  
  188. public OnPlayerPickUpPickup(playerid, pickupid)
  189. {
  190. return 1;
  191. }
  192.  
  193. public OnPlayerSelectedMenuRow(playerid, row)
  194. {
  195. return 1;
  196. }
  197.  
  198. public OnPlayerExitedMenu(playerid)
  199. {
  200. return 1;
  201. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement