Advertisement
Guest User

FS_News serveur

a guest
Feb 2nd, 2012
180
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. #if defined FILTERSCRIPT
  4.  
  5. public OnFilterScriptInit()
  6. {
  7. return 1;
  8. }
  9.  
  10. public OnFilterScriptExit()
  11. { return 1;
  12. }
  13.  
  14. public OnPlayerRequestClass(playerid, classid)
  15. {
  16. /* SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  17. SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  18. SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);*/
  19. return 1;
  20. }
  21.  
  22. public OnPlayerConnect(playerid)
  23. {
  24. SendClientMessage(playerid, COLOR_BLACK, "Insérez les news ici");
  25. SendClientMessage(playerid, COLOR_BLACK, "Insérez les news ici");
  26. SendClientMessage(playerid, COLOR_BLACK, "Insérez les news ici");
  27. return 1;
  28. }
  29.  
  30. public OnPlayerDisconnect(playerid, reason)
  31. {
  32. return 1;
  33. }
  34.  
  35. public OnPlayerSpawn(playerid)
  36. {
  37. return 1;
  38. }
  39.  
  40. public OnPlayerDeath(playerid, killerid, reason)
  41. {
  42. return 1;
  43. }
  44.  
  45. public OnVehicleSpawn(vehicleid)
  46. {
  47. return 1;
  48. }
  49.  
  50. public OnVehicleDeath(vehicleid, killerid)
  51. {
  52. return 1;
  53. }
  54.  
  55. public OnPlayerText(playerid, text[])
  56. {
  57. return 1;
  58. }
  59.  
  60. public OnPlayerCommandText(playerid, cmdtext[])
  61. {
  62. if (strcmp("/newsserveur", cmdtext, true, 10) == 0)
  63. {
  64. SendClientMessage(playerid, COLOR_BLACK, "Insérez les news ici");
  65. SendClientMessage(playerid, COLOR_BLACK, "Insérez les news ici");
  66. SendClientMessage(playerid, COLOR_BLACK, "Insérez les news ici");
  67. return 1;
  68. }
  69. return 0;
  70. }
  71.  
  72. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  73. {
  74. return 1;
  75. }
  76.  
  77. public OnPlayerExitVehicle(playerid, vehicleid)
  78. {
  79. return 1;
  80. }
  81.  
  82. public OnPlayerStateChange(playerid, newstate, oldstate)
  83. {
  84. return 1;
  85. }
  86.  
  87. public OnPlayerEnterCheckpoint(playerid)
  88. {
  89. return 1;
  90. }
  91.  
  92. public OnPlayerLeaveCheckpoint(playerid)
  93. {
  94. return 1;
  95. }
  96.  
  97. public OnPlayerEnterRaceCheckpoint(playerid)
  98. {
  99. return 1;
  100. }
  101.  
  102. public OnPlayerLeaveRaceCheckpoint(playerid)
  103. {
  104. return 1;
  105. }
  106.  
  107. public OnRconCommand(cmd[])
  108. {
  109. return 1;
  110. }
  111.  
  112. public OnPlayerRequestSpawn(playerid)
  113. {
  114. return 1;
  115. }
  116.  
  117. public OnObjectMoved(objectid)
  118. {
  119. return 1;
  120. }
  121.  
  122. public OnPlayerObjectMoved(playerid, objectid)
  123. {
  124. return 1;
  125. }
  126.  
  127. public OnPlayerPickUpPickup(playerid, pickupid)
  128. {
  129. return 1;
  130. }
  131.  
  132. public OnVehicleMod(playerid, vehicleid, componentid)
  133. {
  134. return 1;
  135. }
  136.  
  137. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  138. {
  139. return 1;
  140. }
  141.  
  142. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  143. {
  144. return 1;
  145. }
  146.  
  147. public OnPlayerSelectedMenuRow(playerid, row)
  148. {
  149. return 1;
  150. }
  151.  
  152. public OnPlayerExitedMenu(playerid)
  153. {
  154. return 1;
  155. }
  156.  
  157. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  158. {
  159. return 1;
  160. }
  161.  
  162. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  163. {
  164. return 1;
  165. }
  166.  
  167. public OnRconLoginAttempt(ip[], password[], success)
  168. {
  169. return 1;
  170. }
  171.  
  172. public OnPlayerUpdate(playerid)
  173. {
  174. return 1;
  175. }
  176.  
  177. public OnPlayerStreamIn(playerid, forplayerid)
  178. {
  179. return 1;
  180. }
  181.  
  182. public OnPlayerStreamOut(playerid, forplayerid)
  183. {
  184. return 1;
  185. }
  186.  
  187. public OnVehicleStreamIn(vehicleid, forplayerid)
  188. {
  189. return 1;
  190. }
  191.  
  192. public OnVehicleStreamOut(vehicleid, forplayerid)
  193. {
  194. return 1;
  195. }
  196.  
  197. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  198. {
  199. return 1;
  200. }
  201.  
  202. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  203. {
  204. return 1;
  205. }
  206. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement