Advertisement
Guest User

Mein BTL Script

a guest
May 22nd, 2013
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. //Includes
  2. #include <a_samp>
  3.  
  4. //Farben
  5.  
  6.  
  7. //Forwards
  8.  
  9.  
  10. //Defines
  11.  
  12.  
  13. //new
  14.  
  15.  
  16. //Texte
  17. new Text:Forum;
  18.  
  19. main()
  20. {
  21. print("\n----------------------------------");
  22. print("Mein Eigens BTL Script Wird Geladen....");
  23. print("----------------------------------\n");
  24. }
  25.  
  26.  
  27. public OnGameModeInit()
  28. {
  29. //Forum && TS³
  30. Forum = TextDrawCreate(5,2,"Back To Life V1.0");
  31. TextDrawFont(Forum,2);
  32. TextDrawColor(Forum,0x00AFFFFF);
  33. TextDrawAlignment(Forum,3);
  34. TextDrawBackgroundColor(Forum,255);
  35. TextDrawFont(Forum, 0);
  36. TextDrawLetterSize(Forum, 0.619999, 2.49999);
  37. TextDrawSetProportional(Forum,1);
  38. TextDrawSetOutline(Forum, 1);
  39. //Sons
  40. SetGameModeText("BTL");
  41. AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
  42. return 1;
  43. }
  44.  
  45. public OnGameModeExit()
  46. {
  47. return 1;
  48. }
  49.  
  50. public OnPlayerRequestClass(playerid, classid)
  51. {
  52. PlayAudioStreamForPlayer(playerid, "http://erox45.er.funpic.de/Sounds/Intro.mp3");
  53. return 1;
  54. }
  55.  
  56. public OnPlayerConnect(playerid)
  57. {
  58. return 1;
  59. }
  60.  
  61. public OnPlayerDisconnect(playerid, reason)
  62. {
  63. return 1;
  64. }
  65.  
  66. public OnPlayerSpawn(playerid)
  67. {
  68. return 1;
  69. }
  70.  
  71. public OnPlayerDeath(playerid, killerid, reason)
  72. {
  73. return 1;
  74. }
  75.  
  76. public OnVehicleSpawn(vehicleid)
  77. {
  78. return 1;
  79. }
  80.  
  81. public OnVehicleDeath(vehicleid, killerid)
  82. {
  83. return 1;
  84. }
  85.  
  86. public OnPlayerText(playerid, text[])
  87. {
  88. return 1;
  89. }
  90.  
  91. public OnPlayerCommandText(playerid, cmdtext[])
  92. {
  93. if (strcmp("/mycommand", cmdtext, true, 10) == 0)
  94. {
  95. // Do something here
  96. return 1;
  97. }
  98. return 0;
  99. }
  100.  
  101. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  102. {
  103. return 1;
  104. }
  105.  
  106. public OnPlayerExitVehicle(playerid, vehicleid)
  107. {
  108. return 1;
  109. }
  110.  
  111. public OnPlayerStateChange(playerid, newstate, oldstate)
  112. {
  113. return 1;
  114. }
  115.  
  116. public OnPlayerEnterCheckpoint(playerid)
  117. {
  118. return 1;
  119. }
  120.  
  121. public OnPlayerLeaveCheckpoint(playerid)
  122. {
  123. return 1;
  124. }
  125.  
  126. public OnPlayerEnterRaceCheckpoint(playerid)
  127. {
  128. return 1;
  129. }
  130.  
  131. public OnPlayerLeaveRaceCheckpoint(playerid)
  132. {
  133. return 1;
  134. }
  135.  
  136. public OnRconCommand(cmd[])
  137. {
  138. return 1;
  139. }
  140.  
  141. public OnPlayerRequestSpawn(playerid)
  142. {
  143. return 1;
  144. }
  145.  
  146. public OnObjectMoved(objectid)
  147. {
  148. return 1;
  149. }
  150.  
  151. public OnPlayerObjectMoved(playerid, objectid)
  152. {
  153. return 1;
  154. }
  155.  
  156. public OnPlayerPickUpPickup(playerid, pickupid)
  157. {
  158. return 1;
  159. }
  160.  
  161. public OnVehicleMod(playerid, vehicleid, componentid)
  162. {
  163. return 1;
  164. }
  165.  
  166. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  167. {
  168. return 1;
  169. }
  170.  
  171. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  172. {
  173. return 1;
  174. }
  175.  
  176. public OnPlayerSelectedMenuRow(playerid, row)
  177. {
  178. return 1;
  179. }
  180.  
  181. public OnPlayerExitedMenu(playerid)
  182. {
  183. return 1;
  184. }
  185.  
  186. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  187. {
  188. return 1;
  189. }
  190.  
  191. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  192. {
  193. return 1;
  194. }
  195.  
  196. public OnRconLoginAttempt(ip[], password[], success)
  197. {
  198. return 1;
  199. }
  200.  
  201. public OnPlayerUpdate(playerid)
  202. {
  203. return 1;
  204. }
  205.  
  206. public OnPlayerStreamIn(playerid, forplayerid)
  207. {
  208. return 1;
  209. }
  210.  
  211. public OnPlayerStreamOut(playerid, forplayerid)
  212. {
  213. return 1;
  214. }
  215.  
  216. public OnVehicleStreamIn(vehicleid, forplayerid)
  217. {
  218. return 1;
  219. }
  220.  
  221. public OnVehicleStreamOut(vehicleid, forplayerid)
  222. {
  223. return 1;
  224. }
  225.  
  226. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  227. {
  228. return 1;
  229. }
  230.  
  231. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  232. {
  233. return 1;
  234. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement