Advertisement
Guest User

Untitled

a guest
Feb 4th, 2012
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.34 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. new clignogauche[MAX_PLAYERS];
  4. new clignodroite[MAX_PLAYERS];
  5. new clignowarnings[MAX_PLAYERS];
  6. new name[MAX_PLAYERS];
  7.  
  8. #if defined FILTERSCRIPT
  9.  
  10. public OnFilterScriptInit()
  11. {
  12. return 1;
  13. }
  14.  
  15. public OnFilterScriptExit()
  16. {
  17. return 1;
  18. }
  19.  
  20. public OnPlayerRequestClass(playerid, classid)
  21. {
  22. // SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
  23. // SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
  24. // SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
  25. return 1;
  26. }
  27.  
  28. public OnPlayerConnect(playerid)
  29. {
  30. return 1;
  31. }
  32.  
  33. public OnPlayerDisconnect(playerid, reason)
  34. {
  35. return 1;
  36. }
  37.  
  38. public OnPlayerSpawn(playerid)
  39. {
  40. return 1;
  41. }
  42.  
  43. public OnPlayerDeath(playerid, killerid, reason)
  44. {
  45. return 1;
  46. }
  47.  
  48. public OnVehicleSpawn(vehicleid)
  49. {
  50. return 1;
  51. }
  52.  
  53. public OnVehicleDeath(vehicleid, killerid)
  54. {
  55. return 1;
  56. }
  57.  
  58. public OnPlayerText(playerid, text[])
  59. {
  60. return 1;
  61. }
  62.  
  63. public OnPlayerCommandText(playerid, cmdtext[])
  64. {
  65. if (strcmp("/cg", cmdtext, true, 10) == 0)
  66. {
  67. SendClientMessage(playerid, COLOR_GREEN, "<== Clignotant gauche <==");
  68. format(string,sizeof(string,"%s a mit son clignotant gauche <==", name);
  69. SendClientMessageToAll(playerid, COLOR_WHITE);
  70. clignogauche = Create3DTextLabel(playerid, "<== Clignotant gauche <==");
  71. }
  72.  
  73. if (strcmp("/cd", cmdtext, true, 10) == 0)
  74. {
  75. SendClientMessage(playerid, COLOR_GREEN, "==> Clignotant droite ==>");
  76. format(string,sizeof(string,"%s a mit son clignotant droite", name);
  77. SendClientMessageToAll(playerid, COLOR_WHITE);
  78. clignodroite = Create3DTextLabel(playerid, "==> Clignotant droite ==>");
  79. }
  80.  
  81. if (strcmp("/co", cmdtext, true, 10) == 0)
  82. {
  83. SendClientMessage(playerid, COLOR_GREEN, "Clignotant désactivé");
  84. format(string,sizeof(string,"%s vient de désactiver son clignotant");
  85. SendClientMessageToAll(playerid, COLOR_WHITE);
  86. clignodroite = Delete3DTextLabel(playerid);
  87. clignogauche = Delete3DTextLabel(playerid);
  88. clignowarnings = Delete3DTextLabel(playerid);
  89. }
  90.  
  91. if (strcmp("/cw", cmdtext, true, 10) == 0)
  92. {
  93. SendClientMessage(playerid, COLOR_RED, "Warnings activés ! Attention, veillez à ne pas vous mettre sur la route complètement.");
  94. format(string,sizeof(string,"%s vient d'activer ses warnings",name);
  95. SendClientMessageToAll(playerid, COLOR_WHITE);
  96. clignowarnings = Create3DTextLabel(playerid, "<==> Clignotants Warnings <==>");
  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. }
  235. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement