Advertisement
Guest User

pawno

a guest
Jul 16th, 2011
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.67 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4. #define COLOR_WHITE 0xFFFFFFFF
  5. #define COLOR_WHITE 0xFFFFFFFF
  6. #define COLOR_WHITE 0xFFFFFFFF
  7. #define COLOR_WHITE 0xFFFFFFFF
  8. #define COLOR_WHITE 0xFFFFFFFF
  9. #define COLOR_WHITE 0xFFFFFFFF
  10. #include <a_samp>
  11.  
  12. #if defined FILTERSCRIPT
  13.  
  14. public OnFilterScriptInit()
  15. {
  16. print("\n--------------------------------------");
  17. print(" Blank Filterscript by your name here");
  18. print("--------------------------------------\n");
  19. return 1;
  20. }
  21.  
  22. public OnFilterScriptExit()
  23. {
  24. return 1;
  25. }
  26.  
  27. #else
  28.  
  29. main()
  30. {
  31. print("\n----------------------------------");
  32. print(" Blank Gamemode by your name here");
  33. print("----------------------------------\n");
  34. }
  35.  
  36. #endif
  37.  
  38. public OnGameModeInit()
  39. {
  40. // Don't use these lines if it's a filterscript
  41. SetGameModeText("Blank Script");
  42. AddPlayerClass(0,1551.1122,-1675.7258,15.7063,94.3867,0,0,0,0,0,0);//Spawn at the pd
  43. return 1;
  44. }
  45.  
  46. public OnGameModeExit()
  47. {
  48. return 1;
  49. }
  50.  
  51. public OnPlayerRequestClass(playerid, classid)
  52. {
  53. SetPlayerPos(playerid, 1551.1122, -1675.7258,15.7063, 94.3867);
  54. SetPlayerCameraPos(playerid, 1551.1122, -1675.7258,15.7063, 94.3867);
  55. SetPlayerCameraLookAt(playerid, 1551.1122, -1675.7258,15.7063, 94.3867);
  56. return 1;
  57. }
  58.  
  59. public OnPlayerConnect(playerid)
  60. {
  61. SendClientMessage(playerid, COLOR_WHITE, "Wellcome to Athens Street Drifting.");
  62. return 1;
  63. }
  64.  
  65. public OnPlayerDisconnect(playerid, reason)
  66. {
  67. return 1;
  68. }
  69.  
  70. public OnPlayerSpawn(playerid)
  71. {
  72. return 1;
  73. }
  74.  
  75. public OnPlayerDeath(playerid, killerid, reason)
  76. {
  77. return 1;
  78. }
  79.  
  80. public OnVehicleSpawn(vehicleid)
  81. {
  82. return 1;
  83. }
  84.  
  85. public OnVehicleDeath(vehicleid, killerid)
  86. {
  87. return 1;
  88. }
  89.  
  90. public OnPlayerText(playerid, text[])
  91. {
  92. return 1;
  93. }
  94.  
  95. public OnPlayerCommandText(playerid, cmdtext[])
  96. {
  97. if (strcmp("/help", cmdtext, true, 10) == 0)
  98. {
  99. SendClientMessage(playerid, COLOR_WHITE, "--HELP--");
  100. SendClientMessage(playerid, COLOR_WHITE, "This is a drift server,that means that you have to drift all the time to earn money buyhouses and become powerfull.");
  101. return 1;
  102. }
  103. if (strcmp("/drift1", cmdtext, true, 10) == 0)
  104. {
  105. SetPlayerPos(playerid, -329.6595, 1536.6796, 76.6117,107.2119);
  106. SendClientMessage(playerid, COLOR_WHITE, "You teleported to drift number 1.");
  107. return 1;
  108. }
  109. if (strcmp("/drift2", cmdtext, true, 10) == 0)
  110. {
  111. SetPlayerPos(playerid, 1260.6243, -2033.2208, 59.4021,215.3129);
  112. SendClientMessage(playerid, COLOR_WHITE, "You teleported to drift number 2.");
  113. return 1;
  114. }
  115. if (strcmp("/drift4", cmdtext, true, 10) == 0)
  116. {
  117. SetPlayerPos(playerid, -206.2010, -925.1776, 37.6453,43.2913);
  118. SendClientMessage(playerid, COLOR_WHITE, "You teleported to drift number 3.");
  119. return 1;
  120. }
  121. return 0;
  122. }
  123.  
  124. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  125. {
  126. return 1;
  127. }
  128.  
  129. public OnPlayerExitVehicle(playerid, vehicleid)
  130. {
  131. return 1;
  132. }
  133.  
  134. public OnPlayerStateChange(playerid, newstate, oldstate)
  135. {
  136. return 1;
  137. }
  138.  
  139. public OnPlayerEnterCheckpoint(playerid)
  140. {
  141. return 1;
  142. }
  143.  
  144. public OnPlayerLeaveCheckpoint(playerid)
  145. {
  146. return 1;
  147. }
  148.  
  149. public OnPlayerEnterRaceCheckpoint(playerid)
  150. {
  151. return 1;
  152. }
  153.  
  154. public OnPlayerLeaveRaceCheckpoint(playerid)
  155. {
  156. return 1;
  157. }
  158.  
  159. public OnRconCommand(cmd[])
  160. {
  161. return 1;
  162. }
  163.  
  164. public OnPlayerRequestSpawn(playerid)
  165. {
  166. return 1;
  167. }
  168.  
  169. public OnObjectMoved(objectid)
  170. {
  171. return 1;
  172. }
  173.  
  174. public OnPlayerObjectMoved(playerid, objectid)
  175. {
  176. return 1;
  177. }
  178.  
  179. public OnPlayerPickUpPickup(playerid, pickupid)
  180. {
  181. return 1;
  182. }
  183.  
  184. public OnVehicleMod(playerid, vehicleid, componentid)
  185. {
  186. return 1;
  187. }
  188.  
  189. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  190. {
  191. return 1;
  192. }
  193.  
  194. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  195. {
  196. return 1;
  197. }
  198.  
  199. public OnPlayerSelectedMenuRow(playerid, row)
  200. {
  201. return 1;
  202. }
  203.  
  204. public OnPlayerExitedMenu(playerid)
  205. {
  206. return 1;
  207. }
  208.  
  209. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  210. {
  211. return 1;
  212. }
  213.  
  214. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  215. {
  216. return 1;
  217. }
  218.  
  219. public OnRconLoginAttempt(ip[], password[], success)
  220. {
  221. return 1;
  222. }
  223.  
  224. public OnPlayerUpdate(playerid)
  225. {
  226. return 1;
  227. }
  228.  
  229. public OnPlayerStreamIn(playerid, forplayerid)
  230. {
  231. return 1;
  232. }
  233.  
  234. public OnPlayerStreamOut(playerid, forplayerid)
  235. {
  236. return 1;
  237. }
  238.  
  239. public OnVehicleStreamIn(vehicleid, forplayerid)
  240. {
  241. return 1;
  242. }
  243.  
  244. public OnVehicleStreamOut(vehicleid, forplayerid)
  245. {
  246. return 1;
  247. }
  248.  
  249. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  250. {
  251. return 1;
  252. }
  253.  
  254. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  255. {
  256. return 1;
  257. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement