Advertisement
Guest User

Animationssystem der Klasse 1 by Scripter4.0

a guest
May 15th, 2012
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.51 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.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11. print("\n--------------------------------------");
  12. print(" Kleines Animtations system by Schlatti");
  13. print("--------------------------------------\n");
  14. return 1;
  15. }
  16.  
  17. public OnFilterScriptExit()
  18. {
  19. return 1;
  20. }
  21.  
  22. #else
  23.  
  24. #endif
  25.  
  26.  
  27. public OnGameModeExit()
  28. {
  29. return 1;
  30. }
  31.  
  32. public OnPlayerRequestClass(playerid, classid)
  33. {
  34. return 1;
  35. }
  36.  
  37. public OnPlayerConnect(playerid)
  38. {
  39. return 1;
  40. }
  41.  
  42. public OnPlayerDisconnect(playerid, reason)
  43. {
  44. return 1;
  45. }
  46.  
  47. public OnPlayerSpawn(playerid)
  48. {
  49. return 1;
  50. }
  51.  
  52. public OnPlayerDeath(playerid, killerid, reason)
  53. {
  54. return 1;
  55. }
  56.  
  57. public OnVehicleSpawn(vehicleid)
  58. {
  59. return 1;
  60. }
  61.  
  62. public OnVehicleDeath(vehicleid, killerid)
  63. {
  64. return 1;
  65. }
  66.  
  67. public OnPlayerText(playerid, text[])
  68. {
  69. return 1;
  70. }
  71.  
  72. public OnPlayerCommandText(playerid, cmdtext[])
  73. {
  74. if (strcmp("/animhelp", cmdtext, true, 10) == 0)
  75. {
  76. SendClientMessage(playerid, 0x0087FFFF, "---------------Animationen---------------");
  77. SendClientMessage(playerid, 0x0087FFFF, "/stopanim - Stoppt die Animation");
  78. SendClientMessage(playerid, 0x0087FFFF, "/handsup");
  79. SendClientMessage(playerid, 0x0087FFFF, "/smoke");
  80. SendClientMessage(playerid, 0x0087FFFF, "/sit");
  81. SendClientMessage(playerid, 0x0087FFFF, "/piss");
  82. SendClientMessage(playerid, 0x0087FFFF, "/dance1");
  83. SendClientMessage(playerid, 0x0087FFFF, "/dance2");
  84. SendClientMessage(playerid, 0x0087FFFF, "/dance3");
  85. SendClientMessage(playerid, 0x0087FFFF, "/dance4");
  86. SendClientMessage(playerid, 0x0087FFFF, "-------------------------------------------");
  87. return 1;
  88. }
  89.  
  90. if (strcmp("/stopanim", cmdtext, true, 10) == 0)
  91. {
  92. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE);
  93. return 1;
  94. }
  95.  
  96. if (strcmp("/handsup", cmdtext, true, 10) == 0)
  97. {
  98. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  99. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  100. return 1;
  101. }
  102.  
  103. if (strcmp("/dance1", cmdtext, true, 10) == 0)
  104. {
  105. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
  106. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  107. return 1;
  108. }
  109.  
  110. if (strcmp("/dance2", cmdtext, true, 10) == 0)
  111. {
  112. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
  113. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  114. return 1;
  115. }
  116.  
  117. if (strcmp("/dance3", cmdtext, true, 10) == 0)
  118. {
  119. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
  120. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  121. return 1;
  122. }
  123.  
  124. if (strcmp("/dance4", cmdtext, true, 10) == 0)
  125. {
  126. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE4);
  127. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  128. return 1;
  129. }
  130.  
  131. if (strcmp("/sit", cmdtext, true, 10) == 0)
  132. {
  133. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SITTING);
  134. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  135. return 1;
  136. }
  137.  
  138. if (strcmp("/piss", cmdtext, true, 10) == 0)
  139. {
  140. SetPlayerSpecialAction(playerid,68);
  141. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  142. return 1;
  143. }
  144.  
  145. if (strcmp("/smoke", cmdtext, true, 10) == 0)
  146. {
  147. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_SMOKE_CIGGY);
  148. SendClientMessage(playerid, 0x0000FFFF,"Um die Animation zu beenden, gebe: /stopanim ein.");
  149. return 1;
  150. }
  151. return 0;
  152. }
  153.  
  154. public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
  155. {
  156. return 1;
  157. }
  158.  
  159. public OnPlayerExitVehicle(playerid, vehicleid)
  160. {
  161. return 1;
  162. }
  163.  
  164. public OnPlayerStateChange(playerid, newstate, oldstate)
  165. {
  166. return 1;
  167. }
  168.  
  169. public OnPlayerEnterCheckpoint(playerid)
  170. {
  171. return 1;
  172. }
  173.  
  174. public OnPlayerLeaveCheckpoint(playerid)
  175. {
  176. return 1;
  177. }
  178.  
  179. public OnPlayerEnterRaceCheckpoint(playerid)
  180. {
  181. return 1;
  182. }
  183.  
  184. public OnPlayerLeaveRaceCheckpoint(playerid)
  185. {
  186. return 1;
  187. }
  188.  
  189. public OnRconCommand(cmd[])
  190. {
  191. return 1;
  192. }
  193.  
  194. public OnPlayerRequestSpawn(playerid)
  195. {
  196. return 1;
  197. }
  198.  
  199. public OnObjectMoved(objectid)
  200. {
  201. return 1;
  202. }
  203.  
  204. public OnPlayerObjectMoved(playerid, objectid)
  205. {
  206. return 1;
  207. }
  208.  
  209. public OnPlayerPickUpPickup(playerid, pickupid)
  210. {
  211. return 1;
  212. }
  213.  
  214. public OnVehicleMod(playerid, vehicleid, componentid)
  215. {
  216. return 1;
  217. }
  218.  
  219. public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
  220. {
  221. return 1;
  222. }
  223.  
  224. public OnVehicleRespray(playerid, vehicleid, color1, color2)
  225. {
  226. return 1;
  227. }
  228.  
  229. public OnPlayerSelectedMenuRow(playerid, row)
  230. {
  231. return 1;
  232. }
  233.  
  234. public OnPlayerExitedMenu(playerid)
  235. {
  236. return 1;
  237. }
  238.  
  239. public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
  240. {
  241. return 1;
  242. }
  243.  
  244. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  245. {
  246. return 1;
  247. }
  248.  
  249. public OnRconLoginAttempt(ip[], password[], success)
  250. {
  251. return 1;
  252. }
  253.  
  254. public OnPlayerUpdate(playerid)
  255. {
  256. return 1;
  257. }
  258.  
  259. public OnPlayerStreamIn(playerid, forplayerid)
  260. {
  261. return 1;
  262. }
  263.  
  264. public OnPlayerStreamOut(playerid, forplayerid)
  265. {
  266. return 1;
  267. }
  268.  
  269. public OnVehicleStreamIn(vehicleid, forplayerid)
  270. {
  271. return 1;
  272. }
  273.  
  274. public OnVehicleStreamOut(vehicleid, forplayerid)
  275. {
  276. return 1;
  277. }
  278.  
  279. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
  280. {
  281. return 1;
  282. }
  283.  
  284. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  285. {
  286. return 1;
  287. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement