Advertisement
Guest User

Animsbywoozie

a guest
Nov 18th, 2012
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 216.38 KB | None | 0 0
  1. #include <a_samp>
  2. #include <core>
  3. #include <float>
  4. #include <dini>
  5. #include <dutils>
  6. #include <dudb>
  7. #include <a_objects>
  8. #include <time>
  9. #include <string>
  10. #include <file>
  11. #define COLOR_SYSTEM 0xEFEFF7AA
  12. #define COLOR_VIOLET 0x9955DEEE
  13. #define COLOR_LIGHTRED 0xFF99AADD
  14. #define COLOR_SEAGREEN 0x00EEADDF
  15. #define COLOR_GRAYWHITE 0xEEEEFFC4
  16. #define COLOR_LIGHTNEUTRALBLUE 0xabcdef66
  17. #define COLOR_GREENISHGOLD 0xDEAD4370
  18. #define COLOR_LIGHTBLUEGREEN 0x0FFDD349
  19. #define COLOR_NEUTRALBLUE 0xABCDEF01
  20. #define COLOR_LIGHTCYAN 0xAAFFCC33
  21. #define COLOR_LEMON 0xDDDD2357
  22. #define COLOR_MEDIUMBLUE 0x63AFF00A
  23. #define COLOR_NEUTRAL 0xABCDEF97
  24. #define COLOR_BLACK 0x00000000
  25. #define COLOR_NEUTRALGREEN 0x81CFAB00
  26. #define COLOR_DARKGREEN 0x12900BBF
  27. #define COLOR_LIGHTGREEN 0x24FF0AB9
  28. #define COLOR_DARKBLUE 0x300FFAAB
  29. #define COLOR_BLUEGREEN 0x46BBAA00
  30. #define COLOR_PINK 0xFF66FFAA
  31. #define COLOR_BLUE 0x0000BBAA
  32. #define COLOR_LIGHTBLUE 0x33CCFFAA
  33. #define COLOR_DARKRED 0x660000AA
  34. #define COLOR_ORANGE 0xFF9900AA
  35. #define COLOR_GREY 0xAFAFAFAA
  36. #define COLOR_GREEN 0x33AA33AA
  37. #define COLOR_RED 0xAA3333AA
  38. #define COLOR_YELLOW 0xFFFF00AA
  39. #define COLOR_WHITE 0xFFFFFFAA
  40. #define COLOR_PURPLE 0x800080AA
  41. #define COLOR_CYAN      0x40FFFFFF
  42. public OnPlayerCommandText(playerid, cmdtext[])
  43. {
  44. new animationplayed;
  45. new tmp[256];
  46. new cmd[256];
  47. new idx;
  48. cmd = strtok(cmdtext, idx);
  49.  //Àíèìàöèè
  50. if(strcmp(cmdtext, "/animhelp", true) == 0) {
  51. SendClientMessage(playerid, COLOR_GREEN,">/animped /dance /handsup /animclothes /animcoach /animcolt /animcopa /animcod /animcrack");
  52. SendClientMessage(playerid, COLOR_GREEN,">/animairport /animat /animbar /animball /animfire /animbeach");
  53. SendClientMessage(playerid, COLOR_GREEN,">/animbp /animinf /animbiked /animbh /animfood /animbikelp /animms /animbikes /animcar");
  54. SendClientMessage(playerid, COLOR_GREEN,">/animbikev /animbmx /animbikedbz /animchase /animbox /animbomber /animbsp /animcamera ");
  55. SendClientMessage(playerid, COLOR_GREEN,">/animgym /animpara /animgangs /animlookers /animcarchat /animcasino /animbuddy /animbus");
  56. SendClientMessage(playerid, COLOR_GREEN,">/animcarry /animintshop /animjst /animkart /animkissing /animknife /animlapdan /animdend");
  57. SendClientMessage(playerid, COLOR_GREEN,">/animmedic /animmtb /animmusc /animotb /animnevada /animpark /animsaw /animchoppa");
  58. SendClientMessage(playerid, COLOR_GREEN,">/animhelp2 - next animation list.");
  59. return 1;
  60. }
  61. if(strcmp(cmdtext, "/animhelp2", true) == 0) {
  62. SendClientMessage(playerid, COLOR_GREEN,">/animcrib /animjump /animdealer /animdildo /animdodge /animdozer  /animdrivebys /animfat");
  63. SendClientMessage(playerid, COLOR_GREEN,">/animfightb /animfightc /animfightd /animfighte /animfinale /animfinale2 /animflamef");
  64. SendClientMessage(playerid, COLOR_GREEN,">/animflowers /animghands /animfw /animghetto /animgog /animgraffity /animgreya /animgren");
  65. SendClientMessage(playerid, COLOR_GREEN,">/animhaircut /animheist  /animinthouse /animintoffice /animplayerdbf /animplayidles /animpolice");
  66. SendClientMessage(playerid, COLOR_GREEN,">/animpool /animpoor /animpython /animquad /animquadbz /animrapping  /animrifle /animriot /animrobbank ");
  67. SendClientMessage(playerid, COLOR_GREEN,">/animrocket /animrustler /animryder /animscrat /animshamal /animshop /animskate /animshotgun");
  68. SendClientMessage(playerid, COLOR_GREEN,">/animvortex /animtec /animtrain /animsil /animtattoo  /animsmoking /animsniper /animspray /animstrip");
  69. SendClientMessage(playerid, COLOR_GREEN,">/animbath /animswat /animsweet /animswim /animsword /animtank /animtruck /animuzi  /animvan /animvending");
  70. SendClientMessage(playerid, COLOR_GREEN,">/animway /animweap");
  71. return 1;
  72. }
  73. if(strcmp(cmd, "/animbar", true) == 0) {
  74. tmp = strtok(cmdtext, idx);
  75. if(!strlen(tmp)) {
  76. SendClientMessage(playerid,0xFF0000FF,">Write /animbar [1-12]");
  77. return 1;
  78. }
  79. animationplayed = strval(tmp);
  80. if(animationplayed < 1 || animationplayed > 12) {
  81. SendClientMessage(playerid,0xFF0000FF,">Write /animbar [1-12]");
  82. return 1;
  83. }
  84. if(animationplayed == 1) {
  85. ApplyAnimation(playerid,"BAR","Barcustom_get",4.1,0,1,1,1,1);
  86. } else if(animationplayed == 2) {
  87. ApplyAnimation(playerid,"BAR","Barcustom_loop",4.1,0,1,1,1,1);
  88. } else if(animationplayed == 3) {
  89. ApplyAnimation(playerid,"BAR","Barcustom_order",4.1,0,1,1,1,1);
  90. } else if(animationplayed == 4) {
  91. ApplyAnimation(playerid,"BAR","Barserve_bottle",4.1,0,1,1,1,1);
  92. } else if(animationplayed == 5) {
  93. ApplyAnimation(playerid,"BAR","Barserve_give",4.1,0,1,1,1,1);
  94. } else if(animationplayed == 6) {
  95. ApplyAnimation(playerid,"BAR","Barserve_glass",4.1,0,1,1,1,1);
  96. } else if(animationplayed == 7) {
  97. ApplyAnimation(playerid,"BAR","Barserve_in",4.1,0,1,1,1,1);
  98. } else if(animationplayed == 8) {
  99. ApplyAnimation(playerid,"BAR","Barserve_loop",4.1,0,1,1,1,1);
  100. } else if(animationplayed == 9) {
  101. ApplyAnimation(playerid,"BAR","Barserve_order",4.1,0,1,1,1,1);
  102. } else if(animationplayed == 10) {
  103. ApplyAnimation(playerid,"BAR","dnk_stndF_loop",4.1,0,1,1,1,1);
  104. } else if(animationplayed == 11) {
  105. ApplyAnimation(playerid,"BAR","dnk_stndM_loop",4.1,0,1,1,1,1);
  106. } else if(animationplayed == 12) {
  107. ApplyAnimation(playerid,"BAR","BARman_idle",4.1,0,1,1,1,1);
  108. }
  109. return 1;
  110. }
  111. if(strcmp(cmd, "/animball", true) == 0) {
  112. tmp = strtok(cmdtext, idx);
  113. if(!strlen(tmp)) {
  114. SendClientMessage(playerid,0xFF0000FF,">Write /animball [1-11]");
  115. return 1;
  116. }
  117. animationplayed = strval(tmp);
  118. if(animationplayed < 1 || animationplayed > 11) {
  119. SendClientMessage(playerid,0xFF0000FF,">Write /animball [1-11]");
  120. return 1;
  121. }
  122. if(animationplayed == 1) {
  123. ApplyAnimation(playerid,"BASEBALL","Bat_1",4.1,0,1,1,1,1);
  124. } else if(animationplayed == 2) {
  125. ApplyAnimation(playerid,"BASEBALL","Bat_2",4.1,0,1,1,1,1);
  126. } else if(animationplayed == 3) {
  127. ApplyAnimation(playerid,"BASEBALL","Bat_2",4.1,0,1,1,1,1);
  128. } else if(animationplayed == 4) {
  129. ApplyAnimation(playerid,"BASEBALL","Bat_4",4.1,0,1,1,1,1);
  130. } else if(animationplayed == 5) {
  131. ApplyAnimation(playerid,"BASEBALL","Bat_block",4.1,0,1,1,1,1);
  132. } else if(animationplayed == 6) {
  133. ApplyAnimation(playerid,"BASEBALL","Bat_Hit_1",4.1,0,1,1,1,1);
  134. } else if(animationplayed == 7) {
  135. ApplyAnimation(playerid,"BASEBALL","Bat_Hit_2",4.1,0,1,1,1,1);
  136. } else if(animationplayed == 8) {
  137. ApplyAnimation(playerid,"BASEBALL","Bat_Hit_3",4.1,0,1,1,1,1);
  138. } else if(animationplayed == 9) {
  139. ApplyAnimation(playerid,"BASEBALL","Bat_IDLE",4.1,0,1,1,1,1);
  140. } else if(animationplayed == 10) {
  141. ApplyAnimation(playerid,"BASEBALL","Bat_M",4.1,0,1,1,1,1);
  142. } else if(animationplayed == 11) {
  143. ApplyAnimation(playerid,"BASEBALL","BAT_PART",4.1,0,1,1,1,1);
  144. }
  145. return 1;
  146. }
  147. if(strcmp(cmd, "/animfire", true) == 0) {
  148. tmp = strtok(cmdtext, idx);
  149. if(!strlen(tmp)) {
  150. SendClientMessage(playerid,0xFF0000FF,">Write /animfire [1-13]");
  151. return 1;
  152. }
  153. animationplayed = strval(tmp);
  154. if(animationplayed < 1 || animationplayed > 13) {
  155. SendClientMessage(playerid,0xFF0000FF,">Write /animfire [1-13]");
  156. return 1;
  157. }
  158. if(animationplayed == 1) {
  159. ApplyAnimation(playerid,"BD_FIRE","BD_Fire1",4.1,0,1,1,1,1);
  160. } else if(animationplayed == 2) {
  161. ApplyAnimation(playerid,"BD_FIRE","BD_Fire2",4.1,0,1,1,1,1);
  162. } else if(animationplayed == 3) {
  163. ApplyAnimation(playerid,"BD_FIRE","BD_Fire3",4.1,0,1,1,1,1);
  164. } else if(animationplayed == 4) {
  165. ApplyAnimation(playerid,"BD_FIRE","BD_GF_Wave",4.1,0,1,1,1,1);
  166. } else if(animationplayed == 5) {
  167. ApplyAnimation(playerid,"BD_FIRE","BD_Panic_01",4.1,0,1,1,1,1);
  168. } else if(animationplayed == 6) {
  169. ApplyAnimation(playerid,"BD_FIRE","BD_Panic_02",4.1,0,1,1,1,1);
  170. } else if(animationplayed == 7) {
  171. ApplyAnimation(playerid,"BD_FIRE","BD_Panic_03",4.1,0,1,1,1,1);
  172. } else if(animationplayed == 8) {
  173. ApplyAnimation(playerid,"BD_FIRE","BD_Panic_04",4.1,0,1,1,1,1);
  174. } else if(animationplayed == 9) {
  175. ApplyAnimation(playerid,"BD_FIRE","BD_Panic_Loop",4.1,0,1,1,1,1);
  176. } else if(animationplayed == 10) {
  177. ApplyAnimation(playerid,"BD_FIRE","M_smklean_loop",4.1,0,1,1,1,1);
  178. } else if(animationplayed == 11) {
  179. ApplyAnimation(playerid,"BD_FIRE","M_smklean_loop",4.1,0,1,1,1,1);
  180. } else if(animationplayed == 12) {
  181. ApplyAnimation(playerid,"BD_FIRE","Playa_Kiss_03",4.1,0,1,1,1,1);
  182. } else if(animationplayed == 13) {
  183. ApplyAnimation(playerid,"BD_FIRE","wash_up",4.1,0,1,1,1,1);
  184. }
  185. return 1;
  186. }
  187. if(strcmp(cmd, "/animbeach", true) == 0) {
  188. tmp = strtok(cmdtext, idx);
  189. if(!strlen(tmp)) {
  190. SendClientMessage(playerid,0xFF0000FF,">Write /animbeach [1-5]");
  191. return 1;
  192. }
  193. animationplayed = strval(tmp);
  194. if(animationplayed < 1 || animationplayed > 5) {
  195. SendClientMessage(playerid,0xFF0000FF,">Write /animbeach [1-5]");
  196. return 1;
  197. }
  198. if(animationplayed == 1) {
  199. ApplyAnimation(playerid,"BEACH","bather",4.1,0,1,1,1,1);
  200. } else if(animationplayed == 2) {
  201. ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1,0,1,1,1,1);
  202. } else if(animationplayed == 3) {
  203. ApplyAnimation(playerid,"BEACH","BD_Fire3",4.1,0,1,1,1,1);
  204. } else if(animationplayed == 4) {
  205. ApplyAnimation(playerid,"BEACH","ParkSit_W_loop",4.1,0,1,1,1,1);
  206. } else if(animationplayed == 5) {
  207. ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1,0,1,1,1,1);
  208. }
  209. return 1;
  210. }
  211. if(strcmp(cmd, "/animinf", true) == 0) {
  212. tmp = strtok(cmdtext, idx);
  213. if(!strlen(tmp)) {
  214. SendClientMessage(playerid,0xFF0000FF,">Write /animinf [1-4]");
  215. return 1;
  216. }
  217. animationplayed = strval(tmp);
  218. if(animationplayed < 1 || animationplayed > 4) {
  219. SendClientMessage(playerid,0xFF0000FF,">Write /animinf [1-4]");
  220. return 1;
  221. }
  222. if(animationplayed == 1) {
  223. ApplyAnimation(playerid,"BF_injection","BF_getin_LHS",4.1,0,1,1,1,1);
  224. } else if(animationplayed == 2) {
  225. ApplyAnimation(playerid,"BF_injection","BF_getin_RHS",4.1,0,1,1,1,1);
  226. } else if(animationplayed == 3) {
  227. ApplyAnimation(playerid,"BF_injection","BF_getout_LHS",4.1,0,1,1,1,1);
  228. } else if(animationplayed == 4) {
  229. ApplyAnimation(playerid,"BF_injection","BF_getout_RHS",4.1,0,1,1,1,1);
  230. }
  231. return 1;
  232. }
  233. if(strcmp(cmd, "/animbiked", true) == 0) {
  234. tmp = strtok(cmdtext, idx);
  235. if(!strlen(tmp)) {
  236. SendClientMessage(playerid,0xFF0000FF,">Write /animbiked [1-18]");
  237. return 1;
  238. }
  239. animationplayed = strval(tmp);
  240. if(animationplayed < 1 || animationplayed > 18) {
  241. SendClientMessage(playerid,0xFF0000FF,">Write /animbiked [1-18]");
  242. return 1;
  243. }
  244. if(animationplayed == 1) {
  245. ApplyAnimation(playerid,"BIKED","BIKEd_Back",4.1,0,1,1,1,1);
  246. }else if(animationplayed == 1) {
  247. ApplyAnimation(playerid,"BIKED","BIKEd_drivebyFT",4.1,0,1,1,1,1);
  248. }else if(animationplayed == 2) {
  249. ApplyAnimation(playerid,"BIKED","BIKEd_drivebyLHS",4.1,0,1,1,1,1);
  250. }else if(animationplayed == 3) {
  251. ApplyAnimation(playerid,"BIKED","BIKEd_drivebyRHS",4.1,0,1,1,1,1);
  252. }else if(animationplayed == 4) {
  253. ApplyAnimation(playerid,"BIKED","BIKEd_Fwd",4.1,0,1,1,1,1);
  254. }else if(animationplayed == 5) {
  255. ApplyAnimation(playerid,"BIKED","BIKEd_getoffBACK",4.1,0,1,1,1,1);
  256. }else if(animationplayed == 6) {
  257. ApplyAnimation(playerid,"BIKED","BIKEd_getoffLHS",4.1,0,1,1,1,1);
  258. }else if(animationplayed == 7) {
  259. ApplyAnimation(playerid,"BIKED","BIKEd_getoffRHS",4.1,0,1,1,1,1);
  260. }else if(animationplayed == 8) {
  261. ApplyAnimation(playerid,"BIKED","BIKEd_hit",4.1,0,1,1,1,1);
  262. }else if(animationplayed == 9) {
  263. ApplyAnimation(playerid,"BIKED","BIKEd_jumponL",4.1,0,1,1,1,1);
  264. }else if(animationplayed == 10) {
  265. ApplyAnimation(playerid,"BIKED","BIKEd_jumponR",4.1,0,1,1,1,1);
  266. }else if(animationplayed == 11) {
  267. ApplyAnimation(playerid,"BIKED","BIKEd_kick",4.1,0,1,1,1,1);
  268. }else if(animationplayed == 12) {
  269. ApplyAnimation(playerid,"BIKED","BIKEd_Left",4.1,0,1,1,1,1);
  270. }else if(animationplayed == 13) {
  271. ApplyAnimation(playerid,"BIKED","BIKEd_passenger",4.1,0,1,1,1,1);
  272. }else if(animationplayed == 14) {
  273. ApplyAnimation(playerid,"BIKED","BIKEd_pushes",4.1,0,1,1,1,1);
  274. }else if(animationplayed == 15) {
  275. ApplyAnimation(playerid,"BIKED","BIKEd_Ride",4.1,0,1,1,1,1);
  276. }else if(animationplayed == 16) {
  277. ApplyAnimation(playerid,"BIKED","BIKEd_Right",4.1,0,1,1,1,1);
  278. }else if(animationplayed == 17) {
  279. ApplyAnimation(playerid,"BIKED","BIKEd_shuffle",4.1,0,1,1,1,1);
  280. }else if(animationplayed == 18) {
  281. ApplyAnimation(playerid,"BIKED","BIKEd_Still",4.1,0,1,1,1,1);
  282. }
  283. return 1;
  284. }
  285. if(strcmp(cmd, "/animbp", true) == 0) {
  286. tmp = strtok(cmdtext, idx);
  287. if(!strlen(tmp)) {
  288. SendClientMessage(playerid,0xFF0000FF,">Write /animbp [1-7]");
  289. return 1;
  290. }
  291. animationplayed = strval(tmp);
  292. if(animationplayed < 1 || animationplayed > 7) {
  293. SendClientMessage(playerid,0xFF0000FF,">Write /animbp [1-7]");
  294. return 1;
  295. }
  296. if(animationplayed == 1) {
  297. ApplyAnimation(playerid,"benchpress","gym_bp_celebrate",4.1,0,1,1,1,1);
  298. }else if(animationplayed == 2) {
  299. ApplyAnimation(playerid,"benchpress","gym_bp_down",4.1,0,1,1,1,1);
  300. }else if(animationplayed == 3) {
  301. ApplyAnimation(playerid,"benchpress","gym_bp_getoff",4.1,0,1,1,1,1);
  302. }else if(animationplayed == 4) {
  303. ApplyAnimation(playerid,"benchpress","gym_bp_geton",4.1,0,1,1,1,1);
  304. }else if(animationplayed == 5) {
  305. ApplyAnimation(playerid,"benchpress","gym_bp_up_A",4.1,0,1,1,1,1);
  306. }else if(animationplayed == 6) {
  307. ApplyAnimation(playerid,"benchpress","gym_bp_up_B",4.1,0,1,1,1,1);
  308. }else if(animationplayed == 7) {
  309. ApplyAnimation(playerid,"benchpress","gym_bp_up_smooth",4.1,0,1,1,1,1);
  310. }
  311. return 1;
  312. }
  313. if(strcmp(cmd, "/animbh", true) == 0) {
  314. tmp = strtok(cmdtext, idx);
  315. if(!strlen(tmp)) {
  316. SendClientMessage(playerid,0xFF0000FF,">Write /animbh [1-18]");
  317. return 1;
  318. }
  319. animationplayed = strval(tmp);
  320. if(animationplayed < 1 || animationplayed > 18) {
  321. SendClientMessage(playerid,0xFF0000FF,">Write /animbh [1-18]");
  322. return 1;
  323. }
  324. if(animationplayed == 1) {
  325. ApplyAnimation(playerid,"BIKEH","BIKEh_Back",4.1,0,1,1,1,1);
  326. }else if(animationplayed == 2) {
  327. ApplyAnimation(playerid,"BIKEH","BIKEh_drivebyFT",4.1,0,1,1,1,1);
  328. }else if(animationplayed == 3) {
  329. ApplyAnimation(playerid,"BIKEH","BIKEh_drivebyLHS",4.1,0,1,1,1,1);
  330. }else if(animationplayed == 4) {
  331. ApplyAnimation(playerid,"BIKEH","BIKEh_drivebyRHS",4.1,0,1,1,1,1);
  332. }else if(animationplayed == 5) {
  333. ApplyAnimation(playerid,"BIKEH","BIKEh_Fwd",4.1,0,1,1,1,1);
  334. }else if(animationplayed == 6) {
  335. ApplyAnimation(playerid,"BIKEH","BIKEh_getoffBACK",4.1,0,1,1,1,1);
  336. }else if(animationplayed == 7) {
  337. ApplyAnimation(playerid,"BIKEH","BIKEh_getoffLHS",4.1,0,1,1,1,1);
  338. }else if(animationplayed == 8) {
  339. ApplyAnimation(playerid,"BIKEH","BIKEh_getoffRHS",4.1,0,1,1,1,1);
  340. }else if(animationplayed == 9) {
  341. ApplyAnimation(playerid,"BIKEH","BIKEh_hit",4.1,0,1,1,1,1);
  342. }else if(animationplayed == 10) {
  343. ApplyAnimation(playerid,"BIKEH","BIKEh_jumponL",4.1,0,1,1,1,1);
  344. }else if(animationplayed == 11) {
  345. ApplyAnimation(playerid,"BIKEH","BIKEh_jumponR",4.1,0,1,1,1,1);
  346. }else if(animationplayed == 12) {
  347. ApplyAnimation(playerid,"BIKEH","BIKEh_kick",4.1,0,1,1,1,1);
  348. }else if(animationplayed == 13) {
  349. ApplyAnimation(playerid,"BIKEH","BIKEh_Left",4.1,0,1,1,1,1);
  350. }else if(animationplayed == 14) {
  351. ApplyAnimation(playerid,"BIKEH","BIKEh_passenger",4.1,0,1,1,1,1);
  352. }else if(animationplayed == 15) {
  353. ApplyAnimation(playerid,"BIKEH","BIKEh_pushes",4.1,0,1,1,1,1);
  354. }else if(animationplayed == 16) {
  355. ApplyAnimation(playerid,"BIKEH","BIKEh_Ride",4.1,0,1,1,1,1);
  356. }else if(animationplayed == 17) {
  357. ApplyAnimation(playerid,"BIKEH","BIKEh_Right",4.1,0,1,1,1,1);
  358. }else if(animationplayed == 18) {
  359. ApplyAnimation(playerid,"BIKEH","BIKEh_Still",4.1,0,1,1,1,1);
  360. }
  361. return 1;
  362. }
  363. if(strcmp(cmd, "/animms", true) == 0) {
  364. tmp = strtok(cmdtext, idx);
  365. if(!strlen(tmp)) {
  366. SendClientMessage(playerid,0xFF0000FF,">Write /animms [1-8]");
  367. return 1;
  368. }
  369. animationplayed = strval(tmp);
  370. if(animationplayed < 1 || animationplayed > 8) {
  371. SendClientMessage(playerid,0xFF0000FF,">Write /animms [1-8]");
  372. return 1;
  373. }
  374. if(animationplayed == 1) {
  375. ApplyAnimation(playerid,"BIKEH","BIKEh_Back",4.1,0,1,1,1,1);
  376. }else if(animationplayed == 2) {
  377. ApplyAnimation(playerid,"BIKEH","BIKEh_drivebyFT",4.1,0,1,1,1,1);
  378. }else if(animationplayed == 3) {
  379. ApplyAnimation(playerid,"BIKEH","BIKEh_drivebyLHS",4.1,0,1,1,1,1);
  380. }else if(animationplayed == 4) {
  381. ApplyAnimation(playerid,"BIKEH","BIKEh_drivebyRHS",4.1,0,1,1,1,1);
  382. }else if(animationplayed == 5) {
  383. ApplyAnimation(playerid,"BIKEH","BIKEh_Fwd",4.1,0,1,1,1,1);
  384. }else if(animationplayed == 6) {
  385. ApplyAnimation(playerid,"BIKEH","BIKEh_getoffBACK",4.1,0,1,1,1,1);
  386. }else if(animationplayed == 7) {
  387. ApplyAnimation(playerid,"BIKEH","BIKEh_getoffLHS",4.1,0,1,1,1,1);
  388. }else if(animationplayed == 8) {
  389. ApplyAnimation(playerid,"BIKEH","BIKEh_getoffRHS",4.1,0,1,1,1,1);
  390. }
  391. return 1;
  392. }
  393. if(strcmp(cmd, "/animfood", true) == 0) {
  394. tmp = strtok(cmdtext, idx);
  395. if(!strlen(tmp)) {
  396. SendClientMessage(playerid,0xFF0000FF,">Write /animfood [1-33]");
  397. return 1;
  398. }
  399. animationplayed = strval(tmp);
  400. if(animationplayed < 1 || animationplayed > 33) {
  401. SendClientMessage(playerid,0xFF0000FF,">Write /animfood [1-33]");
  402. return 1;
  403. }
  404. if(animationplayed == 1) {
  405. ApplyAnimation(playerid,"FOOD","EAT_Burger",4.1,0,1,1,1,1);
  406. }else if(animationplayed == 2) {
  407. ApplyAnimation(playerid,"FOOD","EAT_Chicken",4.1,0,1,1,1,1);
  408. }else if(animationplayed == 3) {
  409. ApplyAnimation(playerid,"FOOD","EAT_Pizza",4.1,0,1,1,1,1);
  410. }else if(animationplayed == 4) {
  411. ApplyAnimation(playerid,"FOOD","EAT_Vomit_P",4.1,0,1,1,1,1);
  412. }else if(animationplayed == 5) {
  413. ApplyAnimation(playerid,"FOOD","EAT_Vomit_SK",4.1,0,1,1,1,1);
  414. }else if(animationplayed == 6) {
  415. ApplyAnimation(playerid,"FOOD","FF_Dam_Bkw",4.1,0,1,1,1,1);
  416. }else if(animationplayed == 7) {
  417. ApplyAnimation(playerid,"FOOD","FF_Dam_Fwd",4.1,0,1,1,1,1);
  418. }else if(animationplayed == 8) {
  419. ApplyAnimation(playerid,"FOOD","FF_Dam_Left",4.1,0,1,1,1,1);
  420. }else if(animationplayed == 9) {
  421. ApplyAnimation(playerid,"FOOD","FF_Dam_Right",4.1,0,1,1,1,1);
  422. }else if(animationplayed == 10) {
  423. ApplyAnimation(playerid,"FOOD","FF_Die_Bkw",4.1,0,1,1,1,1);
  424. }else if(animationplayed == 11) {
  425. ApplyAnimation(playerid,"FOOD","FF_Die_Fwd",4.1,0,1,1,1,1);
  426. }else if(animationplayed == 12) {
  427. ApplyAnimation(playerid,"FOOD","FF_Die_Left",4.1,0,1,1,1,1);
  428. }else if(animationplayed == 13) {
  429. ApplyAnimation(playerid,"FOOD","FF_Die_Right",4.1,0,1,1,1,1);
  430. }else if(animationplayed == 14) {
  431. ApplyAnimation(playerid,"FOOD","FF_Sit_Eat1",4.1,0,1,1,1,1);
  432. }else if(animationplayed == 15) {
  433. ApplyAnimation(playerid,"FOOD","FF_Sit_Eat2",4.1,0,1,1,1,1);
  434. }else if(animationplayed == 16) {
  435. ApplyAnimation(playerid,"FOOD","FF_Sit_Eat3",4.1,0,1,1,1,1);
  436. }else if(animationplayed == 17) {
  437. ApplyAnimation(playerid,"FOOD","FF_Sit_In",4.1,0,1,1,1,1);
  438. }else if(animationplayed == 18) {
  439. ApplyAnimation(playerid,"FOOD","FF_Sit_In_L",4.1,0,1,1,1,1);
  440. }else if(animationplayed == 19) {
  441. ApplyAnimation(playerid,"FOOD","FF_Sit_In_R",4.1,0,1,1,1,1);
  442. }else if(animationplayed == 20) {
  443. ApplyAnimation(playerid,"FOOD","FF_Sit_Look",4.1,0,1,1,1,1);
  444. }else if(animationplayed == 21) {
  445. ApplyAnimation(playerid,"FOOD","FF_Sit_Loop",4.1,0,1,1,1,1);
  446. }else if(animationplayed == 22) {
  447. ApplyAnimation(playerid,"FOOD","FF_Sit_Out_180",4.1,0,1,1,1,1);
  448. }else if(animationplayed == 23) {
  449. ApplyAnimation(playerid,"FOOD","FF_Sit_Out_L_180",4.1,0,1,1,1,1);
  450. }else if(animationplayed == 24) {
  451. ApplyAnimation(playerid,"FOOD","FF_Sit_Out_R_180",4.1,0,1,1,1,1);
  452. }else if(animationplayed == 25) {
  453. ApplyAnimation(playerid,"FOOD","SHP_Thank",4.1,0,1,1,1,1);
  454. }else if(animationplayed == 26) {
  455. ApplyAnimation(playerid,"FOOD","SHP_Tray_In",4.1,0,1,1,1,1);
  456. }else if(animationplayed == 27) {
  457. ApplyAnimation(playerid,"FOOD","SHP_Tray_Lift",4.1,0,1,1,1,1);
  458. }else if(animationplayed == 28) {
  459. ApplyAnimation(playerid,"FOOD","SHP_Tray_Lift_In",4.1,0,1,1,1,1);
  460. }else if(animationplayed == 29) {
  461. ApplyAnimation(playerid,"FOOD","SHP_Tray_Lift_Loop",4.1,0,1,1,1,1);
  462. }else if(animationplayed == 30) {
  463. ApplyAnimation(playerid,"FOOD","SHP_Tray_Lift_Out",4.1,0,1,1,1,1);
  464. }else if(animationplayed == 31) {
  465. ApplyAnimation(playerid,"FOOD","SHP_Tray_Out",4.1,0,1,1,1,1);
  466. }else if(animationplayed == 32) {
  467. ApplyAnimation(playerid,"FOOD","SHP_Tray_Pose",4.1,0,1,1,1,1);
  468. }else if(animationplayed == 33) {
  469. ApplyAnimation(playerid,"FOOD","SHP_Tray_Return",4.1,0,1,1,1,1);
  470. }
  471. return 1;
  472. }
  473. if(strcmp(cmd, "/animms", true) == 0) {
  474. tmp = strtok(cmdtext, idx);
  475. if(!strlen(tmp)) {
  476. SendClientMessage(playerid,0xFF0000FF,">Write /animms [1-41]");
  477. return 1;
  478. }
  479. animationplayed = strval(tmp);
  480. if(animationplayed < 1 || animationplayed > 41) {
  481. SendClientMessage(playerid,0xFF0000FF,">Write /animms [1-41]");
  482. return 1;
  483. }
  484. if(animationplayed == 1) {
  485. ApplyAnimation(playerid,"MISC","bitchslap",4.1,0,1,1,1,1);
  486. }else if(animationplayed == 2) {
  487. ApplyAnimation(playerid,"MISC","BMX_celebrate",4.1,0,1,1,1,1);
  488. }else if(animationplayed == 3) {
  489. ApplyAnimation(playerid,"MISC","BMX_comeon",4.1,0,1,1,1,1);
  490. }else if(animationplayed == 4) {
  491. ApplyAnimation(playerid,"MISC","bmx_idleloop_01",4.1,0,1,1,1,1);
  492. }else if(animationplayed == 5) {
  493. ApplyAnimation(playerid,"MISC","bmx_idleloop_02",4.1,0,1,1,1,1);
  494. }else if(animationplayed == 6) {
  495. ApplyAnimation(playerid,"MISC","bmx_talkleft_in",4.1,0,1,1,1,1);
  496. }else if(animationplayed == 7) {
  497. ApplyAnimation(playerid,"MISC","bmx_talkleft_loop",4.1,0,1,1,1,1);
  498. }else if(animationplayed == 8) {
  499. ApplyAnimation(playerid,"MISC","bmx_talkleft_out",4.1,0,1,1,1,1);
  500. }else if(animationplayed == 9) {
  501. ApplyAnimation(playerid,"MISC","bmx_talkright_in",4.1,0,1,1,1,1);
  502. }else if(animationplayed == 10) {
  503. ApplyAnimation(playerid,"MISC","bmx_talkright_loop",4.1,0,1,1,1,1);
  504. }else if(animationplayed == 11) {
  505. ApplyAnimation(playerid,"MISC","bmx_talkright_out",4.1,0,1,1,1,1);
  506. }else if(animationplayed == 12) {
  507. ApplyAnimation(playerid,"MISC","bng_wndw",4.1,0,1,1,1,1);
  508. }else if(animationplayed == 13) {
  509. ApplyAnimation(playerid,"MISC","bng_wndw_02",4.1,0,1,1,1,1);
  510. }else if(animationplayed == 14) {
  511. ApplyAnimation(playerid,"MISC","Case_pickup",4.1,0,1,1,1,1);
  512. }else if(animationplayed == 15) {
  513. ApplyAnimation(playerid,"MISC","door_jet",4.1,0,1,1,1,1);
  514. }else if(animationplayed == 16) {
  515. ApplyAnimation(playerid,"MISC","GRAB_L",4.1,0,1,1,1,1);
  516. }else if(animationplayed == 17) {
  517. ApplyAnimation(playerid,"MISC","GRAB_R",4.1,0,1,1,1,1);
  518. }else if(animationplayed == 18) {
  519. ApplyAnimation(playerid,"MISC","Hiker_Pose",4.1,0,1,1,1,1);
  520. }else if(animationplayed == 19) {
  521. ApplyAnimation(playerid,"MISC","Hiker_Pose_L",4.1,0,1,1,1,1);
  522. }else if(animationplayed == 20) {
  523. ApplyAnimation(playerid,"MISC","Idle_Chat_02",4.1,0,1,1,1,1);
  524. }else if(animationplayed == 21) {
  525. ApplyAnimation(playerid,"MISC","KAT_Throw_K",4.1,0,1,1,1,1);
  526. }else if(animationplayed == 22) {
  527. ApplyAnimation(playerid,"MISC","KAT_Throw_O",4.1,0,1,1,1,1);
  528. }else if(animationplayed == 23) {
  529. ApplyAnimation(playerid,"MISC","KAT_Throw_P",4.1,0,1,1,1,1);
  530. }else if(animationplayed == 24) {
  531. ApplyAnimation(playerid,"MISC","PASS_Rifle_O",4.1,0,1,1,1,1);
  532. }else if(animationplayed == 25) {
  533. ApplyAnimation(playerid,"MISC","PASS_Rifle_Ped",4.1,0,1,1,1,1);
  534. }else if(animationplayed == 26) {
  535. ApplyAnimation(playerid,"MISC","PASS_Rifle_Ply",4.1,0,1,1,1,1);
  536. }else if(animationplayed == 27) {
  537. ApplyAnimation(playerid,"MISC","pickup_box",4.1,0,1,1,1,1);
  538. }else if(animationplayed == 28) {
  539. ApplyAnimation(playerid,"MISC","Plane_door",4.1,0,1,1,1,1);
  540. }else if(animationplayed == 29) {
  541. ApplyAnimation(playerid,"MISC","Plane_exit",4.1,0,1,1,1,1);
  542. }else if(animationplayed == 30) {
  543. ApplyAnimation(playerid,"MISC","Plane_hijack",4.1,0,1,1,1,1);
  544. }else if(animationplayed == 31) {
  545. ApplyAnimation(playerid,"MISC","Plunger_01",4.1,0,1,1,1,1);
  546. }else if(animationplayed == 32) {
  547. ApplyAnimation(playerid,"MISC","Plyrlean_loop",4.1,0,1,1,1,1);
  548. }else if(animationplayed == 33) {
  549. ApplyAnimation(playerid,"MISC","plyr_shkhead",4.1,0,1,1,1,1);
  550. }else if(animationplayed == 34) {
  551. ApplyAnimation(playerid,"MISC","Run_Dive",4.1,0,1,1,1,1);
  552. }else if(animationplayed == 35) {
  553. ApplyAnimation(playerid,"MISC","Scratchballs_01",4.1,0,1,1,1,1);
  554. }else if(animationplayed == 36) {
  555. ApplyAnimation(playerid,"MISC","SEAT_LR",4.1,0,1,1,1,1);
  556. }else if(animationplayed == 37) {
  557. ApplyAnimation(playerid,"MISC","Seat_talk_01",4.1,0,1,1,1,1);
  558. }else if(animationplayed == 38) {
  559. ApplyAnimation(playerid,"MISC","Seat_talk_02",4.1,0,1,1,1,1);
  560. }else if(animationplayed == 39) {
  561. ApplyAnimation(playerid,"MISC","SEAT_watch",4.1,0,1,1,1,1);
  562. }else if(animationplayed == 40) {
  563. ApplyAnimation(playerid,"MISC","smalplane_door",4.1,0,1,1,1,1);
  564. }else if(animationplayed == 41) {
  565. ApplyAnimation(playerid,"MISC","smlplane_door",4.1,0,1,1,1,1);
  566. }
  567. return 1;
  568. }
  569. if(strcmp(cmd, "/animbikelp", true) == 0) {
  570. tmp = strtok(cmdtext, idx);
  571. if(!strlen(tmp)) {
  572. SendClientMessage(playerid,0xFF0000FF,">Write /animbikelp [1-9]");
  573. return 1;
  574. }
  575. animationplayed = strval(tmp);
  576. if(animationplayed < 1 || animationplayed > 9) {
  577. SendClientMessage(playerid,0xFF0000FF,">Write /animbikelp [1-9]");
  578. return 1;
  579. }
  580. if(animationplayed == 1) {
  581. ApplyAnimation(playerid,"BIKELEAP","bk_blnce_in",4.1,0,1,1,1,1);
  582. }else if(animationplayed == 2) {
  583. ApplyAnimation(playerid,"BIKELEAP","bk_blnce_out",4.1,0,1,1,1,1);
  584. }else if(animationplayed == 3) {
  585. ApplyAnimation(playerid,"BIKELEAP","bk_jmp",4.1,0,1,1,1,1);
  586. }else if(animationplayed == 4) {
  587. ApplyAnimation(playerid,"BIKELEAP","bk_rdy_in",4.1,0,1,1,1,1);
  588. }else if(animationplayed == 5) {
  589. ApplyAnimation(playerid,"BIKELEAP","bk_rdy_out",4.1,0,1,1,1,1);
  590. }else if(animationplayed == 6) {
  591. ApplyAnimation(playerid,"BIKELEAP","struggle_cesar",4.1,0,1,1,1,1);
  592. }else if(animationplayed == 7) {
  593. ApplyAnimation(playerid,"BIKELEAP","struggle_driver",4.1,0,1,1,1,1);
  594. }else if(animationplayed == 8) {
  595. ApplyAnimation(playerid,"BIKELEAP","truck_driver",4.1,0,1,1,1,1);
  596. }else if(animationplayed == 9) {
  597. ApplyAnimation(playerid,"BIKELEAP","truck_getin",4.1,0,1,1,1,1);
  598. }
  599. return 1;
  600. }
  601. if(strcmp(cmd, "/animbikes", true) == 0) {
  602. tmp = strtok(cmdtext, idx);
  603. if(!strlen(tmp)) {
  604. SendClientMessage(playerid,0xFF0000FF,">Write /animbikes [1-18]");
  605. return 1;
  606. }
  607. animationplayed = strval(tmp);
  608. if(animationplayed < 1 || animationplayed > 18) {
  609. SendClientMessage(playerid,0xFF0000FF,">Write /animbikes [1-18]");
  610. return 1;
  611. }
  612. if(animationplayed == 1) {
  613. ApplyAnimation(playerid,"BIKES","BIKEs_Back",4.1,0,1,1,1,1);
  614. }else if(animationplayed == 2) {
  615. ApplyAnimation(playerid,"BIKES","BIKEs_drivebyFT",4.1,0,1,1,1,1);
  616. }else if(animationplayed == 3) {
  617. ApplyAnimation(playerid,"BIKES","BIKEs_drivebyLHS",4.1,0,1,1,1,1);
  618. }else if(animationplayed == 4) {
  619. ApplyAnimation(playerid,"BIKES","BIKEs_drivebyRHS",4.1,0,1,1,1,1);
  620. }else if(animationplayed == 5) {
  621. ApplyAnimation(playerid,"BIKES","BIKEs_Fwd",4.1,0,1,1,1,1);
  622. }else if(animationplayed == 6) {
  623. ApplyAnimation(playerid,"BIKES","BIKEs_getoffBACK",4.1,0,1,1,1,1);
  624. }else if(animationplayed == 7) {
  625. ApplyAnimation(playerid,"BIKES","BIKEs_getoffLHS",4.1,0,1,1,1,1);
  626. }else if(animationplayed == 8) {
  627. ApplyAnimation(playerid,"BIKES","BIKEs_getoffRHS",4.1,0,1,1,1,1);
  628. }else if(animationplayed == 9) {
  629. ApplyAnimation(playerid,"BIKES","BIKEs_hit",4.1,0,1,1,1,1);
  630. }else if(animationplayed == 10) {
  631. ApplyAnimation(playerid,"BIKES","BIKEs_jumponL",4.1,0,1,1,1,1);
  632. }else if(animationplayed == 11) {
  633. ApplyAnimation(playerid,"BIKES","BIKEs_jumponR",4.1,0,1,1,1,1);
  634. }else if(animationplayed == 12) {
  635. ApplyAnimation(playerid,"BIKES","BIKEs_kick",4.1,0,1,1,1,1);
  636. }else if(animationplayed == 13) {
  637. ApplyAnimation(playerid,"BIKES","BIKEs_Left",4.1,0,1,1,1,1);
  638. }else if(animationplayed == 14) {
  639. ApplyAnimation(playerid,"BIKES","BIKEs_passenger",4.1,0,1,1,1,1);
  640. }else if(animationplayed == 15) {
  641. ApplyAnimation(playerid,"BIKES","BIKEs_pushes",4.1,0,1,1,1,1);
  642. }else if(animationplayed == 16) {
  643. ApplyAnimation(playerid,"BIKES","BIKEs_Ride",4.1,0,1,1,1,1);
  644. }else if(animationplayed == 17) {
  645. ApplyAnimation(playerid,"BIKES","BIKEs_Right",4.1,0,1,1,1,1);
  646. }else if(animationplayed == 18) {
  647. ApplyAnimation(playerid,"BIKES","BIKEs_Still",4.1,0,1,1,1,1);
  648. }
  649. return 1;
  650. }
  651. if(strcmp(cmd, "/animbikev", true) == 0) {
  652. tmp = strtok(cmdtext, idx);
  653. if(!strlen(tmp)) {
  654. SendClientMessage(playerid,0xFF0000FF,">Write /animbikev [1-18]");
  655. return 1;
  656. }
  657. animationplayed = strval(tmp);
  658. if(animationplayed < 1 || animationplayed > 18) {
  659. SendClientMessage(playerid,0xFF0000FF,">Write /animbikev [1-18]");
  660. return 1;
  661. }
  662. if(animationplayed == 1) {
  663. ApplyAnimation(playerid,"BIKEV","BIKEv_Back",4.1,0,1,1,1,1);
  664. }else if(animationplayed == 2) {
  665. ApplyAnimation(playerid,"BIKEV","BIKEv_drivebyFT",4.1,0,1,1,1,1);
  666. }else if(animationplayed == 3) {
  667. ApplyAnimation(playerid,"BIKEV","BIKEv_drivebyLHS",4.1,0,1,1,1,1);
  668. }else if(animationplayed == 4) {
  669. ApplyAnimation(playerid,"BIKEV","BIKEv_drivebyRHS",4.1,0,1,1,1,1);
  670. }else if(animationplayed == 5) {
  671. ApplyAnimation(playerid,"BIKEV","BIKEv_Fwd",4.1,0,1,1,1,1);
  672. }else if(animationplayed == 6) {
  673. ApplyAnimation(playerid,"BIKEV","BIKEv_getoffBACK",4.1,0,1,1,1,1);
  674. }else if(animationplayed == 7) {
  675. ApplyAnimation(playerid,"BIKEV","BIKEv_getoffLHS",4.1,0,1,1,1,1);
  676. }else if(animationplayed == 8) {
  677. ApplyAnimation(playerid,"BIKEV","BIKEv_getoffRHS",4.1,0,1,1,1,1);
  678. }else if(animationplayed == 9) {
  679. ApplyAnimation(playerid,"BIKEV","BIKEv_hit",4.1,0,1,1,1,1);
  680. }else if(animationplayed == 10) {
  681. ApplyAnimation(playerid,"BIKEV","BIKEv_jumponL",4.1,0,1,1,1,1);
  682. }else if(animationplayed == 11) {
  683. ApplyAnimation(playerid,"BIKEV","BIKEv_jumponR",4.1,0,1,1,1,1);
  684. }else if(animationplayed == 12) {
  685. ApplyAnimation(playerid,"BIKEV","BIKEv_kick",4.1,0,1,1,1,1);
  686. }else if(animationplayed == 13) {
  687. ApplyAnimation(playerid,"BIKEV","BIKEv_Left",4.1,0,1,1,1,1);
  688. }else if(animationplayed == 14) {
  689. ApplyAnimation(playerid,"BIKEV","BIKEv_passenger",4.1,0,1,1,1,1);
  690. }else if(animationplayed == 15) {
  691. ApplyAnimation(playerid,"BIKEV","BIKEv_pushes",4.1,0,1,1,1,1);
  692. }else if(animationplayed == 16) {
  693. ApplyAnimation(playerid,"BIKEV","BIKEv_Ride",4.1,0,1,1,1,1);
  694. }else if(animationplayed == 17) {
  695. ApplyAnimation(playerid,"BIKEV","BIKEv_Right",4.1,0,1,1,1,1);
  696. }else if(animationplayed == 18) {
  697. ApplyAnimation(playerid,"BIKEV","BIKEv_Still",4.1,0,1,1,1,1);
  698. }
  699. return 1;
  700. }
  701. if(strcmp(cmd, "/animbmx", true) == 0) {
  702. tmp = strtok(cmdtext, idx);
  703. if(!strlen(tmp)) {
  704. SendClientMessage(playerid,0xFF0000FF,">Write /animbmx [1-18]");
  705. return 1;
  706. }
  707. animationplayed = strval(tmp);
  708. if(animationplayed < 1 || animationplayed > 18) {
  709. SendClientMessage(playerid,0xFF0000FF,">Write /animbmx [1-18]");
  710. return 1;
  711. }
  712. if(animationplayed == 1) {
  713. ApplyAnimation(playerid,"BMX","BMX_back",4.1,0,1,1,1,1);
  714. }else if(animationplayed == 2) {
  715. ApplyAnimation(playerid,"BMX","BMX_bunnyhop",4.1,0,1,1,1,1);
  716. }else if(animationplayed == 3) {
  717. ApplyAnimation(playerid,"BMX","BMX_drivebyFT",4.1,0,1,1,1,1);
  718. }else if(animationplayed == 4) {
  719. ApplyAnimation(playerid,"BMX","BMX_driveby_LHS",4.1,0,1,1,1,1);
  720. }else if(animationplayed == 5) {
  721. ApplyAnimation(playerid,"BMX","BMX_driveby_RHS",4.1,0,1,1,1,1);
  722. }else if(animationplayed == 6) {
  723. ApplyAnimation(playerid,"BMX","BMX_fwd",4.1,0,1,1,1,1);
  724. }else if(animationplayed == 7) {
  725. ApplyAnimation(playerid,"BMX","BMX_getoffBACK",4.1,0,1,1,1,1);
  726. }else if(animationplayed == 8) {
  727. ApplyAnimation(playerid,"BMX","BMX_pushes",4.1,0,1,1,1,1);
  728. }else if(animationplayed == 9) {
  729. ApplyAnimation(playerid,"BMX","BMX_getoffLHS",4.1,0,1,1,1,1);
  730. }else if(animationplayed == 10) {
  731. ApplyAnimation(playerid,"BMX","BMX_getoffRHS",4.1,0,1,1,1,1);
  732. }else if(animationplayed == 11) {
  733. ApplyAnimation(playerid,"BMX","BMX_jumponL",4.1,0,1,1,1,1);
  734. }else if(animationplayed == 12) {
  735. ApplyAnimation(playerid,"BMX","BMX_jumponR",4.1,0,1,1,1,1);
  736. }else if(animationplayed == 13) {
  737. ApplyAnimation(playerid,"BMX","BMX_Left",4.1,0,1,1,1,1);
  738. }else if(animationplayed == 14) {
  739. ApplyAnimation(playerid,"BMX","BMX_pedal",4.1,0,1,1,1,1);
  740. }else if(animationplayed == 15) {
  741. ApplyAnimation(playerid,"BMX","BMX_Ride",4.1,0,1,1,1,1);
  742. }else if(animationplayed == 16) {
  743. ApplyAnimation(playerid,"BMX","BMX_Right",4.1,0,1,1,1,1);
  744. }else if(animationplayed == 17) {
  745. ApplyAnimation(playerid,"BMX","BMX_sprint",4.1,0,1,1,1,1);
  746. }else if(animationplayed == 18) {
  747. ApplyAnimation(playerid,"BMX","BMX_still",4.1,0,1,1,1,1);
  748. }
  749. return 1;
  750. }
  751. if(strcmp(cmd, "/animbikedbz", true) == 0) {
  752. tmp = strtok(cmdtext, idx);
  753. if(!strlen(tmp)) {
  754. SendClientMessage(playerid,0xFF0000FF,">Write /animbikedbz [1-4]");
  755. return 1;
  756. }
  757. animationplayed = strval(tmp);
  758. if(animationplayed < 1 || animationplayed > 4) {
  759. SendClientMessage(playerid,0xFF0000FF,">Write /animbikedbz [1-4]");
  760. return 1;
  761. }
  762. if(animationplayed == 1) {
  763. ApplyAnimation(playerid,"BIKE_DBZ","Pass_Driveby_BWD",4.1,0,1,1,1,1);
  764. }else if(animationplayed == 2) {
  765. ApplyAnimation(playerid,"BIKE_DBZ","Pass_Driveby_FWD",4.1,0,1,1,1,1);
  766. }else if(animationplayed == 3) {
  767. ApplyAnimation(playerid,"BIKE_DBZ","Pass_Driveby_LHS",4.1,0,1,1,1,1);
  768. }else if(animationplayed == 4) {
  769. ApplyAnimation(playerid,"BIKE_DBZ","Pass_Driveby_RHS",4.1,0,1,1,1,1);
  770. }
  771. return 1;
  772. }
  773. if(strcmp(cmd, "/animchase", true) == 0) {
  774. tmp = strtok(cmdtext, idx);
  775. if(!strlen(tmp)) {
  776. SendClientMessage(playerid,0xFF0000FF,">Write /animchase [1-25]");
  777. return 1;
  778. }
  779. animationplayed = strval(tmp);
  780. if(animationplayed < 1 || animationplayed > 25) {
  781. SendClientMessage(playerid,0xFF0000FF,">Write /animchase [1-25]");
  782. return 1;
  783. }
  784. if(animationplayed == 1) {
  785. ApplyAnimation(playerid,"MD_CHASE","Carhit_Hangon",4.1,0,1,1,1,1);
  786. }else if(animationplayed == 2) {
  787. ApplyAnimation(playerid,"MD_CHASE","Carhit_Tumble",4.1,0,1,1,1,1);
  788. }else if(animationplayed == 3) {
  789. ApplyAnimation(playerid,"MD_CHASE","donutdrop",4.1,0,1,1,1,1);
  790. }else if(animationplayed == 4) {
  791. ApplyAnimation(playerid,"MD_CHASE","Fen_Choppa_L1",4.1,0,1,1,1,1);
  792. }else if(animationplayed == 5) {
  793. ApplyAnimation(playerid,"MD_CHASE","Fen_Choppa_L2",4.1,0,1,1,1,1);
  794. }else if(animationplayed == 6) {
  795. ApplyAnimation(playerid,"MD_CHASE","Fen_Choppa_L3",4.1,0,1,1,1,1);
  796. }else if(animationplayed == 7) {
  797. ApplyAnimation(playerid,"MD_CHASE","Fen_Choppa_R1",4.1,0,1,1,1,1);
  798. }else if(animationplayed == 8) {
  799. ApplyAnimation(playerid,"MD_CHASE","Fen_Choppa_R2",4.1,0,1,1,1,1);
  800. }else if(animationplayed == 9) {
  801. ApplyAnimation(playerid,"MD_CHASE","Fen_Choppa_R3",4.1,0,1,1,1,1);
  802. }else if(animationplayed == 10) {
  803. ApplyAnimation(playerid,"MD_CHASE","Hangon_Stun_loop",4.1,0,1,1,1,1);
  804. }else if(animationplayed == 11) {
  805. ApplyAnimation(playerid,"MD_CHASE","Hangon_Stun_Turn",4.1,0,1,1,1,1);
  806. }else if(animationplayed == 12) {
  807. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_2_HANG",4.1,0,1,1,1,1);
  808. }else if(animationplayed == 13) {
  809. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Jmp_BL",4.1,0,1,1,1,1);
  810. }else if(animationplayed == 14) {
  811. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Jmp_F",4.1,0,1,1,1,1);
  812. }else if(animationplayed == 15) {
  813. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Lnd_BL",4.1,0,1,1,1,1);
  814. }else if(animationplayed == 16) {
  815. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Lnd_Die_BL",4.1,0,1,1,1,1);
  816. }else if(animationplayed == 17) {
  817. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Lnd_Die_F",4.1,0,1,1,1,1);
  818. }else if(animationplayed == 18) {
  819. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Lnd_F",4.1,0,1,1,1,1);
  820. }else if(animationplayed == 19) {
  821. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Lnd_Roll",4.1,0,1,1,1,1);
  822. }else if(animationplayed == 20) {
  823. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Lnd_Roll_F",4.1,0,1,1,1,1);
  824. }else if(animationplayed == 21) {
  825. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Punch",4.1,0,1,1,1,1);
  826. }else if(animationplayed == 22) {
  827. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Punch_F",4.1,0,1,1,1,1);
  828. }else if(animationplayed == 23) {
  829. ApplyAnimation(playerid,"MD_CHASE","MD_BIKE_Shot_F",4.1,0,1,1,1,1);
  830. }else if(animationplayed == 24) {
  831. ApplyAnimation(playerid,"MD_CHASE","MD_HANG_Lnd_Roll",4.1,0,1,1,1,1);
  832. }else if(animationplayed == 25) {
  833. ApplyAnimation(playerid,"MD_CHASE","MD_HANG_Loop",4.1,0,1,1,1,1);
  834. }
  835. return 1;
  836. }
  837. if(strcmp(cmd, "/animbox", true) == 0) {
  838. tmp = strtok(cmdtext, idx);
  839. if(!strlen(tmp)) {
  840. SendClientMessage(playerid,0xFF0000FF,">Write /animbox [1-10]");
  841. return 1;
  842. }
  843. animationplayed = strval(tmp);
  844. if(animationplayed < 1 || animationplayed > 10) {
  845. SendClientMessage(playerid,0xFF0000FF,">Write /animbox [1-10]");
  846. return 1;
  847. }
  848. if(animationplayed == 1) {
  849. ApplyAnimation(playerid,"BOX","boxhipin",4.1,0,1,1,1,1);
  850. }else if(animationplayed == 2) {
  851. ApplyAnimation(playerid,"BOX","boxhipup",4.1,0,1,1,1,1);
  852. }else if(animationplayed == 3) {
  853. ApplyAnimation(playerid,"BOX","boxshdwn",4.1,0,1,1,1,1);
  854. }else if(animationplayed == 4) {
  855. ApplyAnimation(playerid,"BOX","boxshup",4.1,0,1,1,1,1);
  856. }else if(animationplayed == 5) {
  857. ApplyAnimation(playerid,"BOX","bxhipwlk",4.1,0,1,1,1,1);
  858. }else if(animationplayed == 6) {
  859. ApplyAnimation(playerid,"BOX","bxhwlki",4.1,0,1,1,1,1);
  860. }else if(animationplayed == 7) {
  861. ApplyAnimation(playerid,"BOX","bxshwlk",4.1,0,1,1,1,1);
  862. }else if(animationplayed == 8) {
  863. ApplyAnimation(playerid,"BOX","bxshwlki",4.1,0,1,1,1,1);
  864. }else if(animationplayed == 9) {
  865. ApplyAnimation(playerid,"BOX","bxwlko",4.1,0,1,1,1,1);
  866. }else if(animationplayed == 10) {
  867. ApplyAnimation(playerid,"BOX","catch_box",4.1,0,1,1,1,1);
  868. }
  869. return 1;
  870. }
  871. if(strcmp(cmd, "/animbomber", true) == 0) {
  872. tmp = strtok(cmdtext, idx);
  873. if(!strlen(tmp)) {
  874. SendClientMessage(playerid,0xFF0000FF,">Write /animbomber [1-6]");
  875. return 1;
  876. }
  877. animationplayed = strval(tmp);
  878. if(animationplayed < 1 || animationplayed > 6) {
  879. SendClientMessage(playerid,0xFF0000FF,">Write /animbomber [1-6]");
  880. return 1;
  881. }
  882. if(animationplayed == 1) {
  883. ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.1,0,1,1,1,1);
  884. }else if(animationplayed == 2) {
  885. ApplyAnimation(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,1,1);
  886. }else if(animationplayed == 3) {
  887. ApplyAnimation(playerid,"BOMBER","BOM_Plant_Crouch_In",4.1,0,1,1,1,1);
  888. }else if(animationplayed == 4) {
  889. ApplyAnimation(playerid,"BOMBER","BOM_Plant_Crouch_Out",4.1,0,1,1,1,1);
  890. }else if(animationplayed == 5) {
  891. ApplyAnimation(playerid,"BOMBER","BOM_Plant_In",4.1,0,1,1,1,1);
  892. }else if(animationplayed == 6) {
  893. ApplyAnimation(playerid,"BOMBER","BOM_Plant_Loop",4.1,0,1,1,1,1);
  894. }
  895. return 1;
  896. }
  897. if(strcmp(cmd, "/animbsp", true) == 0) {
  898. tmp = strtok(cmdtext, idx);
  899. if(!strlen(tmp)) {
  900. SendClientMessage(playerid,0xFF0000FF,">Write /animbsp [1-41]");
  901. return 1;
  902. }
  903. animationplayed = strval(tmp);
  904. if(animationplayed < 1 || animationplayed > 41) {
  905. SendClientMessage(playerid,0xFF0000FF,">Write /animbsp [1-41]");
  906. return 1;
  907. }
  908. if(animationplayed == 1) {
  909. ApplyAnimation(playerid,"BSKTBALL","BBALL_def_jump_shot",4.1,0,1,1,1,1);
  910. }else if(animationplayed == 2) {
  911. ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.1,0,1,1,1,1);
  912. }else if(animationplayed == 3) {
  913. ApplyAnimation(playerid,"BSKTBALL","BBALL_def_stepL",4.1,0,1,1,1,1);
  914. }else if(animationplayed == 4) {
  915. ApplyAnimation(playerid,"BSKTBALL","BBALL_def_stepR",4.1,0,1,1,1,1);
  916. }else if(animationplayed == 5) {
  917. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk",4.1,0,1,1,1,1);
  918. }else if(animationplayed == 6) {
  919. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk_Gli",4.1,0,1,1,1,1);
  920. }else if(animationplayed == 7) {
  921. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk_Gli_O",4.1,0,1,1,1,1);
  922. }else if(animationplayed == 8) {
  923. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk_Lnch",4.1,0,1,1,1,1);
  924. }else if(animationplayed == 9) {
  925. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk_Lnch_O",4.1,0,1,1,1,1);
  926. }else if(animationplayed == 10) {
  927. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk_Lnd",4.1,0,1,1,1,1);
  928. }else if(animationplayed == 11) {
  929. ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk_O",4.1,0,1,1,1,1);
  930. }else if(animationplayed == 12) {
  931. ApplyAnimation(playerid,"BSKTBALL","BBALL_idle",4.1,0,1,1,1,1);
  932. }else if(animationplayed == 13) {
  933. ApplyAnimation(playerid,"BSKTBALL","BBALL_idle2",4.1,0,1,1,1,1);
  934. }else if(animationplayed == 14) {
  935. ApplyAnimation(playerid,"BSKTBALL","BBALL_idle2_O",4.1,0,1,1,1,1);
  936. }else if(animationplayed == 15) {
  937. ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.1,0,1,1,1,1);
  938. }else if(animationplayed == 16) {
  939. ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop_O",4.1,0,1,1,1,1);
  940. }else if(animationplayed == 17) {
  941. ApplyAnimation(playerid,"BSKTBALL","BBALL_idle_O",4.1,0,1,1,1,1);
  942. }else if(animationplayed == 18) {
  943. ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Cancel",4.1,0,1,1,1,1);
  944. }else if(animationplayed == 19) {
  945. ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Cancel_0",4.1,0,1,1,1,1);
  946. }else if(animationplayed == 20) {
  947. ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_End",4.1,0,1,1,1,1);
  948. }else if(animationplayed == 21) {
  949. ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot",4.1,0,1,1,1,1);
  950. }else if(animationplayed == 22) {
  951. ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot_O",4.1,0,1,1,1,1);
  952. }else if(animationplayed == 23) {
  953. ApplyAnimation(playerid,"BSKTBALL","BBALL_Net_Dnk_O",4.1,0,1,1,1,1);
  954. }else if(animationplayed == 24) {
  955. ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.1,0,1,1,1,1);
  956. }else if(animationplayed == 25) {
  957. ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup_O",4.1,0,1,1,1,1);
  958. }else if(animationplayed == 26) {
  959. ApplyAnimation(playerid,"BSKTBALL","BBALL_react_miss",4.1,0,1,1,1,1);
  960. }else if(animationplayed == 27) {
  961. ApplyAnimation(playerid,"BSKTBALL","BBALL_react_score",4.1,0,1,1,1,1);
  962. }else if(animationplayed == 28) {
  963. ApplyAnimation(playerid,"BSKTBALL","BBALL_run",4.1,0,1,1,1,1);
  964. }else if(animationplayed == 29) {
  965. ApplyAnimation(playerid,"BSKTBALL","BBALL_run_O",4.1,0,1,1,1,1);
  966. }else if(animationplayed == 30) {
  967. ApplyAnimation(playerid,"BSKTBALL","BBALL_SkidStop_L",4.1,0,1,1,1,1);
  968. }else if(animationplayed == 31) {
  969. ApplyAnimation(playerid,"BSKTBALL","BBALL_SkidStop_L_O",4.1,0,1,1,1,1);
  970. }else if(animationplayed == 32) {
  971. ApplyAnimation(playerid,"BSKTBALL","BBALL_SkidStop_R",4.1,0,1,1,1,1);
  972. }else if(animationplayed == 33) {
  973. ApplyAnimation(playerid,"BSKTBALL","BBALL_SkidStop_R_O",4.1,0,1,1,1,1);
  974. }else if(animationplayed == 34) {
  975. ApplyAnimation(playerid,"BSKTBALL","BBALL_walk",4.1,0,1,1,1,1);
  976. }else if(animationplayed == 35) {
  977. ApplyAnimation(playerid,"BSKTBALL","BBALL_WalkStop_L",4.1,0,1,1,1,1);
  978. }else if(animationplayed == 36) {
  979. ApplyAnimation(playerid,"BSKTBALL","BBALL_WalkStop_L_O",4.1,0,1,1,1,1);
  980. }else if(animationplayed == 37) {
  981. ApplyAnimation(playerid,"BSKTBALL","BBALL_WalkStop_R",4.1,0,1,1,1,1);
  982. }else if(animationplayed == 38) {
  983. ApplyAnimation(playerid,"BSKTBALL","BBALL_WalkStop_R_O",4.1,0,1,1,1,1);
  984. }else if(animationplayed == 39) {
  985. ApplyAnimation(playerid,"BSKTBALL","BBALL_walk_O",4.1,0,1,1,1,1);
  986. }else if(animationplayed == 40) {
  987. ApplyAnimation(playerid,"BSKTBALL","BBALL_walk_start",4.1,0,1,1,1,1);
  988. }else if(animationplayed == 41) {
  989. ApplyAnimation(playerid,"BSKTBALL","BBALL_walk_start_O",4.1,0,1,1,1,1);
  990. }
  991. return 1;
  992. }
  993. if(strcmp(cmd, "/animcamera", true) == 0) {
  994. tmp = strtok(cmdtext, idx);
  995. if(!strlen(tmp)) {
  996. SendClientMessage(playerid,0xFF0000FF,">Write /animcamera [1-14]");
  997. return 1;
  998. }
  999. animationplayed = strval(tmp);
  1000. if(animationplayed < 1 || animationplayed > 14) {
  1001. SendClientMessage(playerid,0xFF0000FF,">Write /animcamera [1-14]");
  1002. return 1;
  1003. }
  1004. if(animationplayed == 1) {
  1005. ApplyAnimation(playerid,"CAMERA","camcrch_cmon",4.1,0,1,1,1,1);
  1006. }else if(animationplayed == 2) {
  1007. ApplyAnimation(playerid,"CAMERA","camcrch_idleloop",4.1,0,1,1,1,1);
  1008. }else if(animationplayed == 3) {
  1009. ApplyAnimation(playerid,"CAMERA","camcrch_stay",4.1,0,1,1,1,1);
  1010. }else if(animationplayed == 4) {
  1011. ApplyAnimation(playerid,"CAMERA","camcrch_to_camstnd",4.1,0,1,1,1,1);
  1012. }else if(animationplayed == 5) {
  1013. ApplyAnimation(playerid,"CAMERA","camstnd_cmon",4.1,0,1,1,1,1);
  1014. }else if(animationplayed == 6) {
  1015. ApplyAnimation(playerid,"CAMERA","camstnd_idleloop",4.1,0,1,1,1,1);
  1016. }else if(animationplayed == 7) {
  1017. ApplyAnimation(playerid,"CAMERA","camstnd_lkabt",4.1,0,1,1,1,1);
  1018. }else if(animationplayed == 8) {
  1019. ApplyAnimation(playerid,"CAMERA","camstnd_to_camcrch",4.1,0,1,1,1,1);
  1020. }else if(animationplayed == 9) {
  1021. ApplyAnimation(playerid,"CAMERA","piccrch_in",4.1,0,1,1,1,1);
  1022. }else if(animationplayed == 10) {
  1023. ApplyAnimation(playerid,"CAMERA","piccrch_out",4.1,0,1,1,1,1);
  1024. }else if(animationplayed == 11) {
  1025. ApplyAnimation(playerid,"CAMERA","piccrch_take",4.1,0,1,1,1,1);
  1026. }else if(animationplayed == 12) {
  1027. ApplyAnimation(playerid,"CAMERA","picstnd_in",4.1,0,1,1,1,1);
  1028. }else if(animationplayed == 13) {
  1029. ApplyAnimation(playerid,"CAMERA","picstnd_out",4.1,0,1,1,1,1);
  1030. }else if(animationplayed == 14) {
  1031. ApplyAnimation(playerid,"CAMERA","picstnd_take",4.1,0,1,1,1,1);
  1032. }
  1033. return 1;
  1034. }
  1035. if(strcmp(cmd, "/animgym", true) == 0) {
  1036. tmp = strtok(cmdtext, idx);
  1037. if(!strlen(tmp)) {
  1038. SendClientMessage(playerid,0xFF0000FF,">Write /animgym [1-24]");
  1039. return 1;
  1040. }
  1041. animationplayed = strval(tmp);
  1042. if(animationplayed < 1 || animationplayed > 24) {
  1043. SendClientMessage(playerid,0xFF0000FF,">Write /animgym [1-24]");
  1044. return 1;
  1045. }
  1046. if(animationplayed == 1) {
  1047. ApplyAnimation(playerid,"GYMNASIUM","GYMshadowbox",4.1,0,1,1,1,1);
  1048. }else if(animationplayed == 2) {
  1049. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_celebrate",4.1,0,1,1,1,1);
  1050. }else if(animationplayed == 3) {
  1051. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_fast",4.1,0,1,1,1,1);
  1052. }else if(animationplayed == 4) {
  1053. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_faster",4.1,0,1,1,1,1);
  1054. }else if(animationplayed == 5) {
  1055. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_getoff",4.1,0,1,1,1,1);
  1056. }else if(animationplayed == 6) {
  1057. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_geton",4.1,0,1,1,1,1);
  1058. }else if(animationplayed == 7) {
  1059. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_pedal",4.1,0,1,1,1,1);
  1060. }else if(animationplayed == 8) {
  1061. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_slow",4.1,0,1,1,1,1);
  1062. }else if(animationplayed == 9) {
  1063. ApplyAnimation(playerid,"GYMNASIUM","gym_bike_still",4.1,0,1,1,1,1);
  1064. }else if(animationplayed == 10) {
  1065. ApplyAnimation(playerid,"GYMNASIUM","gym_jog_falloff",4.1,0,1,1,1,1);
  1066. }else if(animationplayed == 11) {
  1067. ApplyAnimation(playerid,"GYMNASIUM","gym_shadowbox",4.1,0,1,1,1,1);
  1068. }else if(animationplayed == 12) {
  1069. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_celebrate",4.1,0,1,1,1,1);
  1070. }else if(animationplayed == 13) {
  1071. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_falloff",4.1,0,1,1,1,1);
  1072. }else if(animationplayed == 14) {
  1073. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_getoff",4.1,0,1,1,1,1);
  1074. }else if(animationplayed == 15) {
  1075. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_geton",4.1,0,1,1,1,1);
  1076. }else if(animationplayed == 16) {
  1077. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_jog",4.1,0,1,1,1,1);
  1078. }else if(animationplayed == 17) {
  1079. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_sprint",4.1,0,1,1,1,1);
  1080. }else if(animationplayed == 18) {
  1081. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_tired",4.1,0,1,1,1,1);
  1082. }else if(animationplayed == 19) {
  1083. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_walk",4.1,0,1,1,1,1);
  1084. }else if(animationplayed == 20) {
  1085. ApplyAnimation(playerid,"GYMNASIUM","gym_walk_falloff",4.1,0,1,1,1,1);
  1086. }else if(animationplayed == 21) {
  1087. ApplyAnimation(playerid,"GYMNASIUM","Pedals_fast",4.1,0,1,1,1,1);
  1088. }else if(animationplayed == 22) {
  1089. ApplyAnimation(playerid,"GYMNASIUM","Pedals_med",4.1,0,1,1,1,1);
  1090. }else if(animationplayed == 23) {
  1091. ApplyAnimation(playerid,"GYMNASIUM","Pedals_slow",4.1,0,1,1,1,1);
  1092. }else if(animationplayed == 24) {
  1093. ApplyAnimation(playerid,"GYMNASIUM","Pedals_still",4.1,0,1,1,1,1);
  1094. }
  1095. return 1;
  1096. }
  1097. if(strcmp(cmd, "/animpara", true) == 0) {
  1098. tmp = strtok(cmdtext, idx);
  1099. if(!strlen(tmp)) {
  1100. SendClientMessage(playerid,0xFF0000FF,">Write /animpara [1-22]");
  1101. return 1;
  1102. }
  1103. animationplayed = strval(tmp);
  1104. if(animationplayed < 1 || animationplayed > 22) {
  1105. SendClientMessage(playerid,0xFF0000FF,">Write /animpara [1-22]");
  1106. return 1;
  1107. }
  1108. if(animationplayed == 1) {
  1109. ApplyAnimation(playerid,"PARACHUTE","FALL_skyDive",4.1,0,1,1,1,1);
  1110. }else if(animationplayed == 2) {
  1111. ApplyAnimation(playerid,"PARACHUTE","FALL_SkyDive_Accel",4.1,0,1,1,1,1);
  1112. }else if(animationplayed == 3) {
  1113. ApplyAnimation(playerid,"PARACHUTE","FALL_skyDive_DIE",4.1,0,1,1,1,1);
  1114. }else if(animationplayed == 4) {
  1115. ApplyAnimation(playerid,"PARACHUTE","FALL_SkyDive_L",4.1,0,1,1,1,1);
  1116. }else if(animationplayed == 5) {
  1117. ApplyAnimation(playerid,"PARACHUTE","FALL_SkyDive_R",4.1,0,1,1,1,1);
  1118. }else if(animationplayed == 6) {
  1119. ApplyAnimation(playerid,"PARACHUTE","PARA_decel",4.1,0,1,1,1,1);
  1120. }else if(animationplayed == 7) {
  1121. ApplyAnimation(playerid,"PARACHUTE","PARA_decel_O",4.1,0,1,1,1,1);
  1122. }else if(animationplayed == 8) {
  1123. ApplyAnimation(playerid,"PARACHUTE","PARA_float",4.1,0,1,1,1,1);
  1124. }else if(animationplayed == 9) {
  1125. ApplyAnimation(playerid,"PARACHUTE","PARA_float_O",4.1,0,1,1,1,1);
  1126. }else if(animationplayed == 10) {
  1127. ApplyAnimation(playerid,"PARACHUTE","PARA_Land",4.1,0,1,1,1,1);
  1128. }else if(animationplayed == 11) {
  1129. ApplyAnimation(playerid,"PARACHUTE","PARA_Land_O",4.1,0,1,1,1,1);
  1130. }else if(animationplayed == 12) {
  1131. ApplyAnimation(playerid,"PARACHUTE","PARA_Land_Water",4.1,0,1,1,1,1);
  1132. }else if(animationplayed == 13) {
  1133. ApplyAnimation(playerid,"PARACHUTE","PARA_Land_Water_O",4.1,0,1,1,1,1);
  1134. }else if(animationplayed == 14) {
  1135. ApplyAnimation(playerid,"PARACHUTE","PARA_open",4.1,0,1,1,1,1);
  1136. }else if(animationplayed == 15) {
  1137. ApplyAnimation(playerid,"PARACHUTE","PARA_open_O",4.1,0,1,1,1,1);
  1138. }else if(animationplayed == 16) {
  1139. ApplyAnimation(playerid,"PARACHUTE","PARA_Rip_Land_O",4.1,0,1,1,1,1);
  1140. }else if(animationplayed == 17) {
  1141. ApplyAnimation(playerid,"PARACHUTE","PARA_Rip_Loop_O",4.1,0,1,1,1,1);
  1142. }else if(animationplayed == 18) {
  1143. ApplyAnimation(playerid,"PARACHUTE","PARA_Rip_O",4.1,0,1,1,1,1);
  1144. }else if(animationplayed == 19) {
  1145. ApplyAnimation(playerid,"PARACHUTE","PARA_steerL",4.1,0,1,1,1,1);
  1146. }else if(animationplayed == 20) {
  1147. ApplyAnimation(playerid,"PARACHUTE","PARA_steerL_O",4.1,0,1,1,1,1);
  1148. }else if(animationplayed == 21) {
  1149. ApplyAnimation(playerid,"PARACHUTE","PARA_steerR",4.1,0,1,1,1,1);
  1150. }else if(animationplayed == 22) {
  1151. ApplyAnimation(playerid,"PARACHUTE","PARA_steerR_O",4.1,0,1,1,1,1);
  1152. }
  1153. return 1;
  1154. }
  1155. if(strcmp(cmd, "/animgangs", true) == 0) {
  1156. tmp = strtok(cmdtext, idx);
  1157. if(!strlen(tmp)) {
  1158. SendClientMessage(playerid,0xFF0000FF,">Write /animgangs [1-22]");
  1159. return 1;
  1160. }
  1161. animationplayed = strval(tmp);
  1162. if(animationplayed < 1 || animationplayed > 22) {
  1163. SendClientMessage(playerid,0xFF0000FF,">Write /animgangs [1-22]");
  1164. return 1;
  1165. }
  1166. if(animationplayed == 1) {
  1167. ApplyAnimation(playerid,"GANGS","DEALER_DEAL",4.1,0,1,1,1,1);
  1168. }else if(animationplayed == 2) {
  1169. ApplyAnimation(playerid,"GANGS","DEALER_IDLE",4.1,0,1,1,1,1);
  1170. }else if(animationplayed == 3) {
  1171. ApplyAnimation(playerid,"GANGS","drnkbr_prtl",4.1,0,1,1,1,1);
  1172. }else if(animationplayed == 4) {
  1173. ApplyAnimation(playerid,"GANGS","drnkbr_prtl_F",4.1,0,1,1,1,1);
  1174. }else if(animationplayed == 5) {
  1175. ApplyAnimation(playerid,"GANGS","DRUGS_BUY",4.1,0,1,1,1,1);
  1176. }else if(animationplayed == 6) {
  1177. ApplyAnimation(playerid,"GANGS","hndshkaa",4.1,0,1,1,1,1);
  1178. }else if(animationplayed == 7) {
  1179. ApplyAnimation(playerid,"GANGS","hndshkba",4.1,0,1,1,1,1);
  1180. }else if(animationplayed == 8) {
  1181. ApplyAnimation(playerid,"GANGS","hndshkca",4.1,0,1,1,1,1);
  1182. }else if(animationplayed == 9) {
  1183. ApplyAnimation(playerid,"GANGS","hndshkcb",4.1,0,1,1,1,1);
  1184. }else if(animationplayed == 10) {
  1185. ApplyAnimation(playerid,"GANGS","hndshkda",4.1,0,1,1,1,1);
  1186. }else if(animationplayed == 11) {
  1187. ApplyAnimation(playerid,"GANGS","hndshkea",4.1,0,1,1,1,1);
  1188. }else if(animationplayed == 12) {
  1189. ApplyAnimation(playerid,"GANGS","hndshkfa",4.1,0,1,1,1,1);
  1190. }else if(animationplayed == 13) {
  1191. ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.1,0,1,1,1,1);
  1192. }else if(animationplayed == 14) {
  1193. ApplyAnimation(playerid,"GANGS","Invite_No",4.1,0,1,1,1,1);
  1194. }else if(animationplayed == 15) {
  1195. ApplyAnimation(playerid,"GANGS","Invite_Yes",4.1,0,1,1,1,1);
  1196. }else if(animationplayed == 16) {
  1197. ApplyAnimation(playerid,"GANGS","leanIDLE",4.1,0,1,1,1,1);
  1198. }else if(animationplayed == 17) {
  1199. ApplyAnimation(playerid,"GANGS","leanIN",4.1,0,1,1,1,1);
  1200. }else if(animationplayed == 18) {
  1201. ApplyAnimation(playerid,"GANGS","leanOUT",4.1,0,1,1,1,1);
  1202. }else if(animationplayed == 19) {
  1203. ApplyAnimation(playerid,"GANGS","prtial_gngtlkA",4.1,0,1,1,1,1);
  1204. }else if(animationplayed == 20) {
  1205. ApplyAnimation(playerid,"GANGS","prtial_gngtlkB",4.1,0,1,1,1,1);
  1206. }else if(animationplayed == 21) {
  1207. ApplyAnimation(playerid,"GANGS","prtial_gngtlkCt",4.1,0,1,1,1,1);
  1208. }else if(animationplayed == 22) {
  1209. ApplyAnimation(playerid,"GANGS","prtial_gngtlkD",4.1,0,1,1,1,1);
  1210. }else if(animationplayed == 23) {
  1211. ApplyAnimation(playerid,"GANGS","prtial_gngtlkE",4.1,0,1,1,1,1);
  1212. }else if(animationplayed == 24) {
  1213. ApplyAnimation(playerid,"GANGS","prtial_gngtlkF",4.1,0,1,1,1,1);
  1214. }else if(animationplayed == 25) {
  1215. ApplyAnimation(playerid,"GANGS","prtial_gngtlkG",4.1,0,1,1,1,1);
  1216. }else if(animationplayed == 26) {
  1217. ApplyAnimation(playerid,"GANGS","prtial_gngtlkH",4.1,0,1,1,1,1);
  1218. }else if(animationplayed == 27) {
  1219. ApplyAnimation(playerid,"GANGS","prtial_hndshk_01",4.1,0,1,1,1,1);
  1220. }else if(animationplayed == 28) {
  1221. ApplyAnimation(playerid,"GANGS","prtial_hndshk_biz_01",4.1,0,1,1,1,1);
  1222. }else if(animationplayed == 29) {
  1223. ApplyAnimation(playerid,"GANGS","shake_cara",4.1,0,1,1,1,1);
  1224. }else if(animationplayed == 30) {
  1225. ApplyAnimation(playerid,"GANGS","shake_carK",4.1,0,1,1,1,1);
  1226. }else if(animationplayed == 31) {
  1227. ApplyAnimation(playerid,"GANGS","shake_carSH",4.1,0,1,1,1,1);
  1228. }else if(animationplayed == 32) {
  1229. ApplyAnimation(playerid,"GANGS","smkcig_prtl",4.1,0,1,1,1,1);
  1230. }else if(animationplayed == 33) {
  1231. ApplyAnimation(playerid,"GANGS","smkcig_prtl_F",4.1,0,1,1,1,1);
  1232. }
  1233. return 1;
  1234. }
  1235. if(strcmp(cmd, "/animlowrider", true) == 0) {
  1236. tmp = strtok(cmdtext, idx);
  1237. if(!strlen(tmp)) {
  1238. SendClientMessage(playerid,0xFF0000FF,">Write /animlowrider [1-39]");
  1239. return 1;
  1240. }
  1241. animationplayed = strval(tmp);
  1242. if(animationplayed < 1 || animationplayed > 39) {
  1243. SendClientMessage(playerid,0xFF0000FF,">Write /animlowrider [1-39]");
  1244. return 1;
  1245. }
  1246. if(animationplayed == 1) {
  1247. ApplyAnimation(playerid,"LOWRIDER","F_smklean_loop",4.1,0,1,1,1,1);
  1248. }else if(animationplayed == 2) {
  1249. ApplyAnimation(playerid,"LOWRIDER","lrgirl_bdbnce",4.1,0,1,1,1,1);
  1250. }else if(animationplayed == 3) {
  1251. ApplyAnimation(playerid,"LOWRIDER","lrgirl_hair",4.1,0,1,1,1,1);
  1252. }else if(animationplayed == 4) {
  1253. ApplyAnimation(playerid,"LOWRIDER","lrgirl_hurry",4.1,0,1,1,1,1);
  1254. }else if(animationplayed == 5) {
  1255. ApplyAnimation(playerid,"LOWRIDER","lrgirl_idleloop",4.1,0,1,1,1,1);
  1256. }else if(animationplayed == 6) {
  1257. ApplyAnimation(playerid,"LOWRIDER","lrgirl_idle_to_l0",4.1,0,1,1,1,1);
  1258. }else if(animationplayed == 7) {
  1259. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l0_bnce",4.1,0,1,1,1,1);
  1260. }else if(animationplayed == 8) {
  1261. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l0_loop",4.1,0,1,1,1,1);
  1262. }else if(animationplayed == 9) {
  1263. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l0_to_l1",4.1,0,1,1,1,1);
  1264. }else if(animationplayed == 10) {
  1265. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l12_to_l0",4.1,0,1,1,1,1);
  1266. }else if(animationplayed == 11) {
  1267. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l1_bnce",4.1,0,1,1,1,1);
  1268. }else if(animationplayed == 12) {
  1269. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l1_loop",4.1,0,1,1,1,1);
  1270. }else if(animationplayed == 13) {
  1271. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l1_to_l2",4.1,0,1,1,1,1);
  1272. }else if(animationplayed == 14) {
  1273. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l2_bnce",4.1,0,1,1,1,1);
  1274. }else if(animationplayed == 15) {
  1275. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l2_loop",4.1,0,1,1,1,1);
  1276. }else if(animationplayed == 16) {
  1277. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l2_to_l3",4.1,0,1,1,1,1);
  1278. }else if(animationplayed == 17) {
  1279. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l345_to_l1",4.1,0,1,1,1,1);
  1280. }else if(animationplayed == 18) {
  1281. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l3_bnce",4.1,0,1,1,1,1);
  1282. }else if(animationplayed == 19) {
  1283. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l3_loop",4.1,0,1,1,1,1);
  1284. }else if(animationplayed == 20) {
  1285. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l3_to_l4",4.1,0,1,1,1,1);
  1286. }else if(animationplayed == 21) {
  1287. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l4_bnce",4.1,0,1,1,1,1);
  1288. }else if(animationplayed == 22) {
  1289. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l4_loop",4.1,0,1,1,1,1);
  1290. }else if(animationplayed == 23) {
  1291. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l4_to_l5",4.1,0,1,1,1,1);
  1292. }else if(animationplayed == 24) {
  1293. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l5_bnce",4.1,0,1,1,1,1);
  1294. }else if(animationplayed == 25) {
  1295. ApplyAnimation(playerid,"LOWRIDER","lrgirl_l5_loop",4.1,0,1,1,1,1);
  1296. }else if(animationplayed == 26) {
  1297. ApplyAnimation(playerid,"LOWRIDER","M_smklean_loop",4.1,0,1,1,1,1);
  1298. }else if(animationplayed == 27) {
  1299. ApplyAnimation(playerid,"LOWRIDER","M_smkstnd_loop",4.1,0,1,1,1,1);
  1300. }else if(animationplayed == 28) {
  1301. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkB",4.1,0,1,1,1,1);
  1302. }else if(animationplayed == 29) {
  1303. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkC",4.1,0,1,1,1,1);
  1304. }else if(animationplayed == 30) {
  1305. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkD",4.1,0,1,1,1,1);
  1306. }else if(animationplayed == 31) {
  1307. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkE",4.1,0,1,1,1,1);
  1308. }else if(animationplayed == 32) {
  1309. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkF",4.1,0,1,1,1,1);
  1310. }else if(animationplayed == 33) {
  1311. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkG",4.1,0,1,1,1,1);
  1312. }else if(animationplayed == 34) {
  1313. ApplyAnimation(playerid,"LOWRIDER","prtial_gngtlkH",4.1,0,1,1,1,1);
  1314. }else if(animationplayed == 35) {
  1315. ApplyAnimation(playerid,"LOWRIDER","RAP_A_Loop",4.1,0,1,1,1,1);
  1316. }else if(animationplayed == 36) {
  1317. ApplyAnimation(playerid,"LOWRIDER","RAP_B_Loop",4.1,0,1,1,1,1);
  1318. }else if(animationplayed == 37) {
  1319. ApplyAnimation(playerid,"LOWRIDER","RAP_C_Loop",4.1,0,1,1,1,1);
  1320. }else if(animationplayed == 38) {
  1321. ApplyAnimation(playerid,"LOWRIDER","Sit_relaxed",4.1,0,1,1,1,1);
  1322. }else if(animationplayed == 39) {
  1323. ApplyAnimation(playerid,"LOWRIDER","Tap_hand",4.1,0,1,1,1,1);
  1324. }
  1325. return 1;
  1326. }
  1327. if(strcmp(cmd, "/animlookers", true) == 0) {
  1328. tmp = strtok(cmdtext, idx);
  1329. if(!strlen(tmp)) {
  1330. SendClientMessage(playerid,0xFF0000FF,">Write /animlookers [1-25]");
  1331. return 1;
  1332. }
  1333. animationplayed = strval(tmp);
  1334. if(animationplayed < 1 || animationplayed > 25) {
  1335. SendClientMessage(playerid,0xFF0000FF,">Write /animlookers [1-25]");
  1336. return 1;
  1337. }
  1338. if(animationplayed == 1) {
  1339. ApplyAnimation(playerid,"ON_LOOKERS","lkaround_in",4.1,0,1,1,1,1);
  1340. }else if(animationplayed == 2) {
  1341. ApplyAnimation(playerid,"ON_LOOKERS","lkaround_loop",4.1,0,1,1,1,1);
  1342. }else if(animationplayed == 3) {
  1343. ApplyAnimation(playerid,"ON_LOOKERS","lkaround_out",4.1,0,1,1,1,1);
  1344. }else if(animationplayed == 4) {
  1345. ApplyAnimation(playerid,"ON_LOOKERS","lkup_in",4.1,0,1,1,1,1);
  1346. }else if(animationplayed == 5) {
  1347. ApplyAnimation(playerid,"ON_LOOKERS","lkup_loop",4.1,0,1,1,1,1);
  1348. }else if(animationplayed == 6) {
  1349. ApplyAnimation(playerid,"ON_LOOKERS","lkup_out",4.1,0,1,1,1,1);
  1350. }else if(animationplayed == 7) {
  1351. ApplyAnimation(playerid,"ON_LOOKERS","lkup_point",4.1,0,1,1,1,1);
  1352. }else if(animationplayed == 8) {
  1353. ApplyAnimation(playerid,"ON_LOOKERS","panic_cower",4.1,0,1,1,1,1);
  1354. }else if(animationplayed == 9) {
  1355. ApplyAnimation(playerid,"ON_LOOKERS","panic_hide",4.1,0,1,1,1,1);
  1356. }else if(animationplayed == 10) {
  1357. ApplyAnimation(playerid,"ON_LOOKERS","panic_in",4.1,0,1,1,1,1);
  1358. }else if(animationplayed == 11) {
  1359. ApplyAnimation(playerid,"ON_LOOKERS","panic_loop",4.1,0,1,1,1,1);
  1360. }else if(animationplayed == 12) {
  1361. ApplyAnimation(playerid,"ON_LOOKERS","panic_out",4.1,0,1,1,1,1);
  1362. }else if(animationplayed == 13) {
  1363. ApplyAnimation(playerid,"ON_LOOKERS","panic_point",4.1,0,1,1,1,1);
  1364. }else if(animationplayed == 14) {
  1365. ApplyAnimation(playerid,"ON_LOOKERS","panic_shout",4.1,0,1,1,1,1);
  1366. }else if(animationplayed == 15) {
  1367. ApplyAnimation(playerid,"ON_LOOKERS","Pointup_in",4.1,0,1,1,1,1);
  1368. }else if(animationplayed == 16) {
  1369. ApplyAnimation(playerid,"ON_LOOKERS","Pointup_loop",4.1,0,1,1,1,1);
  1370. }else if(animationplayed == 17) {
  1371. ApplyAnimation(playerid,"ON_LOOKERS","Pointup_out",4.1,0,1,1,1,1);
  1372. }else if(animationplayed == 18) {
  1373. ApplyAnimation(playerid,"ON_LOOKERS","Pointup_shout",4.1,0,1,1,1,1);
  1374. }else if(animationplayed == 19) {
  1375. ApplyAnimation(playerid,"ON_LOOKERS","point_in",4.1,0,1,1,1,1);
  1376. }else if(animationplayed == 20) {
  1377. ApplyAnimation(playerid,"ON_LOOKERS","point_loop",4.1,0,1,1,1,1);
  1378. }else if(animationplayed == 21) {
  1379. ApplyAnimation(playerid,"ON_LOOKERS","point_out",4.1,0,1,1,1,1);
  1380. }else if(animationplayed == 22) {
  1381. ApplyAnimation(playerid,"ON_LOOKERS","shout_01",4.1,0,1,1,1,1);
  1382. }else if(animationplayed == 23) {
  1383. ApplyAnimation(playerid,"ON_LOOKERS","shout_02",4.1,0,1,1,1,1);
  1384. }else if(animationplayed == 24) {
  1385. ApplyAnimation(playerid,"ON_LOOKERS","shout_in",4.1,0,1,1,1,1);
  1386. }else if(animationplayed == 25) {
  1387. ApplyAnimation(playerid,"ON_LOOKERS","shout_loop",4.1,0,1,1,1,1);
  1388. }else if(animationplayed == 26) {
  1389. ApplyAnimation(playerid,"ON_LOOKERS","shout_out",4.1,0,1,1,1,1);
  1390. }else if(animationplayed == 27) {
  1391. ApplyAnimation(playerid,"ON_LOOKERS","wave_in",4.1,0,1,1,1,1);
  1392. }else if(animationplayed == 28) {
  1393. ApplyAnimation(playerid,"ON_LOOKERS","wave_loop",4.1,0,1,1,1,1);
  1394. }else if(animationplayed == 25) {
  1395. ApplyAnimation(playerid,"ON_LOOKERS","wave_out",4.1,0,1,1,1,1);
  1396. }
  1397. return 1;
  1398. }
  1399. if(strcmp(cmd, "/animcarchat", true) == 0) {
  1400. tmp = strtok(cmdtext, idx);
  1401. if(!strlen(tmp)) {
  1402. SendClientMessage(playerid,0xFF0000FF,">Write /animcarchat [1-20]");
  1403. return 1;
  1404. }
  1405. animationplayed = strval(tmp);
  1406. if(animationplayed < 1 || animationplayed > 20) {
  1407. SendClientMessage(playerid,0xFF0000FF,">Write /animcarchat [1-20]");
  1408. return 1;
  1409. }
  1410. if(animationplayed == 1) {
  1411. ApplyAnimation(playerid,"CAR_CHAT","carfone_in",4.1,0,1,1,1,1);
  1412. }else if(animationplayed == 2) {
  1413. ApplyAnimation(playerid,"CAR_CHAT","carfone_loopA",4.1,0,1,1,1,1);
  1414. }else if(animationplayed == 3) {
  1415. ApplyAnimation(playerid,"CAR_CHAT","carfone_loopA_to_B",4.1,0,1,1,1,1);
  1416. }else if(animationplayed == 4) {
  1417. ApplyAnimation(playerid,"CAR_CHAT","carfone_loopB",4.1,0,1,1,1,1);
  1418. }else if(animationplayed == 5) {
  1419. ApplyAnimation(playerid,"CAR_CHAT","carfone_loopB_to_A",4.1,0,1,1,1,1);
  1420. }else if(animationplayed == 6) {
  1421. ApplyAnimation(playerid,"CAR_CHAT","carfone_out",4.1,0,1,1,1,1);
  1422. }else if(animationplayed == 7) {
  1423. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc1_BR",4.1,0,1,1,1,1);
  1424. }else if(animationplayed == 8) {
  1425. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc1_FL",4.1,0,1,1,1,1);
  1426. }else if(animationplayed == 9) {
  1427. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc1_FR",4.1,0,1,1,1,1);
  1428. }else if(animationplayed == 10) {
  1429. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc2_FL",4.1,0,1,1,1,1);
  1430. }else if(animationplayed == 11) {
  1431. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc3_BR",4.1,0,1,1,1,1);
  1432. }else if(animationplayed == 12) {
  1433. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc3_FL",4.1,0,1,1,1,1);
  1434. }else if(animationplayed == 13) {
  1435. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc3_FR",4.1,0,1,1,1,1);
  1436. }else if(animationplayed == 14) {
  1437. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc4_BL",4.1,0,1,1,1,1);
  1438. }else if(animationplayed == 15) {
  1439. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc4_BR",4.1,0,1,1,1,1);
  1440. }else if(animationplayed == 16) {
  1441. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc4_FL",4.1,0,1,1,1,1);
  1442. }else if(animationplayed == 17) {
  1443. ApplyAnimation(playerid,"CAR_CHAT","CAR_Sc4_FR",4.1,0,1,1,1,1);
  1444. }else if(animationplayed == 18) {
  1445. ApplyAnimation(playerid,"CAR_CHAT","car_talkm_in",4.1,0,1,1,1,1);
  1446. }else if(animationplayed == 19) {
  1447. ApplyAnimation(playerid,"CAR_CHAT","car_talkm_loop",4.1,0,1,1,1,1);
  1448. }else if(animationplayed == 20) {
  1449. ApplyAnimation(playerid,"CAR_CHAT","car_talkm_out",4.1,0,1,1,1,1);
  1450. }
  1451. return 1;
  1452. }
  1453. if(strcmp(cmd, "/animcasino", true) == 0) {
  1454. tmp = strtok(cmdtext, idx);
  1455. if(!strlen(tmp)) {
  1456. SendClientMessage(playerid,0xFF0000FF,">Write /animcasino [1-23]");
  1457. return 1;
  1458. }
  1459. animationplayed = strval(tmp);
  1460. if(animationplayed < 1 || animationplayed > 23) {
  1461. SendClientMessage(playerid,0xFF0000FF,">Write /animcasino [1-23]");
  1462. return 1;
  1463. }
  1464. if(animationplayed == 1) {
  1465. ApplyAnimation(playerid,"CASINO","cards_in",4.1,0,1,1,1,1);
  1466. }else if(animationplayed == 2) {
  1467. ApplyAnimation(playerid,"CASINO","cards_loop",4.1,0,1,1,1,1);
  1468. }else if(animationplayed == 3) {
  1469. ApplyAnimation(playerid,"CASINO","cards_lose",4.1,0,1,1,1,1);
  1470. }else if(animationplayed == 4) {
  1471. ApplyAnimation(playerid,"CASINO","cards_out",4.1,0,1,1,1,1);
  1472. }else if(animationplayed == 5) {
  1473. ApplyAnimation(playerid,"CASINO","cards_pick_01",4.1,0,1,1,1,1);
  1474. }else if(animationplayed == 6) {
  1475. ApplyAnimation(playerid,"CASINO","cards_pick_02",4.1,0,1,1,1,1);
  1476. }else if(animationplayed == 7) {
  1477. ApplyAnimation(playerid,"CASINO","cards_raise",4.1,0,1,1,1,1);
  1478. }else if(animationplayed == 8) {
  1479. ApplyAnimation(playerid,"CASINO","cards_win",4.1,0,1,1,1,1);
  1480. }else if(animationplayed == 9) {
  1481. ApplyAnimation(playerid,"CASINO","manwinb",4.1,0,1,1,1,1);
  1482. }else if(animationplayed == 10) {
  1483. ApplyAnimation(playerid,"CASINO","manwind",4.1,0,1,1,1,1);
  1484. }else if(animationplayed == 11) {
  1485. ApplyAnimation(playerid,"CASINO","Roulette_bet",4.1,0,1,1,1,1);
  1486. }else if(animationplayed == 12) {
  1487. ApplyAnimation(playerid,"CASINO","Roulette_in",4.1,0,1,1,1,1);
  1488. }else if(animationplayed == 13) {
  1489. ApplyAnimation(playerid,"CASINO","Roulette_loop",4.1,0,1,1,1,1);
  1490. }else if(animationplayed == 14) {
  1491. ApplyAnimation(playerid,"CASINO","Roulette_lose",4.1,0,1,1,1,1);
  1492. }else if(animationplayed == 15) {
  1493. ApplyAnimation(playerid,"CASINO","Roulette_out",4.1,0,1,1,1,1);
  1494. }else if(animationplayed == 16) {
  1495. ApplyAnimation(playerid,"CASINO","Roulette_win",4.1,0,1,1,1,1);
  1496. }else if(animationplayed == 17) {
  1497. ApplyAnimation(playerid,"CASINO","Slot_bet_02",4.1,0,1,1,1,1);
  1498. }else if(animationplayed == 18) {
  1499. ApplyAnimation(playerid,"CASINO","Slot_in",4.1,0,1,1,1,1);
  1500. }else if(animationplayed == 19) {
  1501. ApplyAnimation(playerid,"CASINO","Slot_lose_out",4.1,0,1,1,1,1);
  1502. }else if(animationplayed == 20) {
  1503. ApplyAnimation(playerid,"CASINO","Slot_Plyr",4.1,0,1,1,1,1);
  1504. }else if(animationplayed == 21) {
  1505. ApplyAnimation(playerid,"CASINO","Slot_wait",4.1,0,1,1,1,1);
  1506. }else if(animationplayed == 22) {
  1507. ApplyAnimation(playerid,"CASINO","Slot_win_out",4.1,0,1,1,1,1);
  1508. }else if(animationplayed == 23) {
  1509. ApplyAnimation(playerid,"CASINO","wof",4.1,0,1,1,1,1);
  1510. }
  1511. return 1;
  1512. }
  1513. if(strcmp(cmd, "/animbuddy", true) == 0) {
  1514. tmp = strtok(cmdtext, idx);
  1515. if(!strlen(tmp)) {
  1516. SendClientMessage(playerid,0xFF0000FF,">Write /animbuddy [1-5]");
  1517. return 1;
  1518. }
  1519. animationplayed = strval(tmp);
  1520. if(animationplayed < 1 || animationplayed > 5) {
  1521. SendClientMessage(playerid,0xFF0000FF,">Write /animbuddy [1-5]");
  1522. return 1;
  1523. }
  1524. if(animationplayed == 1) {
  1525. ApplyAnimation(playerid,"BUDDY","buddy_crouchfire",4.1,0,1,1,1,1);
  1526. }else if(animationplayed == 2) {
  1527. ApplyAnimation(playerid,"BUDDY","buddy_crouchreload",4.1,0,1,1,1,1);
  1528. }else if(animationplayed == 3) {
  1529. ApplyAnimation(playerid,"BUDDY","buddy_fire",4.1,0,1,1,1,1);
  1530. }else if(animationplayed == 4) {
  1531. ApplyAnimation(playerid,"BUDDY","buddy_fire_poor",4.1,0,1,1,1,1);
  1532. }else if(animationplayed == 5) {
  1533. ApplyAnimation(playerid,"BUDDY","buddy_reload",4.1,0,1,1,1,1);
  1534. }
  1535. return 1;
  1536. }
  1537. if(strcmp(cmd, "/animbus", true) == 0) {
  1538. tmp = strtok(cmdtext, idx);
  1539. if(!strlen(tmp)) {
  1540. SendClientMessage(playerid,0xFF0000FF,">Write /animbus [1-9]");
  1541. return 1;
  1542. }
  1543. animationplayed = strval(tmp);
  1544. if(animationplayed < 1 || animationplayed > 9) {
  1545. SendClientMessage(playerid,0xFF0000FF,">Write /animbus [1-9]");
  1546. return 1;
  1547. }
  1548. if(animationplayed == 1) {
  1549. ApplyAnimation(playerid,"BUS","BUS_close",4.1,0,1,1,1,1);
  1550. }else if(animationplayed == 2) {
  1551. ApplyAnimation(playerid,"BUS","BUS_getin_LHS",4.1,0,1,1,1,1);
  1552. }else if(animationplayed == 3) {
  1553. ApplyAnimation(playerid,"BUS","BUS_getin_RHS",4.1,0,1,1,1,1);
  1554. }else if(animationplayed == 4) {
  1555. ApplyAnimation(playerid,"BUS","BUS_getout_LHS",4.1,0,1,1,1,1);
  1556. }else if(animationplayed == 5) {
  1557. ApplyAnimation(playerid,"BUS","BUS_getout_RHS",4.1,0,1,1,1,1);
  1558. }else if(animationplayed == 6) {
  1559. ApplyAnimation(playerid,"BUS","BUS_jacked_LHS",4.1,0,1,1,1,1);
  1560. }else if(animationplayed == 7) {
  1561. ApplyAnimation(playerid,"BUS","BUS_open",4.1,0,1,1,1,1);
  1562. }else if(animationplayed == 8) {
  1563. ApplyAnimation(playerid,"BUS","BUS_open_RHS",4.1,0,1,1,1,1);
  1564. }else if(animationplayed == 9) {
  1565. ApplyAnimation(playerid,"BUS","BUS_pullout_LHS",4.1,0,1,1,1,1);
  1566. }
  1567. return 1;
  1568. }
  1569. if(strcmp(cmd, "/animcar", true) == 0) {
  1570. tmp = strtok(cmdtext, idx);
  1571. if(!strlen(tmp)) {
  1572. SendClientMessage(playerid,0xFF0000FF,">Write /animcar [1-11]");
  1573. return 1;
  1574. }
  1575. animationplayed = strval(tmp);
  1576. if(animationplayed < 1 || animationplayed > 11) {
  1577. SendClientMessage(playerid,0xFF0000FF,">Write /animcar [1-11]");
  1578. return 1;
  1579. }
  1580. if(animationplayed == 1) {
  1581. ApplyAnimation(playerid,"CAR","Fixn_Car_Loop",4.1,0,1,1,1,1);
  1582. }else if(animationplayed == 2) {
  1583. ApplyAnimation(playerid,"CAR","Fixn_Car_Out",4.1,0,1,1,1,1);
  1584. }else if(animationplayed == 3) {
  1585. ApplyAnimation(playerid,"CAR","flag_drop",4.1,0,1,1,1,1);
  1586. }else if(animationplayed == 4) {
  1587. ApplyAnimation(playerid,"CAR","Sit_relaxed",4.1,0,1,1,1,1);
  1588. }else if(animationplayed == 5) {
  1589. ApplyAnimation(playerid,"CAR","Tap_hand",4.1,0,1,1,1,1);
  1590. }else if(animationplayed == 6) {
  1591. ApplyAnimation(playerid,"CAR","Tyd2car_bump",4.1,0,1,1,1,1);
  1592. }else if(animationplayed == 7) {
  1593. ApplyAnimation(playerid,"CAR","Tyd2car_high",4.1,0,1,1,1,1);
  1594. }else if(animationplayed == 8) {
  1595. ApplyAnimation(playerid,"CAR","Tyd2car_low",4.1,0,1,1,1,1);
  1596. }else if(animationplayed == 9) {
  1597. ApplyAnimation(playerid,"CAR","Tyd2car_med",4.1,0,1,1,1,1);
  1598. }else if(animationplayed == 10) {
  1599. ApplyAnimation(playerid,"CAR","Tyd2car_TurnL",4.1,0,1,1,1,1);
  1600. }else if(animationplayed == 11) {
  1601. ApplyAnimation(playerid,"CAR","Tyd2car_TurnR",4.1,0,1,1,1,1);
  1602. }
  1603. return 1;
  1604. }
  1605. if(strcmp(cmd, "/animcarry", true) == 0) {
  1606. tmp = strtok(cmdtext, idx);
  1607. if(!strlen(tmp)) {
  1608. SendClientMessage(playerid,0xFF0000FF,">Write /animcarry [1-7]");
  1609. return 1;
  1610. }
  1611. animationplayed = strval(tmp);
  1612. if(animationplayed < 1 || animationplayed > 7) {
  1613. SendClientMessage(playerid,0xFF0000FF,">Write /animcarry [1-7]");
  1614. return 1;
  1615. }
  1616. if(animationplayed == 1) {
  1617. ApplyAnimation(playerid,"CARRY","crry_prtial",4.1,0,1,1,1,1);
  1618. }else if(animationplayed == 2) {
  1619. ApplyAnimation(playerid,"CARRY","liftup",4.1,0,1,1,1,1);
  1620. }else if(animationplayed == 3) {
  1621. ApplyAnimation(playerid,"CARRY","liftup05",4.1,0,1,1,1,1);
  1622. }else if(animationplayed == 4) {
  1623. ApplyAnimation(playerid,"CARRY","liftup105",4.1,0,1,1,1,1);
  1624. }else if(animationplayed == 5) {
  1625. ApplyAnimation(playerid,"CARRY","putdwn",4.1,0,1,1,1,1);
  1626. }else if(animationplayed == 6) {
  1627. ApplyAnimation(playerid,"CARRY","putdwn05",4.1,0,1,1,1,1);
  1628. }else if(animationplayed == 7) {
  1629. ApplyAnimation(playerid,"CARRY","putdwn105",4.1,0,1,1,1,1);
  1630. }
  1631. return 1;
  1632. }
  1633. if(strcmp(cmd, "/animintshop", true) == 0) {
  1634. tmp = strtok(cmdtext, idx);
  1635. if(!strlen(tmp)) {
  1636. SendClientMessage(playerid,0xFF0000FF,">Write /animintshop [1-8]");
  1637. return 1;
  1638. }
  1639. animationplayed = strval(tmp);
  1640. if(animationplayed < 1 || animationplayed > 8) {
  1641. SendClientMessage(playerid,0xFF0000FF,">Write /animintshop [1-8]");
  1642. return 1;
  1643. }
  1644. if(animationplayed == 1) {
  1645. ApplyAnimation(playerid,"INT_SHOP","shop_cashier",4.1,0,1,1,1,1);
  1646. }else if(animationplayed == 2) {
  1647. ApplyAnimation(playerid,"INT_SHOP","shop_in",4.1,0,1,1,1,1);
  1648. }else if(animationplayed == 3) {
  1649. ApplyAnimation(playerid,"INT_SHOP","shop_lookA",4.1,0,1,1,1,1);
  1650. }else if(animationplayed == 4) {
  1651. ApplyAnimation(playerid,"INT_SHOP","shop_lookB",4.1,0,1,1,1,1);
  1652. }else if(animationplayed == 5) {
  1653. ApplyAnimation(playerid,"INT_SHOP","shop_loop",4.1,0,1,1,1,1);
  1654. }else if(animationplayed == 6) {
  1655. ApplyAnimation(playerid,"INT_SHOP","shop_out",4.1,0,1,1,1,1);
  1656. }else if(animationplayed == 7) {
  1657. ApplyAnimation(playerid,"INT_SHOP","shop_pay",4.1,0,1,1,1,1);
  1658. }else if(animationplayed == 8) {
  1659. ApplyAnimation(playerid,"INT_SHOP","shop_shelf",4.1,0,1,1,1,1);
  1660. }
  1661. return 1;
  1662. }
  1663. if(strcmp(cmd, "/animjst", true) == 0) {
  1664. tmp = strtok(cmdtext, idx);
  1665. if(!strlen(tmp)) {
  1666. SendClientMessage(playerid,0xFF0000FF,">Write /animjst [1-4]");
  1667. return 1;
  1668. }
  1669. animationplayed = strval(tmp);
  1670. if(animationplayed < 1 || animationplayed > 4) {
  1671. SendClientMessage(playerid,0xFF0000FF,">Write /animjst [1-4]");
  1672. return 1;
  1673. }
  1674. if(animationplayed == 1) {
  1675. ApplyAnimation(playerid,"JST_BUISNESS","girl_01",4.1,0,1,1,1,1);
  1676. }else if(animationplayed == 2) {
  1677. ApplyAnimation(playerid,"JST_BUISNESS","girl_02",4.1,0,1,1,1,1);
  1678. }else if(animationplayed == 3) {
  1679. ApplyAnimation(playerid,"JST_BUISNESS","player_01",4.1,0,1,1,1,1);
  1680. }else if(animationplayed == 4) {
  1681. ApplyAnimation(playerid,"JST_BUISNESS","smoke_01",4.1,0,1,1,1,1);
  1682. }
  1683. return 1;
  1684. }
  1685. if(strcmp(cmd, "/animkart", true) == 0) {
  1686. tmp = strtok(cmdtext, idx);
  1687. if(!strlen(tmp)) {
  1688. SendClientMessage(playerid,0xFF0000FF,">Write /animkart [1-4]");
  1689. return 1;
  1690. }
  1691. animationplayed = strval(tmp);
  1692. if(animationplayed < 1 || animationplayed > 4) {
  1693. SendClientMessage(playerid,0xFF0000FF,">Write /animkart [1-4]");
  1694. return 1;
  1695. }
  1696. if(animationplayed == 1) {
  1697. ApplyAnimation(playerid,"KART","KART_getin_LHS",4.1,0,1,1,1,1);
  1698. }else if(animationplayed == 2) {
  1699. ApplyAnimation(playerid,"KART","KART_getin_RHS",4.1,0,1,1,1,1);
  1700. }else if(animationplayed == 3) {
  1701. ApplyAnimation(playerid,"KART","KART_getout_LHS",4.1,0,1,1,1,1);
  1702. }else if(animationplayed == 4) {
  1703. ApplyAnimation(playerid,"KART","KART_getout_RHS",4.1,0,1,1,1,1);
  1704. }
  1705. return 1;
  1706. }
  1707. if(strcmp(cmd, "/animkissing", true) == 0) {
  1708. tmp = strtok(cmdtext, idx);
  1709. if(!strlen(tmp)) {
  1710. SendClientMessage(playerid,0xFF0000FF,">Write /animkissing [1-14]");
  1711. return 1;
  1712. }
  1713. animationplayed = strval(tmp);
  1714. if(animationplayed < 1 || animationplayed > 14) {
  1715. SendClientMessage(playerid,0xFF0000FF,">Write /animkissing [1-14]");
  1716. return 1;
  1717. }
  1718. if(animationplayed == 1) {
  1719. ApplyAnimation(playerid,"KISSING","BD_GF_Wave",4.1,0,1,1,1,1);
  1720. }else if(animationplayed == 2) {
  1721. ApplyAnimation(playerid,"KISSING","gfwave2",4.1,0,1,1,1,1);
  1722. }else if(animationplayed == 3) {
  1723. ApplyAnimation(playerid,"KISSING","GF_CarArgue_01",4.1,0,1,1,1,1);
  1724. }else if(animationplayed == 4) {
  1725. ApplyAnimation(playerid,"KISSING","GF_CarArgue_02",4.1,0,1,1,1,1);
  1726. }else if(animationplayed == 5) {
  1727. ApplyAnimation(playerid,"KISSING","GF_CarSpot",4.1,0,1,1,1,1);
  1728. }else if(animationplayed == 6) {
  1729. ApplyAnimation(playerid,"KISSING","GF_StreetArgue_01",4.1,0,1,1,1,1);
  1730. }else if(animationplayed == 7) {
  1731. ApplyAnimation(playerid,"KISSING","GF_StreetArgue_02",4.1,0,1,1,1,1);
  1732. }else if(animationplayed == 8) {
  1733. ApplyAnimation(playerid,"KISSING","gift_give",4.1,0,1,1,1,1);
  1734. }else if(animationplayed == 9) {
  1735. ApplyAnimation(playerid,"KISSING","Grlfrd_Kiss_01",4.1,0,1,1,1,1);
  1736. }else if(animationplayed == 10) {
  1737. ApplyAnimation(playerid,"KISSING","Grlfrd_Kiss_02",4.1,0,1,1,1,1);
  1738. }else if(animationplayed == 11) {
  1739. ApplyAnimation(playerid,"KISSING","Grlfrd_Kiss_03",4.1,0,1,1,1,1);
  1740. }else if(animationplayed == 12) {
  1741. ApplyAnimation(playerid,"KISSING","Playa_Kiss_01",4.1,0,1,1,1,1);
  1742. }else if(animationplayed == 13) {
  1743. ApplyAnimation(playerid,"KISSING","Playa_Kiss_02",4.1,0,1,1,1,1);
  1744. }else if(animationplayed == 14) {
  1745. ApplyAnimation(playerid,"KISSING","Playa_Kiss_03",4.1,0,1,1,1,1);
  1746. }
  1747. return 1;
  1748. }
  1749. if(strcmp(cmd, "/animknife", true) == 0) {
  1750. tmp = strtok(cmdtext, idx);
  1751. if(!strlen(tmp)) {
  1752. SendClientMessage(playerid,0xFF0000FF,">Write /animknife [1-14]");
  1753. return 1;
  1754. }
  1755. animationplayed = strval(tmp);
  1756. if(animationplayed < 1 || animationplayed > 14) {
  1757. SendClientMessage(playerid,0xFF0000FF,">Write /animknife [1-14]");
  1758. return 1;
  1759. }
  1760. if(animationplayed == 1) {
  1761. ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.1,0,1,1,1,1);
  1762. }else if(animationplayed == 2) {
  1763. ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.1,0,1,1,1,1);
  1764. }else if(animationplayed == 3) {
  1765. ApplyAnimation(playerid,"KNIFE","KILL_Knife_Player",4.1,0,1,1,1,1);
  1766. }else if(animationplayed == 4) {
  1767. ApplyAnimation(playerid,"KNIFE","KILL_Partial",4.1,0,1,1,1,1);
  1768. }else if(animationplayed == 5) {
  1769. ApplyAnimation(playerid,"KNIFE","knife_2",4.1,0,1,1,1,1);
  1770. }else if(animationplayed == 6) {
  1771. ApplyAnimation(playerid,"KNIFE","knife_3",4.1,0,1,1,1,1);
  1772. }else if(animationplayed == 7) {
  1773. ApplyAnimation(playerid,"KNIFE","knife_4",4.1,0,1,1,1,1);
  1774. }else if(animationplayed == 8) {
  1775. ApplyAnimation(playerid,"KNIFE","Knife_G",4.1,0,1,1,1,1);
  1776. }else if(animationplayed == 9) {
  1777. ApplyAnimation(playerid,"KNIFE","knife_hit_1",4.1,0,1,1,1,1);
  1778. }else if(animationplayed == 10) {
  1779. ApplyAnimation(playerid,"KNIFE","knife_hit_2",4.1,0,1,1,1,1);
  1780. }else if(animationplayed == 11) {
  1781. ApplyAnimation(playerid,"KNIFE","knife_IDLE",4.1,0,1,1,1,1);
  1782. }else if(animationplayed == 12) {
  1783. ApplyAnimation(playerid,"KNIFE","knife_hit_3",4.1,0,1,1,1,1);
  1784. }else if(animationplayed == 13) {
  1785. ApplyAnimation(playerid,"KNIFE","knife_part",4.1,0,1,1,1,1);
  1786. }else if(animationplayed == 14) {
  1787. ApplyAnimation(playerid,"KNIFE","WEAPON_knifeidle",4.1,0,1,1,1,1);
  1788. }
  1789. return 1;
  1790. }
  1791. if(strcmp(cmd, "/animlapdan", true) == 0) {
  1792. tmp = strtok(cmdtext, idx);
  1793. if(!strlen(tmp)) {
  1794. SendClientMessage(playerid,0xFF0000FF,">Write /animlapdan [1-6]");
  1795. return 1;
  1796. }
  1797. animationplayed = strval(tmp);
  1798. if(animationplayed < 1 || animationplayed > 6) {
  1799. SendClientMessage(playerid,0xFF0000FF,">Write /animlapdan [1-6]");
  1800. return 1;
  1801. }
  1802. if(animationplayed == 1) {
  1803. ApplyAnimation(playerid,"LAPDAN1","LAPDAN_D",4.1,0,1,1,1,1);
  1804. }else if(animationplayed == 2) {
  1805. ApplyAnimation(playerid,"LAPDAN1","LAPDAN_P",4.1,0,1,1,1,1);
  1806. }else if(animationplayed == 3) {
  1807. ApplyAnimation(playerid,"LAPDAN2","LAPDAN_D",4.1,0,1,1,1,1);
  1808. }else if(animationplayed == 4) {
  1809. ApplyAnimation(playerid,"LAPDAN2","LAPDAN_P",4.1,0,1,1,1,1);
  1810. }else if(animationplayed == 5) {
  1811. ApplyAnimation(playerid,"LAPDAN3","LAPDAN_D",4.1,0,1,1,1,1);
  1812. }else if(animationplayed == 6) {
  1813. ApplyAnimation(playerid,"LAPDAN3","LAPDAN_P",4.1,0,1,1,1,1);
  1814. }
  1815. return 1;
  1816. }
  1817. if(strcmp(cmd, "/animdend", true) == 0) {
  1818. tmp = strtok(cmdtext, idx);
  1819. if(!strlen(tmp)) {
  1820. SendClientMessage(playerid,0xFF0000FF,">Write /animdend [1-8]");
  1821. return 1;
  1822. }
  1823. animationplayed = strval(tmp);
  1824. if(animationplayed < 1 || animationplayed > 8) {
  1825. SendClientMessage(playerid,0xFF0000FF,">Write /animdend [1-8]");
  1826. return 1;
  1827. }
  1828. if(animationplayed == 1) {
  1829. ApplyAnimation(playerid,"MD_END","END_SC1_PLY",4.1,0,1,1,1,1);
  1830. }else if(animationplayed == 2) {
  1831. ApplyAnimation(playerid,"MD_END","END_SC1_RYD",4.1,0,1,1,1,1);
  1832. }else if(animationplayed == 3) {
  1833. ApplyAnimation(playerid,"MD_END","END_SC1_SMO",4.1,0,1,1,1,1);
  1834. }else if(animationplayed == 4) {
  1835. ApplyAnimation(playerid,"MD_END","END_SC1_SWE",4.1,0,1,1,1,1);
  1836. }else if(animationplayed == 5) {
  1837. ApplyAnimation(playerid,"MD_END","END_SC2_PLY",4.1,0,1,1,1,1);
  1838. }else if(animationplayed == 6) {
  1839. ApplyAnimation(playerid,"MD_END","END_SC2_RYD",4.1,0,1,1,1,1);
  1840. }else if(animationplayed == 7) {
  1841. ApplyAnimation(playerid,"MD_END","END_SC2_SMO",4.1,0,1,1,1,1);
  1842. }else if(animationplayed == 8) {
  1843. ApplyAnimation(playerid,"MD_END","END_SC2_SWE",4.1,0,1,1,1,1);
  1844. }
  1845. return 1;
  1846. }
  1847.  
  1848. if(strcmp(cmd, "/animmedic", true) == 0) {
  1849. tmp = strtok(cmdtext, idx);
  1850. if(!strlen(tmp)) {
  1851. SendClientMessage(playerid,0xFF0000FF,">Write /animmedic [1]");
  1852. return 1;
  1853. }
  1854. animationplayed = strval(tmp);
  1855. if(animationplayed < 1 || animationplayed > 1) {
  1856. SendClientMessage(playerid,0xFF0000FF,">Write /animmedic [1]");
  1857. return 1;
  1858. }
  1859. if(animationplayed == 1) {
  1860. ApplyAnimation(playerid,"MEDIC","CPR",4.1,0,1,1,1,1);
  1861. }
  1862. return 1;
  1863. }
  1864. if(strcmp(cmd, "/animmtb", true) == 0) {
  1865. tmp = strtok(cmdtext, idx);
  1866. if(!strlen(tmp)) {
  1867. SendClientMessage(playerid,0xFF0000FF,">Write /animmtb [1-18]");
  1868. return 1;
  1869. }
  1870. animationplayed = strval(tmp);
  1871. if(animationplayed < 1 || animationplayed > 18) {
  1872. SendClientMessage(playerid,0xFF0000FF,">Write /animmtb [1-18]");
  1873. return 1;
  1874. }
  1875. if(animationplayed == 1) {
  1876. ApplyAnimation(playerid,"MTB","MTB_back",4.1,0,1,1,1,1);
  1877. }else if(animationplayed == 2) {
  1878. ApplyAnimation(playerid,"MTB","MTB_bunnyhop",4.1,0,1,1,1,1);
  1879. }else if(animationplayed == 3) {
  1880. ApplyAnimation(playerid,"MTB","MTB_drivebyFT",4.1,0,1,1,1,1);
  1881. }else if(animationplayed == 4) {
  1882. ApplyAnimation(playerid,"MTB","MTB_driveby_LHS",4.1,0,1,1,1,1);
  1883. }else if(animationplayed == 5) {
  1884. ApplyAnimation(playerid,"MTB","MTB_driveby_RHS",4.1,0,1,1,1,1);
  1885. }else if(animationplayed == 6) {
  1886. ApplyAnimation(playerid,"MTB","MTB_fwd",4.1,0,1,1,1,1);
  1887. }else if(animationplayed == 7) {
  1888. ApplyAnimation(playerid,"MTB","MTB_getoffBACK",4.1,0,1,1,1,1);
  1889. }else if(animationplayed == 8) {
  1890. ApplyAnimation(playerid,"MTB","MTB_pushes",4.1,0,1,1,1,1);
  1891. }else if(animationplayed == 9) {
  1892. ApplyAnimation(playerid,"MTB","MTB_getoffLHS",4.1,0,1,1,1,1);
  1893. }else if(animationplayed == 10) {
  1894. ApplyAnimation(playerid,"MTB","MTB_getoffRHS",4.1,0,1,1,1,1);
  1895. }else if(animationplayed == 11) {
  1896. ApplyAnimation(playerid,"MTB","MTB_jumponL",4.1,0,1,1,1,1);
  1897. }else if(animationplayed == 12) {
  1898. ApplyAnimation(playerid,"MTB","MTB_jumponR",4.1,0,1,1,1,1);
  1899. }else if(animationplayed == 13) {
  1900. ApplyAnimation(playerid,"MTB","MTB_Left",4.1,0,1,1,1,1);
  1901. }else if(animationplayed == 14) {
  1902. ApplyAnimation(playerid,"MTB","MTB_pedal",4.1,0,1,1,1,1);
  1903. }else if(animationplayed == 15) {
  1904. ApplyAnimation(playerid,"MTB","MTB_Ride",4.1,0,1,1,1,1);
  1905. }else if(animationplayed == 16) {
  1906. ApplyAnimation(playerid,"MTB","MTB_Right",4.1,0,1,1,1,1);
  1907. }else if(animationplayed == 17) {
  1908. ApplyAnimation(playerid,"MTB","MTB_sprint",4.1,0,1,1,1,1);
  1909. }else if(animationplayed == 18) {
  1910. ApplyAnimation(playerid,"MTB","MTB_still",4.1,0,1,1,1,1);
  1911. }
  1912. return 1;
  1913. }
  1914. if(strcmp(cmd, "/animmusc", true) == 0) {
  1915. tmp = strtok(cmdtext, idx);
  1916. if(!strlen(tmp)) {
  1917. SendClientMessage(playerid,0xFF0000FF,">Write /animmusc [1-17]");
  1918. return 1;
  1919. }
  1920. animationplayed = strval(tmp);
  1921. if(animationplayed < 1 || animationplayed > 17) {
  1922. SendClientMessage(playerid,0xFF0000FF,">Write /animmusc [1-17]");
  1923. return 1;
  1924. }
  1925. if(animationplayed == 1) {
  1926. ApplyAnimation(playerid,"MUSCULAR","MscleWalkst_armed",4.1,0,1,1,1,1);
  1927. }else if(animationplayed == 2) {
  1928. ApplyAnimation(playerid,"MUSCULAR","MscleWalkst_Csaw",4.1,0,1,1,1,1);
  1929. }else if(animationplayed == 3) {
  1930. ApplyAnimation(playerid,"MUSCULAR","Mscle_rckt_run",4.1,0,1,1,1,1);
  1931. }else if(animationplayed == 4) {
  1932. ApplyAnimation(playerid,"MUSCULAR","Mscle_rckt_walkst",4.1,0,1,1,1,1);
  1933. }else if(animationplayed == 5) {
  1934. ApplyAnimation(playerid,"MUSCULAR","Mscle_run_Csaw",4.1,0,1,1,1,1);
  1935. }else if(animationplayed == 6) {
  1936. ApplyAnimation(playerid,"MUSCULAR","MuscleIdle",4.1,0,1,1,1,1);
  1937. }else if(animationplayed == 7) {
  1938. ApplyAnimation(playerid,"MUSCULAR","MuscleIdle_armed",4.1,0,1,1,1,1);
  1939. }else if(animationplayed == 8) {
  1940. ApplyAnimation(playerid,"MUSCULAR","MuscleIdle_Csaw",4.1,0,1,1,1,1);
  1941. }else if(animationplayed == 9) {
  1942. ApplyAnimation(playerid,"MUSCULAR","MuscleIdle_rocket",4.1,0,1,1,1,1);
  1943. }else if(animationplayed == 10) {
  1944. ApplyAnimation(playerid,"MUSCULAR","MuscleRun",4.1,0,1,1,1,1);
  1945. }else if(animationplayed == 11) {
  1946. ApplyAnimation(playerid,"MUSCULAR","MuscleRun_armed",4.1,0,1,1,1,1);
  1947. }else if(animationplayed == 12) {
  1948. ApplyAnimation(playerid,"MUSCULAR","MuscleSprint",4.1,0,1,1,1,1);
  1949. }else if(animationplayed == 13) {
  1950. ApplyAnimation(playerid,"MUSCULAR","MuscleWalk",4.1,0,1,1,1,1);
  1951. }else if(animationplayed == 14) {
  1952. ApplyAnimation(playerid,"MUSCULAR","MuscleWalkstart",4.1,0,1,1,1,1);
  1953. }else if(animationplayed == 15) {
  1954. ApplyAnimation(playerid,"MUSCULAR","MuscleWalk_armed",4.1,0,1,1,1,1);
  1955. }else if(animationplayed == 16) {
  1956. ApplyAnimation(playerid,"MUSCULAR","Musclewalk_Csaw",4.1,0,1,1,1,1);
  1957. }else if(animationplayed == 17) {
  1958. ApplyAnimation(playerid,"MUSCULAR","Musclewalk_rocket",4.1,0,1,1,1,1);
  1959. }
  1960. return 1;
  1961. }
  1962. if(strcmp(cmd, "/animotb", true) == 0) {
  1963. tmp = strtok(cmdtext, idx);
  1964. if(!strlen(tmp)) {
  1965. SendClientMessage(playerid,0xFF0000FF,">Write /animotb [1-11]");
  1966. return 1;
  1967. }
  1968. animationplayed = strval(tmp);
  1969. if(animationplayed < 1 || animationplayed > 11) {
  1970. SendClientMessage(playerid,0xFF0000FF,">Write /animotb [1-11]");
  1971. return 1;
  1972. }
  1973. if(animationplayed == 1) {
  1974. ApplyAnimation(playerid,"OTB","betslp_in",4.1,0,1,1,1,1);
  1975. }else if(animationplayed == 2) {
  1976. ApplyAnimation(playerid,"OTB","betslp_lkabt",4.1,0,1,1,1,1);
  1977. }else if(animationplayed == 3) {
  1978. ApplyAnimation(playerid,"OTB","betslp_loop",4.1,0,1,1,1,1);
  1979. }else if(animationplayed == 4) {
  1980. ApplyAnimation(playerid,"OTB","betslp_out",4.1,0,1,1,1,1);
  1981. }else if(animationplayed == 5) {
  1982. ApplyAnimation(playerid,"OTB","betslp_tnk",4.1,0,1,1,1,1);
  1983. }else if(animationplayed == 6) {
  1984. ApplyAnimation(playerid,"OTB","wtchrace_cmon",4.1,0,1,1,1,1);
  1985. }else if(animationplayed == 7) {
  1986. ApplyAnimation(playerid,"OTB","wtchrace_in",4.1,0,1,1,1,1);
  1987. }else if(animationplayed == 8) {
  1988. ApplyAnimation(playerid,"OTB","wtchrace_loop",4.1,0,1,1,1,1);
  1989. }else if(animationplayed == 9) {
  1990. ApplyAnimation(playerid,"OTB","wtchrace_lose",4.1,0,1,1,1,1);
  1991. }else if(animationplayed == 10) {
  1992. ApplyAnimation(playerid,"OTB","wtchrace_out",4.1,0,1,1,1,1);
  1993. }else if(animationplayed == 11) {
  1994. ApplyAnimation(playerid,"OTB","wtchrace_win",4.1,0,1,1,1,1);
  1995. }
  1996. return 1;
  1997. }
  1998. if(strcmp(cmd, "/animnevada", true) == 0) {
  1999. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  2000. tmp = strtok(cmdtext, idx);
  2001. if(!strlen(tmp)) {
  2002. SendClientMessage(playerid,0xFF0000FF,">Write /animnevada [1-2]");
  2003. return 1;
  2004. }
  2005. animationplayed = strval(tmp);
  2006. if(animationplayed < 1 || animationplayed > 2) {
  2007. SendClientMessage(playerid,0xFF0000FF,">Write /animnevada [1-2]");
  2008. return 1;
  2009. }
  2010. if(animationplayed == 1) {
  2011. ApplyAnimation(playerid,"NEVADA","NEVADA_getin",4.1,0,1,1,1,1);
  2012. } else if(animationplayed == 2) {
  2013. ApplyAnimation(playerid,"NEVADA","NEVADA_getout",4.1,0,1,1,1,1);
  2014. }
  2015. return 1;
  2016. }
  2017. }
  2018. if(strcmp(cmd, "/animpark", true) == 0) {
  2019. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  2020. tmp = strtok(cmdtext, idx);
  2021. if(!strlen(tmp)) {
  2022. SendClientMessage(playerid,0xFF0000FF,">Write /animpark [1-3]");
  2023. return 1;
  2024. }
  2025. animationplayed = strval(tmp);
  2026. if(animationplayed < 1 || animationplayed > 3) {
  2027. SendClientMessage(playerid,0xFF0000FF,">Write /animpark [1-3]");
  2028. return 1;
  2029. }
  2030. if(animationplayed == 1) {
  2031. ApplyAnimation(playerid,"PARK","Tai_Chi_in",4.1,0,1,1,1,1);
  2032. } else if(animationplayed == 2) {
  2033. ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.1,0,1,1,1,1);
  2034. } else if(animationplayed == 3) {
  2035. ApplyAnimation(playerid,"PARK","Tai_Chi_Out",4.1,0,1,1,1,1);
  2036. }
  2037. return 1;
  2038. }
  2039. }
  2040. if(strcmp(cmd, "/animpaul", true) == 0) {
  2041. tmp = strtok(cmdtext, idx);
  2042. if(!strlen(tmp)) {
  2043. SendClientMessage(playerid,0xFF0000FF,">Write /animpaul [1-12]");
  2044. return 1;
  2045. }
  2046. animationplayed = strval(tmp);
  2047. if(animationplayed < 1 || animationplayed > 12) {
  2048. SendClientMessage(playerid,0xFF0000FF,">Write /animpaul [1-12]");
  2049. return 1;
  2050. }
  2051. if(animationplayed == 1) {
  2052. ApplyAnimation(playerid,"PAULNMAC","Piss_in",4.1,0,1,1,1,1);
  2053. } else if(animationplayed == 2) {
  2054. ApplyAnimation(playerid,"PAULNMAC","Piss_loop",4.1,0,1,1,1,1);
  2055. } else if(animationplayed == 3) {
  2056. ApplyAnimation(playerid,"PAULNMAC","Piss_out",4.1,0,1,1,1,1);
  2057. } else if(animationplayed == 4) {
  2058. ApplyAnimation(playerid,"PAULNMAC","PnM_Argue1_A",4.1,0,1,1,1,1);
  2059. } else if(animationplayed == 5) {
  2060. ApplyAnimation(playerid,"PAULNMAC","PnM_Argue1_B",4.1,0,1,1,1,1);
  2061. } else if(animationplayed == 6) {
  2062. ApplyAnimation(playerid,"PAULNMAC","PnM_Argue2_A",4.1,0,1,1,1,1);
  2063. } else if(animationplayed == 7) {
  2064. ApplyAnimation(playerid,"PAULNMAC","PnM_Argue2_B",4.1,0,1,1,1,1);
  2065. } else if(animationplayed == 8) {
  2066. ApplyAnimation(playerid,"PAULNMAC","PnM_Loop_A",4.1,0,1,1,1,1);
  2067. } else if(animationplayed == 9) {
  2068. ApplyAnimation(playerid,"PAULNMAC","PnM_Loop_B",4.1,0,1,1,1,1);
  2069. } else if(animationplayed == 10) {
  2070. ApplyAnimation(playerid,"PAULNMAC","wank_in",4.1,0,1,1,1,1);
  2071. } else if(animationplayed == 11) {
  2072. ApplyAnimation(playerid,"PAULNMAC","wank_loop",4.1,0,1,1,1,1);
  2073. } else if(animationplayed == 12) {
  2074. ApplyAnimation(playerid,"PAULNMAC","wank_out",4.1,0,1,1,1,1);
  2075. }
  2076. return 1;
  2077. }
  2078. if(strcmp(cmd, "/animsaw", true) == 0) {
  2079. tmp = strtok(cmdtext, idx);
  2080. if(!strlen(tmp)) {
  2081. SendClientMessage(playerid,0xFF0000FF,">Write /animsaw [1-10]");
  2082. return 1;
  2083. }
  2084. animationplayed = strval(tmp);
  2085. if(animationplayed < 1 || animationplayed > 12) {
  2086. SendClientMessage(playerid,0xFF0000FF,">Write /animsaw [1-10]");
  2087. return 1;
  2088. }
  2089. if(animationplayed == 1) {
  2090. ApplyAnimation(playerid,"CHAINSAW","CSAW_1",4.1,0,1,1,1,1);
  2091. } else if(animationplayed == 2) {
  2092. ApplyAnimation(playerid,"CHAINSAW","CSAW_2",4.1,0,1,1,1,1);
  2093. } else if(animationplayed == 3) {
  2094. ApplyAnimation(playerid,"CHAINSAW","CSAW_3",4.1,0,1,1,1,1);
  2095. } else if(animationplayed == 4) {
  2096. ApplyAnimation(playerid,"CHAINSAW","CSAW_G",4.1,0,1,1,1,1);
  2097. } else if(animationplayed == 5) {
  2098. ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_1",4.1,0,1,1,1,1);
  2099. } else if(animationplayed == 6) {
  2100. ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_2",4.1,0,1,1,1,1);
  2101. } else if(animationplayed == 7) {
  2102. ApplyAnimation(playerid,"CHAINSAW","CSAW_Hit_3",4.1,0,1,1,1,1);
  2103. } else if(animationplayed == 8) {
  2104. ApplyAnimation(playerid,"CHAINSAW","IDLE_csaw",4.1,0,1,1,1,1);
  2105. } else if(animationplayed == 9) {
  2106. ApplyAnimation(playerid,"CHAINSAW","WEAPON_csaw",4.1,0,1,1,1,1);
  2107. } else if(animationplayed == 10) {
  2108. ApplyAnimation(playerid,"CHAINSAW","WEAPON_csawlo",4.1,0,1,1,1,1);
  2109. }
  2110. return 1;
  2111. }
  2112. if(strcmp(cmd, "/animchoppa", true) == 0) {
  2113. tmp = strtok(cmdtext, idx);
  2114. if(!strlen(tmp)) {
  2115. SendClientMessage(playerid,0xFF0000FF,">Write /animchoppa [1-18]");
  2116. return 1;
  2117. }
  2118. animationplayed = strval(tmp);
  2119. if(animationplayed < 1 || animationplayed > 18) {
  2120. SendClientMessage(playerid,0xFF0000FF,">Write /animchoppa [1-18]");
  2121. return 1;
  2122. }
  2123. if(animationplayed == 1) {
  2124. ApplyAnimation(playerid,"CHOPPA","CHOPPA_back",4.1,0,1,1,1,1);
  2125. }else if(animationplayed == 2) {
  2126. ApplyAnimation(playerid,"CHOPPA","CHOPPA_bunnyhop",4.1,0,1,1,1,1);
  2127. }else if(animationplayed == 3) {
  2128. ApplyAnimation(playerid,"CHOPPA","CHOPPA_drivebyFT",4.1,0,1,1,1,1);
  2129. }else if(animationplayed == 4) {
  2130. ApplyAnimation(playerid,"CHOPPA","CHOPPA_driveby_LHS",4.1,0,1,1,1,1);
  2131. }else if(animationplayed == 5) {
  2132. ApplyAnimation(playerid,"CHOPPA","CHOPPA_driveby_RHS",4.1,0,1,1,1,1);
  2133. }else if(animationplayed == 6) {
  2134. ApplyAnimation(playerid,"CHOPPA","CHOPPA_fwd",4.1,0,1,1,1,1);
  2135. }else if(animationplayed == 7) {
  2136. ApplyAnimation(playerid,"CHOPPA","CHOPPA_getoffBACK",4.1,0,1,1,1,1);
  2137. }else if(animationplayed == 8) {
  2138. ApplyAnimation(playerid,"CHOPPA","CHOPPA_getoffLHS",4.1,0,1,1,1,1);
  2139. }else if(animationplayed == 9) {
  2140. ApplyAnimation(playerid,"CHOPPA","CHOPPA_getoffRHS",4.1,0,1,1,1,1);
  2141. }else if(animationplayed == 10) {
  2142. ApplyAnimation(playerid,"CHOPPA","CHOPPA_jumponL",4.1,0,1,1,1,1);
  2143. }else if(animationplayed == 11) {
  2144. ApplyAnimation(playerid,"CHOPPA","CHOPPA_jumponR",4.1,0,1,1,1,1);
  2145. }else if(animationplayed == 12) {
  2146. ApplyAnimation(playerid,"CHOPPA","CHOPPA_Left",4.1,0,1,1,1,1);
  2147. }else if(animationplayed == 13) {
  2148. ApplyAnimation(playerid,"CHOPPA","CHOPPA_pedal",4.1,0,1,1,1,1);
  2149. }else if(animationplayed == 14) {
  2150. ApplyAnimation(playerid,"CHOPPA","CHOPPA_Pushes",4.1,0,1,1,1,1);
  2151. }else if(animationplayed == 15) {
  2152. ApplyAnimation(playerid,"CHOPPA","CHOPPA_ride",4.1,0,1,1,1,1);
  2153. }else if(animationplayed == 16) {
  2154. ApplyAnimation(playerid,"CHOPPA","CHOPPA_Right",4.1,0,1,1,1,1);
  2155. }else if(animationplayed == 17) {
  2156. ApplyAnimation(playerid,"CHOPPA","CHOPPA_sprint",4.1,0,1,1,1,1);
  2157. }else if(animationplayed == 18) {
  2158. ApplyAnimation(playerid,"CHOPPA","CHOPPA_Still",4.1,0,1,1,1,1);
  2159. }
  2160. return 1;
  2161. }
  2162.  
  2163. if(strcmp(cmd, "/animclothes", true) == 0) {
  2164. tmp = strtok(cmdtext, idx);
  2165. if(!strlen(tmp)) {
  2166. SendClientMessage(playerid,0xFF0000FF,">Write /animclothes [1-13]");
  2167. return 1;
  2168. }
  2169. animationplayed = strval(tmp);
  2170. if(animationplayed < 1 || animationplayed > 13) {
  2171. SendClientMessage(playerid,0xFF0000FF,">Write /animclothes [1-13]");
  2172. return 1;
  2173. }
  2174. if(animationplayed == 1) {
  2175. ApplyAnimation(playerid,"CLOTHES","CLO_Buy",4.1,0,1,1,1,1);
  2176. } else if(animationplayed == 2) {
  2177. ApplyAnimation(playerid,"CLOTHES","CLO_In",4.1,0,1,1,1,1);
  2178. } else if(animationplayed == 3) {
  2179. ApplyAnimation(playerid,"CLOTHES","CLO_Out",4.1,0,1,1,1,1);
  2180. } else if(animationplayed == 4) {
  2181. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Hat",4.1,0,1,1,1,1);
  2182. } else if(animationplayed == 5) {
  2183. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_In",4.1,0,1,1,1,1);
  2184. } else if(animationplayed == 6) {
  2185. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_In_O",4.1,0,1,1,1,1);
  2186. } else if(animationplayed == 7) {
  2187. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Legs",4.1,0,1,1,1,1);
  2188. } else if(animationplayed == 8) {
  2189. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Loop",4.1,0,1,1,1,1);
  2190. } else if(animationplayed == 9) {
  2191. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Out",4.1,0,1,1,1,1);
  2192. } else if(animationplayed == 10) {
  2193. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Out_O",4.1,0,1,1,1,1);
  2194. } else if(animationplayed == 11) {
  2195. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Shoes",4.1,0,1,1,1,1);
  2196. } else if(animationplayed == 12) {
  2197. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Torso",4.1,0,1,1,1,1);
  2198. } else if(animationplayed == 13) {
  2199. ApplyAnimation(playerid,"CLOTHES","CLO_Pose_Watch",4.1,0,1,1,1,1);
  2200. }
  2201. return 1;
  2202. }
  2203. if(strcmp(cmd, "/animcoach", true) == 0) {
  2204. tmp = strtok(cmdtext, idx);
  2205. if(!strlen(tmp)) {
  2206. SendClientMessage(playerid,0xFF0000FF,">Write /animcoach [1-6]");
  2207. return 1;
  2208. }
  2209. animationplayed = strval(tmp);
  2210. if(animationplayed < 1 || animationplayed > 6) {
  2211. SendClientMessage(playerid,0xFF0000FF,">Write /animcoach [1-6]");
  2212. return 1;
  2213. }
  2214. if(animationplayed == 1) {
  2215. ApplyAnimation(playerid,"COACH","COACH_inL",4.1,0,1,1,1,1);
  2216. }else if(animationplayed == 2) {
  2217. ApplyAnimation(playerid,"COACH","COACH_inR",4.1,0,1,1,1,1);
  2218. }else if(animationplayed == 3) {
  2219. ApplyAnimation(playerid,"COACH","COACH_opnL",4.1,0,1,1,1,1);
  2220. }else if(animationplayed == 4) {
  2221. ApplyAnimation(playerid,"COACH","COACH_opnR",4.1,0,1,1,1,1);
  2222. }else if(animationplayed == 5) {
  2223. ApplyAnimation(playerid,"COACH","COACH_outL",4.1,0,1,1,1,1);
  2224. }else if(animationplayed == 6) {
  2225. ApplyAnimation(playerid,"COACH","COACH_outR",4.1,0,1,1,1,1);
  2226. }
  2227. return 1;
  2228. }
  2229.  
  2230. if(strcmp(cmd, "/animcolt", true) == 0) {
  2231. tmp = strtok(cmdtext, idx);
  2232. if(!strlen(tmp)) {
  2233. SendClientMessage(playerid,0xFF0000FF,">Write /animcolt [1-7]");
  2234. return 1;
  2235. }
  2236. animationplayed = strval(tmp);
  2237. if(animationplayed < 1 || animationplayed > 7) {
  2238. SendClientMessage(playerid,0xFF0000FF,">Write /animcolt [1-7]");
  2239. return 1;
  2240. }
  2241. if(animationplayed == 1) {
  2242. ApplyAnimation(playerid,"COLT45","2guns_crouchfire",4.1,0,1,1,1,1);
  2243. }else if(animationplayed == 2) {
  2244. ApplyAnimation(playerid,"COLT45","colt45_crouchfire",4.1,0,1,1,1,1);
  2245. }else if(animationplayed == 3) {
  2246. ApplyAnimation(playerid,"COLT45","colt45_crouchreload",4.1,0,1,1,1,1);
  2247. }else if(animationplayed == 4) {
  2248. ApplyAnimation(playerid,"COLT45","colt45_fire",4.1,0,1,1,1,1);
  2249. }else if(animationplayed == 5) {
  2250. ApplyAnimation(playerid,"COLT45","colt45_fire_2hands",4.1,0,1,1,1,1);
  2251. }else if(animationplayed == 6) {
  2252. ApplyAnimation(playerid,"COLT45","colt45_reload",4.1,0,1,1,1,1);
  2253. }else if(animationplayed == 7) {
  2254. ApplyAnimation(playerid,"COLT45","sawnoff_reload",4.1,0,1,1,1,1);
  2255. }
  2256. return 1;
  2257. }
  2258. if(strcmp(cmd, "/animcopa", true) == 0) {
  2259. tmp = strtok(cmdtext, idx);
  2260. if(!strlen(tmp)) {
  2261. SendClientMessage(playerid,0xFF0000FF,">Write /animcopa [1-12]");
  2262. return 1;
  2263. }
  2264. animationplayed = strval(tmp);
  2265. if(animationplayed < 1 || animationplayed > 12) {
  2266. SendClientMessage(playerid,0xFF0000FF,">Write /animcopa[1-12]");
  2267. return 1;
  2268. }
  2269. if(animationplayed == 1) {
  2270. ApplyAnimation(playerid,"COP_AMBIENT","Copbrowse_in",4.1,0,1,1,1,1);
  2271. } else if(animationplayed == 2) {
  2272. ApplyAnimation(playerid,"COP_AMBIENT","Copbrowse_loop",4.1,0,1,1,1,1);
  2273. } else if(animationplayed == 3) {
  2274. ApplyAnimation(playerid,"COP_AMBIENT","Copbrowse_nod",4.1,0,1,1,1,1);
  2275. } else if(animationplayed == 4) {
  2276. ApplyAnimation(playerid,"COP_AMBIENT","Copbrowse_out",4.1,0,1,1,1,1);
  2277. } else if(animationplayed == 5) {
  2278. ApplyAnimation(playerid,"COP_AMBIENT","Copbrowse_shake",4.1,0,1,1,1,1);
  2279. } else if(animationplayed == 6) {
  2280. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_in",4.1,0,1,1,1,1);
  2281. } else if(animationplayed == 7) {
  2282. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_loop",4.1,0,1,1,1,1);
  2283. } else if(animationplayed == 8) {
  2284. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_nod",4.1,0,1,1,1,1);
  2285. } else if(animationplayed == 9) {
  2286. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_out",4.1,0,1,1,1,1);
  2287. } else if(animationplayed == 10) {
  2288. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_shake",4.1,0,1,1,1,1);
  2289. } else if(animationplayed == 11) {
  2290. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_think",4.1,0,1,1,1,1);
  2291. } else if(animationplayed == 12) {
  2292. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_watch",4.1,0,1,1,1,1);
  2293. }
  2294. return 1;
  2295. }
  2296. if(strcmp(cmd, "/animcod", true) == 0) {
  2297. tmp = strtok(cmdtext, idx);
  2298. if(!strlen(tmp)) {
  2299. SendClientMessage(playerid,0xFF0000FF,">Write /animcod [1-4]");
  2300. return 1;
  2301. }
  2302. animationplayed = strval(tmp);
  2303. if(animationplayed < 1 || animationplayed > 4) {
  2304. SendClientMessage(playerid,0xFF0000FF,">Write /animcod [1-4]");
  2305. return 1;
  2306. }
  2307. if(animationplayed == 1) {
  2308. ApplyAnimation(playerid,"COP_DVBYZ","COP_Dvby_B",4.1,0,1,1,1,1);
  2309. }else if(animationplayed == 2) {
  2310. ApplyAnimation(playerid,"COP_DVBYZ","COP_Dvby_FT",4.1,0,1,1,1,1);
  2311. }else if(animationplayed == 3) {
  2312. ApplyAnimation(playerid,"COP_DVBYZ","COP_Dvby_L",4.1,0,1,1,1,1);
  2313. }else if(animationplayed == 4) {
  2314. ApplyAnimation(playerid,"COP_DVBYZ","COP_Dvby_R",4.1,0,1,1,1,1);
  2315. }
  2316. return 1;
  2317. }
  2318. if(strcmp(cmd, "/animcrack", true) == 0) {
  2319. tmp = strtok(cmdtext, idx);
  2320. if(!strlen(tmp)) {
  2321. SendClientMessage(playerid,0xFF0000FF,">Write /animcrack[1-9]");
  2322. return 1;
  2323. }
  2324. animationplayed = strval(tmp);
  2325. if(animationplayed < 1 || animationplayed > 9) {
  2326. SendClientMessage(playerid,0xFF0000FF,">Write /animcrack [1-9]");
  2327. return 1;
  2328. }
  2329. if(animationplayed == 1) {
  2330. ApplyAnimation(playerid,"CRACK","Bbalbat_Idle_01",4.1,0,1,1,1,1);
  2331. }else if(animationplayed == 2) {
  2332. ApplyAnimation(playerid,"CRACK","Bbalbat_Idle_02",4.1,0,1,1,1,1);
  2333. }else if(animationplayed == 3) {
  2334. ApplyAnimation(playerid,"CRACK","crckdeth1",4.1,0,1,1,1,1);
  2335. }else if(animationplayed == 4) {
  2336. ApplyAnimation(playerid,"CRACK","crckdeth2",4.1,0,1,1,1,1);
  2337. }else if(animationplayed == 5) {
  2338. ApplyAnimation(playerid,"CRACK","crckdeth3",4.1,0,1,1,1,1);
  2339. }else if(animationplayed == 6) {
  2340. ApplyAnimation(playerid,"CRACK","crckdeth4",4.1,0,1,1,1,1);
  2341. }else if(animationplayed == 7) {
  2342. ApplyAnimation(playerid,"CRACK","crckidle1",4.1,0,1,1,1,1);
  2343. }else if(animationplayed == 8) {
  2344. ApplyAnimation(playerid,"CRACK","crckidle2",4.1,0,1,1,1,1);
  2345. }else if(animationplayed == 9) {
  2346. ApplyAnimation(playerid,"CRACK","crckidle3",4.1,0,1,1,1,1);
  2347. }
  2348. return 1;
  2349. }
  2350. if(strcmp(cmd, "/animcrib", true) == 0) {
  2351. tmp = strtok(cmdtext, idx);
  2352. if(!strlen(tmp)) {
  2353. SendClientMessage(playerid,0xFF0000FF,">Write /animcrib [1-5]");
  2354. return 1;
  2355. }
  2356. animationplayed = strval(tmp);
  2357. if(animationplayed < 1 || animationplayed > 5) {
  2358. SendClientMessage(playerid,0xFF0000FF,">Write /animcrib [1-5]");
  2359. return 1;
  2360. }
  2361. if(animationplayed == 1) {
  2362. ApplyAnimation(playerid,"CRIB","CRIB_Console_Loop",4.1,0,1,1,1,1);
  2363. } else if(animationplayed == 2) {
  2364. ApplyAnimation(playerid,"CRIB","CRIB_Use_Switch",4.1,0,1,1,1,1);
  2365. } else if(animationplayed == 3) {
  2366. ApplyAnimation(playerid,"CRIB","PED_Console_Loop",4.1,0,1,1,1,1);
  2367. } else if(animationplayed == 4) {
  2368. ApplyAnimation(playerid,"CRIB","PED_Console_Loose",4.1,0,1,1,1,1);
  2369. } else if(animationplayed == 5) {
  2370. ApplyAnimation(playerid,"CRIB","PED_Console_Win",4.1,0,1,1,1,1);
  2371. }
  2372. return 1;
  2373. }
  2374. if(strcmp(cmd, "/animjump", true) == 0) {
  2375. tmp = strtok(cmdtext, idx);
  2376. if(!strlen(tmp)) {
  2377. SendClientMessage(playerid,0xFF0000FF,">Write /animjump [1-5]");
  2378. return 1;
  2379. }
  2380. animationplayed = strval(tmp);
  2381. if(animationplayed < 1 || animationplayed > 5) {
  2382. SendClientMessage(playerid,0xFF0000FF,">Write /animjump [1-5]");
  2383. return 1;
  2384. }
  2385. if(animationplayed == 1) {
  2386. ApplyAnimation(playerid,"DAM_JUMP","DAM_Dive_Loop",4.1,0,1,1,1,1);
  2387. } else if(animationplayed == 2) {
  2388. ApplyAnimation(playerid,"DAM_JUMP","DAM_Land",4.1,0,1,1,1,1);
  2389. } else if(animationplayed == 3) {
  2390. ApplyAnimation(playerid,"DAM_JUMP","DAM_Launch",4.1,0,1,1,1,1);
  2391. } else if(animationplayed == 4) {
  2392. ApplyAnimation(playerid,"DAM_JUMP","Jump_Roll",4.1,0,1,1,1,1);
  2393. } else if(animationplayed == 5) {
  2394. ApplyAnimation(playerid,"DAM_JUMP","SF_JumpWall",4.1,0,1,1,1,1);
  2395. }
  2396. return 1;
  2397. }
  2398. if(strcmp(cmd, "/animdance", true) == 0) {
  2399. tmp = strtok(cmdtext, idx);
  2400. if(!strlen(tmp)) {
  2401. SendClientMessage(playerid,0xFF0000FF,">Write /animdance [1-13]");
  2402. return 1;
  2403. }
  2404. animationplayed = strval(tmp);
  2405. if(animationplayed < 1 || animationplayed > 13) {
  2406. SendClientMessage(playerid,0xFF0000FF,">Write /animdance [1-13]");
  2407. return 1;
  2408. }
  2409. if(animationplayed == 1) {
  2410. ApplyAnimation(playerid,"DANCING","bd_clap",4.1,0,1,1,1,1);
  2411. } else if(animationplayed == 2) {
  2412. ApplyAnimation(playerid,"DANCING","bd_clap1",4.1,0,1,1,1,1);
  2413. } else if(animationplayed == 3) {
  2414. ApplyAnimation(playerid,"DANCING","dance_loop",4.1,0,1,1,1,1);
  2415. } else if(animationplayed == 4) {
  2416. ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1,0,1,1,1,1);
  2417. } else if(animationplayed == 5) {
  2418. ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1,0,1,1,1,1);
  2419. } else if(animationplayed == 6) {
  2420. ApplyAnimation(playerid,"DANCING","DAN_Loop_A",4.1,0,1,1,1,1);
  2421. } else if(animationplayed == 7) {
  2422. ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.1,0,1,1,1,1);
  2423. } else if(animationplayed == 8) {
  2424. ApplyAnimation(playerid,"DANCING","DAN_Up_A",4.1,0,1,1,1,1);
  2425. } else if(animationplayed == 9) {
  2426. ApplyAnimation(playerid,"DANCING","dnce_M_a",4.1,0,1,1,1,1);
  2427. } else if(animationplayed == 10) {
  2428. ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1,0,1,1,1,1);
  2429. } else if(animationplayed == 11) {
  2430. ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1,0,1,1,1,1);
  2431. } else if(animationplayed == 12) {
  2432. ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1,0,1,1,1,1);
  2433. } else if(animationplayed == 13) {
  2434. ApplyAnimation(playerid,"DANCING","dnce_M_e",4.1,0,1,1,1,1);
  2435. }
  2436. return 1;
  2437. }
  2438. if(strcmp(cmd, "/animdealer", true) == 0) {
  2439. tmp = strtok(cmdtext, idx);
  2440. if(!strlen(tmp)) {
  2441. SendClientMessage(playerid,0xFF0000FF,">Write /animdealer [1-7]");
  2442. return 1;
  2443. }
  2444. animationplayed = strval(tmp);
  2445. if(animationplayed < 1 || animationplayed > 7) {
  2446. SendClientMessage(playerid,0xFF0000FF,">Write /animdealer [1-7]");
  2447. return 1;
  2448. }
  2449. if(animationplayed == 1) {
  2450. ApplyAnimation(playerid,"DEALER","DEALER_DEAL",4.1,0,1,1,1,1);
  2451. }else if(animationplayed == 2) {
  2452. ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.1,0,1,1,1,1);
  2453. }else if(animationplayed == 3) {
  2454. ApplyAnimation(playerid,"DEALER","DEALER_IDLE_01",4.1,0,1,1,1,1);
  2455. }else if(animationplayed == 4) {
  2456. ApplyAnimation(playerid,"DEALER","DEALER_IDLE_02",4.1,0,1,1,1,1);
  2457. }else if(animationplayed == 5) {
  2458. ApplyAnimation(playerid,"DEALER","DEALER_IDLE_03",4.1,0,1,1,1,1);
  2459. }else if(animationplayed == 6) {
  2460. ApplyAnimation(playerid,"DEALER","DRUGS_BUY",4.1,0,1,1,1,1);
  2461. }else if(animationplayed == 7) {
  2462. ApplyAnimation(playerid,"DEALER","shop_pay",4.1,0,1,1,1,1);
  2463. }
  2464. return 1;
  2465. }
  2466. if(strcmp(cmd, "/animdildo", true) == 0) {
  2467. tmp = strtok(cmdtext, idx);
  2468. if(!strlen(tmp)) {
  2469. SendClientMessage(playerid,0xFF0000FF,">Write /animdildo [1-9]");
  2470. return 1;
  2471. }
  2472. animationplayed = strval(tmp);
  2473. if(animationplayed < 1 || animationplayed > 9) {
  2474. SendClientMessage(playerid,0xFF0000FF,">Write /animdildo [1-9]");
  2475. return 1;
  2476. }
  2477. if(animationplayed == 1) {
  2478. ApplyAnimation(playerid,"DILDO","DILDO_1",4.1,0,1,1,1,1);
  2479. }else if(animationplayed == 2) {
  2480. ApplyAnimation(playerid,"DILDO","DILDO_2",4.1,0,1,1,1,1);
  2481. }else if(animationplayed == 3) {
  2482. ApplyAnimation(playerid,"DILDO","DILDO_3",4.1,0,1,1,1,1);
  2483. }else if(animationplayed == 4) {
  2484. ApplyAnimation(playerid,"DILDO","DILDO_block",4.1,0,1,1,1,1);
  2485. }else if(animationplayed == 5) {
  2486. ApplyAnimation(playerid,"DILDO","DILDO_G",4.1,0,1,1,1,1);
  2487. }else if(animationplayed == 6) {
  2488. ApplyAnimation(playerid,"DILDO","DILDO_Hit_1",4.1,0,1,1,1,1);
  2489. }else if(animationplayed == 7) {
  2490. ApplyAnimation(playerid,"DILDO","DILDO_Hit_2",4.1,0,1,1,1,1);
  2491. }else if(animationplayed == 8) {
  2492. ApplyAnimation(playerid,"DILDO","DILDO_Hit_3",4.1,0,1,1,1,1);
  2493. }else if(animationplayed == 9) {
  2494. ApplyAnimation(playerid,"DILDO","DILDO_IDLE",4.1,0,1,1,1,1);
  2495. }
  2496. return 1;
  2497. }
  2498. if(strcmp(cmd, "/animdodge", true) == 0) {
  2499. tmp = strtok(cmdtext, idx);
  2500. if(!strlen(tmp)) {
  2501. SendClientMessage(playerid,0xFF0000FF,">Write /animdodge [1-4]");
  2502. return 1;
  2503. }
  2504. animationplayed = strval(tmp);
  2505. if(animationplayed < 1 || animationplayed > 4) {
  2506. SendClientMessage(playerid,0xFF0000FF,">Write /animdodge [1-4]");
  2507. return 1;
  2508. }
  2509. if(animationplayed == 1) {
  2510. ApplyAnimation(playerid,"DODGE","Cover_Dive_01",4.1,0,1,1,1,1);
  2511. } else if(animationplayed == 2) {
  2512. ApplyAnimation(playerid,"DODGE","Cover_Dive_02",4.1,0,1,1,1,1);
  2513. } else if(animationplayed == 3) {
  2514. ApplyAnimation(playerid,"DODGE","Crushed",4.1,0,1,1,1,1);
  2515. } else if(animationplayed == 4) {
  2516. ApplyAnimation(playerid,"DODGE","Crush_Jump",4.1,0,1,1,1,1);
  2517. }
  2518. return 1;
  2519. }
  2520. if(strcmp(cmd, "/animdozer", true) == 0) {
  2521. tmp = strtok(cmdtext, idx);
  2522. if(!strlen(tmp)) {
  2523. SendClientMessage(playerid,0xFF0000FF,">Write /animdozer [1-9]");
  2524. return 1;
  2525. }
  2526. animationplayed = strval(tmp);
  2527. if(animationplayed < 1 || animationplayed > 9) {
  2528. SendClientMessage(playerid,0xFF0000FF,">Write /animdozer [1-9]");
  2529. return 1;
  2530. }
  2531. if(animationplayed == 1) {
  2532. ApplyAnimation(playerid,"DOZER","DOZER_Align_LHS",4.1,0,1,1,1,1);
  2533. }else if(animationplayed == 2) {
  2534. ApplyAnimation(playerid,"DOZER","DOZER_Align_RHS",4.1,0,1,1,1,1);
  2535. }else if(animationplayed == 3) {
  2536. ApplyAnimation(playerid,"DOZER","DOZER_getin_LHS",4.1,0,1,1,1,1);
  2537. }else if(animationplayed == 4) {
  2538. ApplyAnimation(playerid,"DOZER","DOZER_getin_RHS",4.1,0,1,1,1,1);
  2539. }else if(animationplayed == 5) {
  2540. ApplyAnimation(playerid,"DOZER","DOZER_getout_LHS",4.1,0,1,1,1,1);
  2541. }else if(animationplayed == 6) {
  2542. ApplyAnimation(playerid,"DOZER","DOZER_getout_RHS",4.1,0,1,1,1,1);
  2543. }else if(animationplayed == 7) {
  2544. ApplyAnimation(playerid,"DOZER","DOZER_Jacked_LHS",4.1,0,1,1,1,1);
  2545. }else if(animationplayed == 8) {
  2546. ApplyAnimation(playerid,"DOZER","DOZER_Jacked_RHS",4.1,0,1,1,1,1);
  2547. }else if(animationplayed == 9) {
  2548. ApplyAnimation(playerid,"DOZER","DOZER_pullout_LHS",4.1,0,1,1,1,1);
  2549. }
  2550. return 1;
  2551. }
  2552. if(strcmp(cmd, "/animdrivebys", true) == 0) {
  2553. tmp = strtok(cmdtext, idx);
  2554. if(!strlen(tmp)) {
  2555. SendClientMessage(playerid,0xFF0000FF,">Write /animdrivebys [1-8]");
  2556. return 1;
  2557. }
  2558. animationplayed = strval(tmp);
  2559. if(animationplayed < 1 || animationplayed > 8) {
  2560. SendClientMessage(playerid,0xFF0000FF,">Write /animdrivebys [1-8]");
  2561. return 1;
  2562. }
  2563. if(animationplayed == 1) {
  2564. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyLHS",4.1,0,1,1,1,1);
  2565. }else if(animationplayed == 2) {
  2566. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyLHS_Bwd",4.1,0,1,1,1,1);
  2567. }else if(animationplayed == 3) {
  2568. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyLHS_Fwd",4.1,0,1,1,1,1);
  2569. }else if(animationplayed == 4) {
  2570. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyRHS",4.1,0,1,1,1,1);
  2571. }else if(animationplayed == 5) {
  2572. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyRHS_Bwd",4.1,0,1,1,1,1);
  2573. }else if(animationplayed == 6) {
  2574. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyRHS_Fwd",4.1,0,1,1,1,1);
  2575. }else if(animationplayed == 7) {
  2576. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyTop_LHS",4.1,0,1,1,1,1);
  2577. }else if(animationplayed == 8) {
  2578. ApplyAnimation(playerid,"DRIVEBYS","Gang_DrivebyTop_RHS",4.1,0,1,1,1,1);
  2579. }
  2580. return 1;
  2581. }
  2582. if(strcmp(cmd, "/animfat", true) == 0) {
  2583. tmp = strtok(cmdtext, idx);
  2584. if(!strlen(tmp)) {
  2585. SendClientMessage(playerid,0xFF0000FF,">Write /animfat [1-17]");
  2586. return 1;
  2587. }
  2588. animationplayed = strval(tmp);
  2589. if(animationplayed < 1 || animationplayed > 17) {
  2590. SendClientMessage(playerid,0xFF0000FF,">Write /animfat [1-17]");
  2591. return 1;
  2592. }
  2593. if(animationplayed == 1) {
  2594. ApplyAnimation(playerid,"FAT","FatIdle",4.1,0,1,1,1,1);
  2595. }else if(animationplayed == 1) {
  2596. ApplyAnimation(playerid,"FAT","FatIdle_armed",4.1,0,1,1,1,1);
  2597. }else if(animationplayed == 2) {
  2598. ApplyAnimation(playerid,"FAT","FatIdle_Csaw",4.1,0,1,1,1,1);
  2599. }else if(animationplayed == 3) {
  2600. ApplyAnimation(playerid,"FAT","FatIdle_Rocket",4.1,0,1,1,1,1);
  2601. }else if(animationplayed == 4) {
  2602. ApplyAnimation(playerid,"FAT","FatRun",4.1,0,1,1,1,1);
  2603. }else if(animationplayed == 5) {
  2604. ApplyAnimation(playerid,"FAT","FatRun_armed",4.1,0,1,1,1,1);
  2605. }else if(animationplayed == 6) {
  2606. ApplyAnimation(playerid,"FAT","FatRun_Csaw",4.1,0,1,1,1,1);
  2607. }else if(animationplayed == 7) {
  2608. ApplyAnimation(playerid,"FAT","FatRun_Rocket",4.1,0,1,1,1,1);
  2609. }else if(animationplayed == 8) {
  2610. ApplyAnimation(playerid,"FAT","FatSprint",4.1,0,1,1,1,1);
  2611. }else if(animationplayed == 9) {
  2612. ApplyAnimation(playerid,"FAT","FatWalk",4.1,0,1,1,1,1);
  2613. }else if(animationplayed == 10) {
  2614. ApplyAnimation(playerid,"FAT","FatWalkstart",4.1,0,1,1,1,1);
  2615. }else if(animationplayed == 11) {
  2616. ApplyAnimation(playerid,"FAT","FatWalkstart_Csaw",4.1,0,1,1,1,1);
  2617. }else if(animationplayed == 12) {
  2618. ApplyAnimation(playerid,"FAT","FatWalkSt_armed",4.1,0,1,1,1,1);
  2619. }else if(animationplayed == 13) {
  2620. ApplyAnimation(playerid,"FAT","FatWalkSt_Rocket",4.1,0,1,1,1,1);
  2621. }else if(animationplayed == 14) {
  2622. ApplyAnimation(playerid,"FAT","FatWalk_armed",4.1,0,1,1,1,1);
  2623. }else if(animationplayed == 15) {
  2624. ApplyAnimation(playerid,"FAT","FatWalk_Csaw",4.1,0,1,1,1,1);
  2625. }else if(animationplayed == 16) {
  2626. ApplyAnimation(playerid,"FAT","FatWalk_Rocket",4.1,0,1,1,1,1);
  2627. }else if(animationplayed == 17) {
  2628. ApplyAnimation(playerid,"FAT","IDLE_tired",4.1,0,1,1,1,1);
  2629. }
  2630. return 1;
  2631. }
  2632. if(strcmp(cmd, "/animfightb", true) == 0) {
  2633. tmp = strtok(cmdtext, idx);
  2634. if(!strlen(tmp)) {
  2635. SendClientMessage(playerid,0xFF0000FF,">Write /animfightb [1-10]");
  2636. return 1;
  2637. }
  2638. animationplayed = strval(tmp);
  2639. if(animationplayed < 1 || animationplayed > 10) {
  2640. SendClientMessage(playerid,0xFF0000FF,">Write /animfightb [1-10]");
  2641. return 1;
  2642. }
  2643. if(animationplayed == 1) {
  2644. ApplyAnimation(playerid,"FIGHT_B","FightB_1",4.1,0,1,1,1,1);
  2645. }else if(animationplayed == 2) {
  2646. ApplyAnimation(playerid,"FIGHT_B","FightB_2",4.1,0,1,1,1,1);
  2647. }else if(animationplayed == 3) {
  2648. ApplyAnimation(playerid,"FIGHT_B","FightB_3",4.1,0,1,1,1,1);
  2649. }else if(animationplayed == 4) {
  2650. ApplyAnimation(playerid,"FIGHT_B","FightB_block",4.1,0,1,1,1,1);
  2651. }else if(animationplayed == 5) {
  2652. ApplyAnimation(playerid,"FIGHT_B","FightB_G",4.1,0,1,1,1,1);
  2653. }else if(animationplayed == 6) {
  2654. ApplyAnimation(playerid,"FIGHT_B","FightB_IDLE",4.1,0,1,1,1,1);
  2655. }else if(animationplayed == 7) {
  2656. ApplyAnimation(playerid,"FIGHT_B","FightB_M",4.1,0,1,1,1,1);
  2657. }else if(animationplayed == 8) {
  2658. ApplyAnimation(playerid,"FIGHT_B","HitB_1",4.1,0,1,1,1,1);
  2659. }else if(animationplayed == 9) {
  2660. ApplyAnimation(playerid,"FIGHT_B","HitB_2",4.1,0,1,1,1,1);
  2661. }else if(animationplayed == 10) {
  2662. ApplyAnimation(playerid,"FIGHT_B","HitB_3",4.1,0,1,1,1,1);
  2663. }
  2664. return 1;
  2665. }
  2666. if(strcmp(cmd, "/animfightc", true) == 0) {
  2667. tmp = strtok(cmdtext, idx);
  2668. if(!strlen(tmp)) {
  2669. SendClientMessage(playerid,0xFF0000FF,">Write /animfightc [1-12]");
  2670. return 1;
  2671. }
  2672. animationplayed = strval(tmp);
  2673. if(animationplayed < 1 || animationplayed > 12) {
  2674. SendClientMessage(playerid,0xFF0000FF,">Write /animfightc [1-12]");
  2675. return 1;
  2676. }
  2677. if(animationplayed == 1) {
  2678. ApplyAnimation(playerid,"FIGHT_C","FightC_1",4.1,0,1,1,1,1);
  2679. } else if(animationplayed == 2) {
  2680. ApplyAnimation(playerid,"FIGHT_C","FightC_2",4.1,0,1,1,1,1);
  2681. } else if(animationplayed == 3) {
  2682. ApplyAnimation(playerid,"FIGHT_C","FightC_3",4.1,0,1,1,1,1);
  2683. } else if(animationplayed == 4) {
  2684. ApplyAnimation(playerid,"FIGHT_C","FightC_block",4.1,0,1,1,1,1);
  2685. } else if(animationplayed == 5) {
  2686. ApplyAnimation(playerid,"FIGHT_C","FightC_blocking",4.1,0,1,1,1,1);
  2687. } else if(animationplayed == 6) {
  2688. ApplyAnimation(playerid,"FIGHT_C","FightC_G",4.1,0,1,1,1,1);
  2689. } else if(animationplayed == 7) {
  2690. ApplyAnimation(playerid,"FIGHT_C","FightC_IDLE",4.1,0,1,1,1,1);
  2691. } else if(animationplayed == 8) {
  2692. ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.1,0,1,1,1,1);
  2693. } else if(animationplayed == 9) {
  2694. ApplyAnimation(playerid,"FIGHT_C","FightC_Spar",4.1,0,1,1,1,1);
  2695. } else if(animationplayed == 10) {
  2696. ApplyAnimation(playerid,"FIGHT_C","HitC_1",4.1,0,1,1,1,1);
  2697. } else if(animationplayed == 11) {
  2698. ApplyAnimation(playerid,"FIGHT_C","HitC_2",4.1,0,1,1,1,1);
  2699. } else if(animationplayed == 12) {
  2700. ApplyAnimation(playerid,"FIGHT_C","HitC_3",4.1,0,1,1,1,1);
  2701. }
  2702. return 1;
  2703. }
  2704. if(strcmp(cmd, "/animfightd", true) == 0) {
  2705. tmp = strtok(cmdtext, idx);
  2706. if(!strlen(tmp)) {
  2707. SendClientMessage(playerid,0xFF0000FF,">Write /animfightd [1-10]");
  2708. return 1;
  2709. }
  2710. animationplayed = strval(tmp);
  2711. if(animationplayed < 1 || animationplayed > 10) {
  2712. SendClientMessage(playerid,0xFF0000FF,">Write /animfightd [1-10]");
  2713. return 1;
  2714. }
  2715. if(animationplayed == 1) {
  2716. ApplyAnimation(playerid,"FIGHT_D","FightD_1",4.1,0,1,1,1,1);
  2717. }else if(animationplayed == 2) {
  2718. ApplyAnimation(playerid,"FIGHT_D","FightD_2",4.1,0,1,1,1,1);
  2719. }else if(animationplayed == 3) {
  2720. ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.1,0,1,1,1,1);
  2721. }else if(animationplayed == 4) {
  2722. ApplyAnimation(playerid,"FIGHT_D","FightD_block",4.1,0,1,1,1,1);
  2723. }else if(animationplayed == 5) {
  2724. ApplyAnimation(playerid,"FIGHT_D","FightD_G",4.1,0,1,1,1,1);
  2725. }else if(animationplayed == 6) {
  2726. ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.1,0,1,1,1,1);
  2727. }else if(animationplayed == 7) {
  2728. ApplyAnimation(playerid,"FIGHT_D","FightD_M",4.1,0,1,1,1,1);
  2729. }else if(animationplayed == 8) {
  2730. ApplyAnimation(playerid,"FIGHT_D","HitD_1",4.1,0,1,1,1,1);
  2731. }else if(animationplayed == 9) {
  2732. ApplyAnimation(playerid,"FIGHT_D","HitD_2",4.1,0,1,1,1,1);
  2733. }else if(animationplayed == 10) {
  2734. ApplyAnimation(playerid,"FIGHT_D","HitD_3",4.1,0,1,1,1,1);
  2735. }
  2736. return 1;
  2737. }
  2738.  
  2739. if(strcmp(cmd, "/animfighte", true) == 0) {
  2740. tmp = strtok(cmdtext, idx);
  2741. if(!strlen(tmp)) {
  2742. SendClientMessage(playerid,0xFF0000FF,">Write /animfighte [1-4]");
  2743. return 1;
  2744. }
  2745. animationplayed = strval(tmp);
  2746. if(animationplayed < 1 || animationplayed > 4) {
  2747. SendClientMessage(playerid,0xFF0000FF,">Write /animfighte [1-4]");
  2748. return 1;
  2749. }
  2750. if(animationplayed == 1) {
  2751. ApplyAnimation(playerid,"FIGHT_E","FightKick",4.1,0,1,1,1,1);
  2752. } else if(animationplayed == 2) {
  2753. ApplyAnimation(playerid,"FIGHT_E","FightKick_B",4.1,0,1,1,1,1);
  2754. } else if(animationplayed == 3) {
  2755. ApplyAnimation(playerid,"FIGHT_E","Hit_fightkick",4.1,0,1,1,1,1);
  2756. } else if(animationplayed == 4) {
  2757. ApplyAnimation(playerid,"FIGHT_E","Hit_fightkick_B",4.1,0,1,1,1,1);
  2758. }
  2759. return 1;
  2760. }
  2761. if(strcmp(cmd, "/animfinale", true) == 0) {
  2762. tmp = strtok(cmdtext, idx);
  2763. if(!strlen(tmp)) {
  2764. SendClientMessage(playerid,0xFF0000FF,">Write /animfinale [1-15]");
  2765. return 1;
  2766. }
  2767. animationplayed = strval(tmp);
  2768. if(animationplayed < 1 || animationplayed > 15) {
  2769. SendClientMessage(playerid,0xFF0000FF,">Write /animfinale [1-15]");
  2770. return 1;
  2771. }
  2772. if(animationplayed == 1) {
  2773. ApplyAnimation(playerid,"FINALE","FIN_Climb_In",4.1,0,1,1,1,1);
  2774. }else if(animationplayed == 1) {
  2775. ApplyAnimation(playerid,"FINALE","FIN_Cop1_ClimbOut2",4.1,0,1,1,1,1);
  2776. }else if(animationplayed == 2) {
  2777. ApplyAnimation(playerid,"FINALE","FIN_Cop1_Loop",4.1,0,1,1,1,1);
  2778. }else if(animationplayed == 3) {
  2779. ApplyAnimation(playerid,"FINALE","FIN_Cop1_Stomp",4.1,0,1,1,1,1);
  2780. }else if(animationplayed == 4) {
  2781. ApplyAnimation(playerid,"FINALE","FIN_Hang_L",4.1,0,1,1,1,1);
  2782. }else if(animationplayed == 5) {
  2783. ApplyAnimation(playerid,"FINALE","FIN_Hang_Loop",4.1,0,1,1,1,1);
  2784. }else if(animationplayed == 6) {
  2785. ApplyAnimation(playerid,"FINALE","FIN_Hang_R",4.1,0,1,1,1,1);
  2786. }else if(animationplayed == 7) {
  2787. ApplyAnimation(playerid,"FINALE","FIN_Hang_L",4.1,0,1,1,1,1);
  2788. }else if(animationplayed == 8) {
  2789. ApplyAnimation(playerid,"FINALE","FIN_Jump_On",4.1,0,1,1,1,1);
  2790. }else if(animationplayed == 9) {
  2791. ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,0,1,1,1,1);
  2792. }else if(animationplayed == 10) {
  2793. ApplyAnimation(playerid,"FINALE","FIN_Land_Die",4.1,0,1,1,1,1);
  2794. }else if(animationplayed == 11) {
  2795. ApplyAnimation(playerid,"FINALE","FIN_LegsUp",4.1,0,1,1,1,1);
  2796. }else if(animationplayed == 12) {
  2797. ApplyAnimation(playerid,"FINALE","FIN_LegsUp_L",4.1,0,1,1,1,1);
  2798. }else if(animationplayed == 13) {
  2799. ApplyAnimation(playerid,"FINALE","FIN_LegsUp_Loop",4.1,0,1,1,1,1);
  2800. }else if(animationplayed == 14) {
  2801. ApplyAnimation(playerid,"FINALE","FIN_LegsUp_R",4.1,0,1,1,1,1);
  2802. }else if(animationplayed == 15) {
  2803. ApplyAnimation(playerid,"FINALE","FIN_Let_Go",4.1,0,1,1,1,1);
  2804. }
  2805. return 1;
  2806. }
  2807. if(strcmp(cmd, "/animfinale2", true) == 0) {
  2808. tmp = strtok(cmdtext, idx);
  2809. if(!strlen(tmp)) {
  2810. SendClientMessage(playerid,0xFF0000FF,">Write /animfinale2 [1-8]");
  2811. return 1;
  2812. }
  2813. animationplayed = strval(tmp);
  2814. if(animationplayed < 1 || animationplayed > 8) {
  2815. SendClientMessage(playerid,0xFF0000FF,">Write /animfinale2 [1-8]");
  2816. return 1;
  2817. }
  2818. if(animationplayed == 1) {
  2819. ApplyAnimation(playerid,"FINALE2","FIN_Cop1_ClimbOut",4.1,0,1,1,1,1);
  2820. }else if(animationplayed == 2) {
  2821. ApplyAnimation(playerid,"FINALE2","FIN_Cop1_Fall",4.1,0,1,1,1,1);
  2822. }else if(animationplayed == 3) {
  2823. ApplyAnimation(playerid,"FINALE2","FIN_Cop1_Loop",4.1,0,1,1,1,1);
  2824. }else if(animationplayed == 4) {
  2825. ApplyAnimation(playerid,"FINALE2","FIN_Cop1_Shot",4.1,0,1,1,1,1);
  2826. }else if(animationplayed == 5) {
  2827. ApplyAnimation(playerid,"FINALE2","FIN_Cop1_Swing",4.1,0,1,1,1,1);
  2828. }else if(animationplayed == 6) {
  2829. ApplyAnimation(playerid,"FINALE2","FIN_Cop2_ClimbOut",4.1,0,1,1,1,1);
  2830. }else if(animationplayed == 7) {
  2831. ApplyAnimation(playerid,"FINALE2","FIN_Switch_P",4.1,0,1,1,1,1);
  2832. }else if(animationplayed == 8) {
  2833. ApplyAnimation(playerid,"FINALE2","FIN_Switch_S",4.1,0,1,1,1,1);
  2834. }
  2835. return 1;
  2836. }
  2837. if(strcmp(cmd, "/animflamef", true) == 0) {
  2838. tmp = strtok(cmdtext, idx);
  2839. if(!strlen(tmp)) {
  2840. SendClientMessage(playerid,0xFF0000FF,">Write /animflamef [1-1]");
  2841. return 1;
  2842. }
  2843. animationplayed = strval(tmp);
  2844. if(animationplayed < 1 || animationplayed > 1) {
  2845. SendClientMessage(playerid,0xFF0000FF,">Write /animflamef [1-1]");
  2846. return 1;
  2847. }
  2848. if(animationplayed == 1) {
  2849. ApplyAnimation(playerid,"FLAME","FLAME_fire",4.1,0,1,1,1,1);
  2850. }
  2851. return 1;
  2852. }
  2853. if(strcmp(cmd, "/animflowers", true) == 0) {
  2854. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  2855. tmp = strtok(cmdtext, idx);
  2856. if(!strlen(tmp)) {
  2857. SendClientMessage(playerid,0xFF0000FF,">Write /animflowers [1-3]");
  2858. return 1;
  2859. }
  2860. animationplayed = strval(tmp);
  2861. if(animationplayed < 1 || animationplayed > 3) {
  2862. SendClientMessage(playerid,0xFF0000FF,">Write /animflowers [1-3]");
  2863. return 1;
  2864. }
  2865. if(animationplayed == 1) {
  2866. ApplyAnimation(playerid,"Flowers","Flower_attack",4.1,0,1,1,1,1);
  2867. } else if(animationplayed == 2) {
  2868. ApplyAnimation(playerid,"Flowers","Flower_attack_M",4.1,0,1,1,1,1);
  2869. } else if(animationplayed == 3) {
  2870. ApplyAnimation(playerid,"Flowers","Flower_Hit",4.1,0,1,1,1,1);
  2871. }
  2872. return 1;
  2873. }
  2874. }
  2875. if(strcmp(cmd, "/animghands", true) == 0) {
  2876. tmp = strtok(cmdtext, idx);
  2877. if(!strlen(tmp)) {
  2878. SendClientMessage(playerid,0xFF0000FF,">Write /animghands [1-20]");
  2879. return 1;
  2880. }
  2881. animationplayed = strval(tmp);
  2882. if(animationplayed < 1 || animationplayed > 20) {
  2883. SendClientMessage(playerid,0xFF0000FF,">Write /animghands [1-20]");
  2884. return 1;
  2885. }
  2886. if(animationplayed == 1) {
  2887. ApplyAnimation(playerid,"GHANDS","gsign1",4.1,0,1,1,1,1);
  2888. }else if(animationplayed == 2) {
  2889. ApplyAnimation(playerid,"GHANDS","gsign1LH",4.1,0,1,1,1,1);
  2890. }else if(animationplayed == 3) {
  2891. ApplyAnimation(playerid,"GHANDS","gsign2",4.1,0,1,1,1,1);
  2892. }else if(animationplayed == 4) {
  2893. ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1,0,1,1,1,1);
  2894. }else if(animationplayed == 5) {
  2895. ApplyAnimation(playerid,"GHANDS","gsign3",4.1,0,1,1,1,1);
  2896. }else if(animationplayed == 6) {
  2897. ApplyAnimation(playerid,"GHANDS","gsign3LH",4.1,0,1,1,1,1);
  2898. }else if(animationplayed == 7) {
  2899. ApplyAnimation(playerid,"GHANDS","gsign4",4.1,0,1,1,1,1);
  2900. }else if(animationplayed == 8) {
  2901. ApplyAnimation(playerid,"GHANDS","gsign4LH",4.1,0,1,1,1,1);
  2902. }else if(animationplayed == 9) {
  2903. ApplyAnimation(playerid,"GHANDS","gsign5",4.1,0,1,1,1,1);
  2904. }else if(animationplayed == 10) {
  2905. ApplyAnimation(playerid,"GHANDS","gsign5LH",4.1,0,1,1,1,1);
  2906. }else if(animationplayed == 11) {
  2907. ApplyAnimation(playerid,"GHANDS","LHGsign1",4.1,0,1,1,1,1);
  2908. }else if(animationplayed == 12) {
  2909. ApplyAnimation(playerid,"GHANDS","LHGsign2",4.1,0,1,1,1,1);
  2910. }else if(animationplayed == 13) {
  2911. ApplyAnimation(playerid,"GHANDS","LHGsign3",4.1,0,1,1,1,1);
  2912. }else if(animationplayed == 14) {
  2913. ApplyAnimation(playerid,"GHANDS","LHGsign4",4.1,0,1,1,1,1);
  2914. }else if(animationplayed == 15) {
  2915. ApplyAnimation(playerid,"GHANDS","LHGsign5",4.1,0,1,1,1,1);
  2916. }else if(animationplayed == 16) {
  2917. ApplyAnimation(playerid,"GHANDS","RHGsign1",4.1,0,1,1,1,1);
  2918. }else if(animationplayed == 17) {
  2919. ApplyAnimation(playerid,"GHANDS","RHGsign2",4.1,0,1,1,1,1);
  2920. }else if(animationplayed == 18) {
  2921. ApplyAnimation(playerid,"GHANDS","RHGsign3",4.1,0,1,1,1,1);
  2922. }else if(animationplayed == 19) {
  2923. ApplyAnimation(playerid,"GHANDS","RHGsign4",4.1,0,1,1,1,1);
  2924. }else if(animationplayed == 20) {
  2925. ApplyAnimation(playerid,"GHANDS","RHGsign5",4.1,0,1,1,1,1);
  2926. }
  2927. return 1;
  2928. }
  2929. if(strcmp(cmd, "/animfw", true) == 0) {
  2930. tmp = strtok(cmdtext, idx);
  2931. if(!strlen(tmp)) {
  2932. SendClientMessage(playerid,0xFF0000FF,">Write /animfw [1-9]");
  2933. return 1;
  2934. }
  2935. animationplayed = strval(tmp);
  2936. if(animationplayed < 1 || animationplayed > 9) {
  2937. SendClientMessage(playerid,0xFF0000FF,">Write /animfw [1-9]");
  2938. return 1;
  2939. }
  2940. if(animationplayed == 1) {
  2941. ApplyAnimation(playerid,"Freeweights","gym_barbell",4.1,0,1,1,1,1);
  2942. }else if(animationplayed == 2) {
  2943. ApplyAnimation(playerid,"Freeweights","gym_free_A",4.1,0,1,1,1,1);
  2944. }else if(animationplayed == 3) {
  2945. ApplyAnimation(playerid,"Freeweights","gym_free_B",4.1,0,1,1,1,1);
  2946. }else if(animationplayed == 4) {
  2947. ApplyAnimation(playerid,"Freeweights","gym_free_celebrate",4.1,0,1,1,1,1);
  2948. }else if(animationplayed == 5) {
  2949. ApplyAnimation(playerid,"Freeweights","gym_free_down",4.1,0,1,1,1,1);
  2950. }else if(animationplayed == 6) {
  2951. ApplyAnimation(playerid,"Freeweights","gym_free_loop",4.1,0,1,1,1,1);
  2952. }else if(animationplayed == 7) {
  2953. ApplyAnimation(playerid,"Freeweights","gym_free_pickup",4.1,0,1,1,1,1);
  2954. }else if(animationplayed == 8) {
  2955. ApplyAnimation(playerid,"Freeweights","gym_free_putdown",4.1,0,1,1,1,1);
  2956. }else if(animationplayed == 9) {
  2957. ApplyAnimation(playerid,"Freeweights","gym_free_up_smooth",4.1,0,1,1,1,1);
  2958. }
  2959. return 1;
  2960. }
  2961. if(strcmp(cmd, "/animghetto", true) == 0) {
  2962. tmp = strtok(cmdtext, idx);
  2963. if(!strlen(tmp)) {
  2964. SendClientMessage(playerid,0xFF0000FF,">Write /animghetto [1-7]");
  2965. return 1;
  2966. }
  2967. animationplayed = strval(tmp);
  2968. if(animationplayed < 1 || animationplayed > 7) {
  2969. SendClientMessage(playerid,0xFF0000FF,">Write /animghetto [1-7]");
  2970. return 1;
  2971. }
  2972. if(animationplayed == 1) {
  2973. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car2_PLY",4.1,0,1,1,1,1);
  2974. }else if(animationplayed == 2) {
  2975. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car2_SMO",4.1,0,1,1,1,1);
  2976. }else if(animationplayed == 3) {
  2977. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car2_SWE",4.1,0,1,1,1,1);
  2978. }else if(animationplayed == 4) {
  2979. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car_PLY",4.1,0,1,1,1,1);
  2980. }else if(animationplayed == 5) {
  2981. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car_RYD",4.1,0,1,1,1,1);
  2982. }else if(animationplayed == 6) {
  2983. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car_SMO",4.1,0,1,1,1,1);
  2984. }else if(animationplayed == 7) {
  2985. ApplyAnimation(playerid,"GHETTO_DB","GDB_Car_SWE",4.1,0,1,1,1,1);
  2986. }
  2987. return 1;
  2988. }
  2989. if(strcmp(cmd, "/animgog", true) == 0) {
  2990. tmp = strtok(cmdtext, idx);
  2991. if(!strlen(tmp)) {
  2992. SendClientMessage(playerid,0xFF0000FF,">Write /animgog [1-1]");
  2993. return 1;
  2994. }
  2995. animationplayed = strval(tmp);
  2996. if(animationplayed < 1 || animationplayed > 1) {
  2997. SendClientMessage(playerid,0xFF0000FF,">Write /animgog [1-1]");
  2998. return 1;
  2999. }
  3000. if(animationplayed == 1) {
  3001. ApplyAnimation(playerid,"goggles","goggles_put_on",4.1,0,1,1,1,1);
  3002. }
  3003. return 1;
  3004. }
  3005. if(strcmp(cmd, "/animgraffity", true) == 0) {
  3006. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  3007. tmp = strtok(cmdtext, idx);
  3008. if(!strlen(tmp)) {
  3009. SendClientMessage(playerid,0xFF0000FF,">Write /animgraffity [1-2]");
  3010. return 1;
  3011. }
  3012. animationplayed = strval(tmp);
  3013. if(animationplayed < 1 || animationplayed > 2) {
  3014. SendClientMessage(playerid,0xFF0000FF,">Write /animgraffity [1-2]");
  3015. return 1;
  3016. }
  3017. if(animationplayed == 1) {
  3018. ApplyAnimation(playerid,"GRAFFITI","graffiti_Chkout",4.1,0,1,1,1,1);
  3019. } else if(animationplayed == 2) {
  3020. ApplyAnimation(playerid,"GRAFFITI","spraycan_fire",4.1,0,1,1,1,1);
  3021. }
  3022. return 1;
  3023. }
  3024. }
  3025. if(strcmp(cmd, "/animgreya", true) == 0) {
  3026. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  3027. tmp = strtok(cmdtext, idx);
  3028. if(!strlen(tmp)) {
  3029. SendClientMessage(playerid,0xFF0000FF,">Write /animgreya [1-3]");
  3030. return 1;
  3031. }
  3032. animationplayed = strval(tmp);
  3033. if(animationplayed < 1 || animationplayed > 3) {
  3034. SendClientMessage(playerid,0xFF0000FF,">Write /animgreya [1-3]");
  3035. return 1;
  3036. }
  3037. if(animationplayed == 1) {
  3038. ApplyAnimation(playerid,"GRAVEYARD","mrnF_loop",4.1,0,1,1,1,1);
  3039. } else if(animationplayed == 2) {
  3040. ApplyAnimation(playerid,"GRAVEYARD","mrnM_loop",4.1,0,1,1,1,1);
  3041. } else if(animationplayed == 3) {
  3042. ApplyAnimation(playerid,"GRAVEYARD","prst_loopa",4.1,0,1,1,1,1);
  3043. }
  3044. return 1;
  3045. }
  3046. }
  3047. if(strcmp(cmd, "/animgren", true) == 0) {
  3048. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  3049. tmp = strtok(cmdtext, idx);
  3050. if(!strlen(tmp)) {
  3051. SendClientMessage(playerid,0xFF0000FF,">Write /animgren [1-3]");
  3052. return 1;
  3053. }
  3054. animationplayed = strval(tmp);
  3055. if(animationplayed < 1 || animationplayed > 3) {
  3056. SendClientMessage(playerid,0xFF0000FF,">Write /animgren [1-3]");
  3057. return 1;
  3058. }
  3059. if(animationplayed == 1) {
  3060. ApplyAnimation(playerid,"GRENADE","WEAPON_start_throw",4.1,0,1,1,1,1);
  3061. } else if(animationplayed == 2) {
  3062. ApplyAnimation(playerid,"GRENADE","WEAPON_throw",4.1,0,1,1,1,1);
  3063. } else if(animationplayed == 3) {
  3064. ApplyAnimation(playerid,"GRENADE","WEAPON_throwu",4.1,0,1,1,1,1);
  3065. }
  3066. return 1;
  3067. }
  3068. }
  3069. if(strcmp(cmd, "/animhaircut", true) == 0) {
  3070. tmp = strtok(cmdtext, idx);
  3071. if(!strlen(tmp)) {
  3072. SendClientMessage(playerid,0xFF0000FF,">Write /animhaircut [1-13]");
  3073. return 1;
  3074. }
  3075. animationplayed = strval(tmp);
  3076. if(animationplayed < 1 || animationplayed > 13) {
  3077. SendClientMessage(playerid,0xFF0000FF,">Write /animhaircut [1-13]");
  3078. return 1;
  3079. }
  3080. if(animationplayed == 1) {
  3081. ApplyAnimation(playerid,"HAIRCUTS","BRB_Beard_01",4.1,0,1,1,1,1);
  3082. } else if(animationplayed == 2) {
  3083. ApplyAnimation(playerid,"HAIRCUTS","BRB_Buy",4.1,0,1,1,1,1);
  3084. } else if(animationplayed == 3) {
  3085. ApplyAnimation(playerid,"HAIRCUTS","BRB_Cut",4.1,0,1,1,1,1);
  3086. } else if(animationplayed == 4) {
  3087. ApplyAnimation(playerid,"HAIRCUTS","BRB_Cut_In",4.1,0,1,1,1,1);
  3088. } else if(animationplayed == 5) {
  3089. ApplyAnimation(playerid,"HAIRCUTS","BRB_Cut_Out",4.1,0,1,1,1,1);
  3090. } else if(animationplayed == 6) {
  3091. ApplyAnimation(playerid,"HAIRCUTS","BRB_Hair_01",4.1,0,1,1,1,1);
  3092. } else if(animationplayed == 7) {
  3093. ApplyAnimation(playerid,"HAIRCUTS","BRB_Hair_02",4.1,0,1,1,1,1);
  3094. } else if(animationplayed == 8) {
  3095. ApplyAnimation(playerid,"HAIRCUTS","BRB_In",4.1,0,1,1,1,1);
  3096. } else if(animationplayed == 9) {
  3097. ApplyAnimation(playerid,"HAIRCUTS","BRB_Out",4.1,0,1,1,1,1);
  3098. } else if(animationplayed == 10) {
  3099. ApplyAnimation(playerid,"HAIRCUTS","BRB_Loop",4.1,0,1,1,1,1);
  3100. } else if(animationplayed == 11) {
  3101. ApplyAnimation(playerid,"HAIRCUTS","BRB_Sit_In",4.1,0,1,1,1,1);
  3102. } else if(animationplayed == 12) {
  3103. ApplyAnimation(playerid,"HAIRCUTS","BRB_Sit_Loop",4.1,0,1,1,1,1);
  3104. } else if(animationplayed == 13) {
  3105. ApplyAnimation(playerid,"HAIRCUTS","BRB_Sit_Out",4.1,0,1,1,1,1);
  3106. }
  3107. return 1;
  3108. }
  3109. if(strcmp(cmd, "/animheist", true) == 0) {
  3110. tmp = strtok(cmdtext, idx);
  3111. if(!strlen(tmp)) {
  3112. SendClientMessage(playerid,0xFF0000FF,">Write /animheist [1-10]");
  3113. return 1;
  3114. }
  3115. animationplayed = strval(tmp);
  3116. if(animationplayed < 1 || animationplayed > 10) {
  3117. SendClientMessage(playerid,0xFF0000FF,">Write /animheist [1-10]");
  3118. return 1;
  3119. }
  3120. if(animationplayed == 1) {
  3121. ApplyAnimation(playerid,"HEIST9","CAS_G2_GasKO",4.1,0,1,1,1,1);
  3122. }else if(animationplayed == 2) {
  3123. ApplyAnimation(playerid,"HEIST9","swt_wllpk_L",4.1,0,1,1,1,1);
  3124. }else if(animationplayed == 3) {
  3125. ApplyAnimation(playerid,"HEIST9","swt_wllpk_L_back",4.1,0,1,1,1,1);
  3126. }else if(animationplayed == 4) {
  3127. ApplyAnimation(playerid,"HEIST9","swt_wllpk_R",4.1,0,1,1,1,1);
  3128. }else if(animationplayed == 5) {
  3129. ApplyAnimation(playerid,"HEIST9","swt_wllpk_R_back",4.1,0,1,1,1,1);
  3130. }else if(animationplayed == 6) {
  3131. ApplyAnimation(playerid,"HEIST9","swt_wllshoot_in_L",4.1,0,1,1,1,1);
  3132. }else if(animationplayed == 7) {
  3133. ApplyAnimation(playerid,"HEIST9","swt_wllshoot_in_R",4.1,0,1,1,1,1);
  3134. }else if(animationplayed == 8) {
  3135. ApplyAnimation(playerid,"HEIST9","swt_wllshoot_out_L",4.1,0,1,1,1,1);
  3136. }else if(animationplayed == 9) {
  3137. ApplyAnimation(playerid,"HEIST9","swt_wllshoot_out_R",4.1,0,1,1,1,1);
  3138. }else if(animationplayed == 10) {
  3139. ApplyAnimation(playerid,"HEIST9","Use_SwipeCard",4.1,0,1,1,1,1);
  3140. }
  3141. return 1;
  3142. }
  3143. if(strcmp(cmd, "/animinthouse", true) == 0) {
  3144. tmp = strtok(cmdtext, idx);
  3145. if(!strlen(tmp)) {
  3146. SendClientMessage(playerid,0xFF0000FF,">Write /animinthouse [1-10]");
  3147. return 1;
  3148. }
  3149. animationplayed = strval(tmp);
  3150. if(animationplayed < 1 || animationplayed > 10) {
  3151. SendClientMessage(playerid,0xFF0000FF,">Write /animinthouse [1-10]");
  3152. return 1;
  3153. }
  3154. if(animationplayed == 1) {
  3155. ApplyAnimation(playerid,"INT_HOUSE","BED_In_L",4.1,0,1,1,1,1);
  3156. }else if(animationplayed == 2) {
  3157. ApplyAnimation(playerid,"INT_HOUSE","BED_In_R",4.1,0,1,1,1,1);
  3158. }else if(animationplayed == 3) {
  3159. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_L",4.1,0,1,1,1,1);
  3160. }else if(animationplayed == 4) {
  3161. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_R",4.1,0,1,1,1,1);
  3162. }else if(animationplayed == 5) {
  3163. ApplyAnimation(playerid,"INT_HOUSE","BED_Out_L",4.1,0,1,1,1,1);
  3164. }else if(animationplayed == 6) {
  3165. ApplyAnimation(playerid,"INT_HOUSE","BED_Out_R",4.1,0,1,1,1,1);
  3166. }else if(animationplayed == 7) {
  3167. ApplyAnimation(playerid,"INT_HOUSE","LOU_In",4.1,0,1,1,1,1);
  3168. }else if(animationplayed == 8) {
  3169. ApplyAnimation(playerid,"INT_HOUSE","LOU_Loop",4.1,0,1,1,1,1);
  3170. }else if(animationplayed == 9) {
  3171. ApplyAnimation(playerid,"INT_HOUSE","LOU_Out",4.1,0,1,1,1,1);
  3172. }else if(animationplayed == 10) {
  3173. ApplyAnimation(playerid,"INT_HOUSE","wash_up",4.1,0,1,1,1,1);
  3174. }
  3175. return 1;
  3176. }
  3177. if(strcmp(cmd, "/animintoffice", true) == 0) {
  3178. tmp = strtok(cmdtext, idx);
  3179. if(!strlen(tmp)) {
  3180. SendClientMessage(playerid,0xFF0000FF,">Write /animintoffice [1-10]");
  3181. return 1;
  3182. }
  3183. animationplayed = strval(tmp);
  3184. if(animationplayed < 1 || animationplayed > 10) {
  3185. SendClientMessage(playerid,0xFF0000FF,">Write /animintoffice [1-10]");
  3186. return 1;
  3187. }
  3188. if(animationplayed == 1) {
  3189. ApplyAnimation(playerid,"INT_OFFICE","FF_Dam_Fwd",4.1,0,1,1,1,1);
  3190. }else if(animationplayed == 2) {
  3191. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_2Idle_180",4.1,0,1,1,1,1);
  3192. }else if(animationplayed == 3) {
  3193. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Bored_Loop",4.1,0,1,1,1,1);
  3194. }else if(animationplayed == 4) {
  3195. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Crash",4.1,0,1,1,1,1);
  3196. }else if(animationplayed == 5) {
  3197. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Drink",4.1,0,1,1,1,1);
  3198. }else if(animationplayed == 6) {
  3199. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Idle_Loop",4.1,0,1,1,1,1);
  3200. }else if(animationplayed == 7) {
  3201. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_In",4.1,0,1,1,1,1);
  3202. }else if(animationplayed == 8) {
  3203. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Read",4.1,0,1,1,1,1);
  3204. }else if(animationplayed == 9) {
  3205. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Type_Loop",4.1,0,1,1,1,1);
  3206. }else if(animationplayed == 10) {
  3207. ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Watch",4.1,0,1,1,1,1);
  3208. }
  3209. return 1;
  3210. }
  3211. if(strcmp(cmd, "/animplayerdbf", true) == 0) {
  3212. tmp = strtok(cmdtext, idx);
  3213. if(!strlen(tmp)) {
  3214. SendClientMessage(playerid,0xFF0000FF,">Write /animplayerdbf [1-4]");
  3215. return 1;
  3216. }
  3217. animationplayed = strval(tmp);
  3218. if(animationplayed < 1 || animationplayed > 4) {
  3219. SendClientMessage(playerid,0xFF0000FF,">Write /animplayerdbf [1-4]");
  3220. return 1;
  3221. }
  3222. if(animationplayed == 1) {
  3223. ApplyAnimation(playerid,"PLAYER_DVBYS","Plyr_DrivebyBwd",4.1,0,1,1,1,1);
  3224. } else if(animationplayed == 2) {
  3225. ApplyAnimation(playerid,"PLAYER_DVBYS","Plyr_DrivebyFwd",4.1,0,1,1,1,1);
  3226. } else if(animationplayed == 3) {
  3227. ApplyAnimation(playerid,"PLAYER_DVBYS","Plyr_DrivebyLHS",4.1,0,1,1,1,1);
  3228. } else if(animationplayed == 4) {
  3229. ApplyAnimation(playerid,"PLAYER_DVBYS","Plyr_DrivebyRHS",4.1,0,1,1,1,1);
  3230. }
  3231. return 1;
  3232. }
  3233. if(strcmp(cmd, "/animplayidles", true) == 0) {
  3234. tmp = strtok(cmdtext, idx);
  3235. if(!strlen(tmp)) {
  3236. SendClientMessage(playerid,0xFF0000FF,">Write /animplayidles [1-5]");
  3237. return 1;
  3238. }
  3239. animationplayed = strval(tmp);
  3240. if(animationplayed < 1 || animationplayed > 5) {
  3241. SendClientMessage(playerid,0xFF0000FF,">Write /animplayidles [1-5]");
  3242. return 1;
  3243. }
  3244. if(animationplayed == 1) {
  3245. ApplyAnimation(playerid,"PLAYIDLES","shift",4.1,0,1,1,1,1);
  3246. } else if(animationplayed == 2) {
  3247. ApplyAnimation(playerid,"PLAYIDLES","shldr",4.1,0,1,1,1,1);
  3248. } else if(animationplayed == 3) {
  3249. ApplyAnimation(playerid,"PLAYIDLES","stretch",4.1,0,1,1,1,1);
  3250. } else if(animationplayed == 4) {
  3251. ApplyAnimation(playerid,"PLAYIDLES","strleg",4.1,0,1,1,1,1);
  3252. } else if(animationplayed == 5) {
  3253. ApplyAnimation(playerid,"PLAYIDLES","time",4.1,0,1,1,1,1);
  3254. }
  3255. return 1;
  3256. }
  3257. if(strcmp(cmd, "/animpolice", true) == 0) {
  3258. tmp = strtok(cmdtext, idx);
  3259. if(!strlen(tmp)) {
  3260. SendClientMessage(playerid,0xFF0000FF,">Write /animpolice [1-10]");
  3261. return 1;
  3262. }
  3263. animationplayed = strval(tmp);
  3264. if(animationplayed < 1 || animationplayed > 10) {
  3265. SendClientMessage(playerid,0xFF0000FF,">Write /animpolice [1-10]");
  3266. return 1;
  3267. }
  3268. if(animationplayed == 1) {
  3269. ApplyAnimation(playerid,"POLICE","CopTraf_Away",4.1,0,1,1,1,1);
  3270. }else if(animationplayed == 2) {
  3271. ApplyAnimation(playerid,"POLICE","CopTraf_Come",4.1,0,1,1,1,1);
  3272. }else if(animationplayed == 3) {
  3273. ApplyAnimation(playerid,"POLICE","CopTraf_Left",4.1,0,1,1,1,1);
  3274. }else if(animationplayed == 4) {
  3275. ApplyAnimation(playerid,"POLICE","CopTraf_Stop",4.1,0,1,1,1,1);
  3276. }else if(animationplayed == 5) {
  3277. ApplyAnimation(playerid,"POLICE","COP_getoutcar_LHS",4.1,0,1,1,1,1);
  3278. }else if(animationplayed == 6) {
  3279. ApplyAnimation(playerid,"POLICE","Cop_move_FWD",4.1,0,1,1,1,1);
  3280. }else if(animationplayed == 7) {
  3281. ApplyAnimation(playerid,"POLICE","crm_drgbst_01",4.1,0,1,1,1,1);
  3282. }else if(animationplayed == 8) {
  3283. ApplyAnimation(playerid,"POLICE","Door_Kick",4.1,0,1,1,1,1);
  3284. }else if(animationplayed == 9) {
  3285. ApplyAnimation(playerid,"POLICE","plc_drgbst_01",4.1,0,1,1,1,1);
  3286. }else if(animationplayed == 10) {
  3287. ApplyAnimation(playerid,"POLICE","plc_drgbst_02",4.1,0,1,1,1,1);
  3288. }
  3289. return 1;
  3290. }
  3291. if(strcmp(cmd, "/animpool", true) == 0) {
  3292. tmp = strtok(cmdtext, idx);
  3293. if(!strlen(tmp)) {
  3294. SendClientMessage(playerid,0xFF0000FF,">Write /animpool [1-21]");
  3295. return 1;
  3296. }
  3297. animationplayed = strval(tmp);
  3298. if(animationplayed < 1 || animationplayed > 21) {
  3299. SendClientMessage(playerid,0xFF0000FF,">Write /animpool [1-21]");
  3300. return 1;
  3301. }
  3302. if(animationplayed == 1) {
  3303. ApplyAnimation(playerid,"POOL","POOL_ChalkCue",4.1,0,1,1,1,1);
  3304. }else if(animationplayed == 2) {
  3305. ApplyAnimation(playerid,"POOL","POOL_Idle_Stance",4.1,0,1,1,1,1);
  3306. }else if(animationplayed == 3) {
  3307. ApplyAnimation(playerid,"POOL","POOL_Long_Shot",4.1,0,1,1,1,1);
  3308. }else if(animationplayed == 4) {
  3309. ApplyAnimation(playerid,"POOL","POOL_Long_Shot_O",4.1,0,1,1,1,1);
  3310. }else if(animationplayed == 5) {
  3311. ApplyAnimation(playerid,"POOL","POOL_Long_Start",4.1,0,1,1,1,1);
  3312. }else if(animationplayed == 6) {
  3313. ApplyAnimation(playerid,"POOL","POOL_Long_Start_O",4.1,0,1,1,1,1);
  3314. }else if(animationplayed == 7) {
  3315. ApplyAnimation(playerid,"POOL","POOL_Med_Shot",4.1,0,1,1,1,1);
  3316. }else if(animationplayed == 8) {
  3317. ApplyAnimation(playerid,"POOL","POOL_Med_Shot_O",4.1,0,1,1,1,1);
  3318. }else if(animationplayed == 9) {
  3319. ApplyAnimation(playerid,"POOL","POOL_Med_Start",4.1,0,1,1,1,1);
  3320. }else if(animationplayed == 10) {
  3321. ApplyAnimation(playerid,"POOL","POOL_Med_Start_O",4.1,0,1,1,1,1);
  3322. }else if(animationplayed == 11) {
  3323. ApplyAnimation(playerid,"POOL","POOL_Place_White",4.1,0,1,1,1,1);
  3324. }else if(animationplayed == 12) {
  3325. ApplyAnimation(playerid,"POOL","POOL_Short_Shot",4.1,0,1,1,1,1);
  3326. }else if(animationplayed == 13) {
  3327. ApplyAnimation(playerid,"POOL","POOL_Short_Shot_O",4.1,0,1,1,1,1);
  3328. }else if(animationplayed == 14) {
  3329. ApplyAnimation(playerid,"POOL","POOL_Short_Start",4.1,0,1,1,1,1);
  3330. }else if(animationplayed == 15) {
  3331. ApplyAnimation(playerid,"POOL","POOL_Short_Start_O",4.1,0,1,1,1,1);
  3332. }else if(animationplayed == 16) {
  3333. ApplyAnimation(playerid,"POOL","POOL_Walk",4.1,0,1,1,1,1);
  3334. }else if(animationplayed == 17) {
  3335. ApplyAnimation(playerid,"POOL","POOL_Walk_Start",4.1,0,1,1,1,1);
  3336. }else if(animationplayed == 18) {
  3337. ApplyAnimation(playerid,"POOL","POOL_XLong_Shot",4.1,0,1,1,1,1);
  3338. }else if(animationplayed == 19) {
  3339. ApplyAnimation(playerid,"POOL","POOL_XLong_Shot_O",4.1,0,1,1,1,1);
  3340. }else if(animationplayed == 20) {
  3341. ApplyAnimation(playerid,"POOL","POOL_XLong_Start",4.1,0,1,1,1,1);
  3342. }else if(animationplayed == 21) {
  3343. ApplyAnimation(playerid,"POOL","POOL_XLong_Start_O",4.1,0,1,1,1,1);
  3344. }
  3345. return 1;
  3346. }
  3347. if(strcmp(cmd, "/animpoor", true) == 0) {
  3348. tmp = strtok(cmdtext, idx);
  3349. if(!strlen(tmp)) {
  3350. SendClientMessage(playerid,0xFF0000FF,">Write /animpoor [1-2]");
  3351. return 1;
  3352. }
  3353. animationplayed = strval(tmp);
  3354. if(animationplayed < 1 || animationplayed > 2) {
  3355. SendClientMessage(playerid,0xFF0000FF,">Write /animpoor [1-2]");
  3356. return 1;
  3357. }
  3358. if(animationplayed == 1) {
  3359. ApplyAnimation(playerid,"POOR","WINWASH_Start",4.1,0,1,1,1,1);
  3360. }else if(animationplayed == 1) {
  3361. ApplyAnimation(playerid,"POOR","WINWASH_Wash2Beg",4.1,0,1,1,1,1);
  3362. }
  3363. return 1;
  3364. }
  3365. if(strcmp(cmd, "/animpython", true) == 0) {
  3366. tmp = strtok(cmdtext, idx);
  3367. if(!strlen(tmp)) {
  3368. SendClientMessage(playerid,0xFF0000FF,">Write /animpython [1-5]");
  3369. return 1;
  3370. }
  3371. animationplayed = strval(tmp);
  3372. if(animationplayed < 1 || animationplayed > 5) {
  3373. SendClientMessage(playerid,0xFF0000FF,">Write /animpython [1-5]");
  3374. return 1;
  3375. }
  3376. if(animationplayed == 1) {
  3377. ApplyAnimation(playerid,"PYTHON","python_crouchfire",4.1,0,1,1,1,1);
  3378. } else if(animationplayed == 2) {
  3379. ApplyAnimation(playerid,"PYTHON","python_crouchreload",4.1,0,1,1,1,1);
  3380. } else if(animationplayed == 3) {
  3381. ApplyAnimation(playerid,"PYTHON","python_fire",4.1,0,1,1,1,1);
  3382. } else if(animationplayed == 4) {
  3383. ApplyAnimation(playerid,"PYTHON","python_fire_poor",4.1,0,1,1,1,1);
  3384. } else if(animationplayed == 5) {
  3385. ApplyAnimation(playerid,"PYTHON","python_reload",4.1,0,1,1,1,1);
  3386. }
  3387. return 1;
  3388. }
  3389. if(strcmp(cmd, "/animquad", true) == 0) {
  3390. tmp = strtok(cmdtext, idx);
  3391. if(!strlen(tmp)) {
  3392. SendClientMessage(playerid,0xFF0000FF,">Write /animquad [1-17]");
  3393. return 1;
  3394. }
  3395. animationplayed = strval(tmp);
  3396. if(animationplayed < 1 || animationplayed > 17) {
  3397. SendClientMessage(playerid,0xFF0000FF,">Write /animquad [1-17]");
  3398. return 1;
  3399. }
  3400. if(animationplayed == 1) {
  3401. ApplyAnimation(playerid,"QUAD","QUAD_back",4.1,0,1,1,1,1);
  3402. }else if(animationplayed == 2) {
  3403. ApplyAnimation(playerid,"QUAD","QUAD_driveby_FT",4.1,0,1,1,1,1);
  3404. }else if(animationplayed == 3) {
  3405. ApplyAnimation(playerid,"QUAD","QUAD_driveby_LHS",4.1,0,1,1,1,1);
  3406. }else if(animationplayed == 4) {
  3407. ApplyAnimation(playerid,"QUAD","QUAD_driveby_RHS",4.1,0,1,1,1,1);
  3408. }else if(animationplayed == 5) {
  3409. ApplyAnimation(playerid,"QUAD","QUAD_FWD",4.1,0,1,1,1,1);
  3410. }else if(animationplayed == 6) {
  3411. ApplyAnimation(playerid,"QUAD","QUAD_getoff_B",4.1,0,1,1,1,1);
  3412. }else if(animationplayed == 7) {
  3413. ApplyAnimation(playerid,"QUAD","QUAD_getoff_LHS",4.1,0,1,1,1,1);
  3414. }else if(animationplayed == 8) {
  3415. ApplyAnimation(playerid,"QUAD","QUAD_getoff_RHS",4.1,0,1,1,1,1);
  3416. }else if(animationplayed == 9) {
  3417. ApplyAnimation(playerid,"QUAD","QUAD_geton_LHS",4.1,0,1,1,1,1);
  3418. }else if(animationplayed == 10) {
  3419. ApplyAnimation(playerid,"QUAD","QUAD_geton_RHS",4.1,0,1,1,1,1);
  3420. }else if(animationplayed == 11) {
  3421. ApplyAnimation(playerid,"QUAD","QUAD_hit",4.1,0,1,1,1,1);
  3422. }else if(animationplayed == 12) {
  3423. ApplyAnimation(playerid,"QUAD","QUAD_kick",4.1,0,1,1,1,1);
  3424. }else if(animationplayed == 13) {
  3425. ApplyAnimation(playerid,"QUAD","QUAD_Left",4.1,0,1,1,1,1);
  3426. }else if(animationplayed == 14) {
  3427. ApplyAnimation(playerid,"QUAD","QUAD_passenger",4.1,0,1,1,1,1);
  3428. }else if(animationplayed == 15) {
  3429. ApplyAnimation(playerid,"QUAD","QUAD_reverse",4.1,0,1,1,1,1);
  3430. }else if(animationplayed == 16) {
  3431. ApplyAnimation(playerid,"QUAD","QUAD_ride",4.1,0,1,1,1,1);
  3432. }else if(animationplayed == 17) {
  3433. ApplyAnimation(playerid,"QUAD","QUAD_Right",4.1,0,1,1,1,1);
  3434. }
  3435. return 1;
  3436. }
  3437. if(strcmp(cmd, "/animquadbz", true) == 0) {
  3438. tmp = strtok(cmdtext, idx);
  3439. if(!strlen(tmp)) {
  3440. SendClientMessage(playerid,0xFF0000FF,">Write /animquadbz [1-4]");
  3441. return 1;
  3442. }
  3443. animationplayed = strval(tmp);
  3444. if(animationplayed < 1 || animationplayed > 4) {
  3445. SendClientMessage(playerid,0xFF0000FF,">Write /animquadbz [1-4]");
  3446. return 1;
  3447. }
  3448. if(animationplayed == 1) {
  3449. ApplyAnimation(playerid,"QUAD_DBZ","Pass_Driveby_BWD",4.1,0,1,1,1,1);
  3450. } else if(animationplayed == 2) {
  3451. ApplyAnimation(playerid,"QUAD_DBZ","Pass_Driveby_FWD",4.1,0,1,1,1,1);
  3452. } else if(animationplayed == 3) {
  3453. ApplyAnimation(playerid,"QUAD_DBZ","Pass_Driveby_LHS",4.1,0,1,1,1,1);
  3454. } else if(animationplayed == 4) {
  3455. ApplyAnimation(playerid,"QUAD_DBZ","Pass_Driveby_RHS",4.1,0,1,1,1,1);
  3456. }
  3457. return 1;
  3458. }
  3459. if(strcmp(cmd, "/animrapping", true) == 0) {
  3460. tmp = strtok(cmdtext, idx);
  3461. if(!strlen(tmp)) {
  3462. SendClientMessage(playerid,0xFF0000FF,">Write /animrapping [1-8]");
  3463. return 1;
  3464. }
  3465. animationplayed = strval(tmp);
  3466. if(animationplayed < 1 || animationplayed > 8) {
  3467. SendClientMessage(playerid,0xFF0000FF,">Write /animrapping [1-8]");
  3468. return 1;
  3469. }
  3470. if(animationplayed == 1) {
  3471. ApplyAnimation(playerid,"RAPPING","Laugh_01",4.1,0,1,1,1,1);
  3472. }else if(animationplayed == 2) {
  3473. ApplyAnimation(playerid,"RAPPING","RAP_A_IN",4.1,0,1,1,1,1);
  3474. }else if(animationplayed == 3) {
  3475. ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.1,0,1,1,1,1);
  3476. }else if(animationplayed == 4) {
  3477. ApplyAnimation(playerid,"RAPPING","RAP_A_OUT",4.1,0,1,1,1,1);
  3478. }else if(animationplayed == 5) {
  3479. ApplyAnimation(playerid,"RAPPING","RAP_B_IN",4.1,0,1,1,1,1);
  3480. }else if(animationplayed == 6) {
  3481. ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.1,0,1,1,1,1);
  3482. }else if(animationplayed == 7) {
  3483. ApplyAnimation(playerid,"RAPPING","RAP_B_OUT",4.1,0,1,1,1,1);
  3484. }else if(animationplayed == 8) {
  3485. ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.1,0,1,1,1,1);
  3486. }
  3487. return 1;
  3488. }
  3489. if(strcmp(cmd, "/animrifle", true) == 0) {
  3490. tmp = strtok(cmdtext, idx);
  3491. if(!strlen(tmp)) {
  3492. SendClientMessage(playerid,0xFF0000FF,">Write /animrifle [1-5]");
  3493. return 1;
  3494. }
  3495. animationplayed = strval(tmp);
  3496. if(animationplayed < 1 || animationplayed > 5) {
  3497. SendClientMessage(playerid,0xFF0000FF,">Write /animrifle [1-5]");
  3498. return 1;
  3499. }
  3500. if(animationplayed == 1) {
  3501. ApplyAnimation(playerid,"RIFLE","RIFLE_crouchfire",4.1,0,1,1,1,1);
  3502. } else if(animationplayed == 2) {
  3503. ApplyAnimation(playerid,"RIFLE","RIFLE_crouchload",4.1,0,1,1,1,1);
  3504. } else if(animationplayed == 3) {
  3505. ApplyAnimation(playerid,"RIFLE","RIFLE_fire",4.1,0,1,1,1,1);
  3506. } else if(animationplayed == 4) {
  3507. ApplyAnimation(playerid,"RIFLE","RIFLE_fire_poor",4.1,0,1,1,1,1);
  3508. } else if(animationplayed == 5) {
  3509. ApplyAnimation(playerid,"RIFLE","RIFLE_load",4.1,0,1,1,1,1);
  3510. }
  3511. return 1;
  3512. }
  3513. if(strcmp(cmd, "/animriot", true) == 0) {
  3514. tmp = strtok(cmdtext, idx);
  3515. if(!strlen(tmp)) {
  3516. SendClientMessage(playerid,0xFF0000FF,">Write /animriot [1-7]");
  3517. return 1;
  3518. }
  3519. animationplayed = strval(tmp);
  3520. if(animationplayed < 1 || animationplayed > 7) {
  3521. SendClientMessage(playerid,0xFF0000FF,">Write /animriot [1-7]");
  3522. return 1;
  3523. }
  3524. if(animationplayed == 1) {
  3525. ApplyAnimation(playerid,"RIOT","RIOT_ANGRY",4.1,0,1,1,1,1);
  3526. }else if(animationplayed == 2) {
  3527. ApplyAnimation(playerid,"RIOT","RIOT_ANGRY_B",4.1,0,1,1,1,1);
  3528. }else if(animationplayed == 3) {
  3529. ApplyAnimation(playerid,"RIOT","RIOT_challenge",4.1,0,1,1,1,1);
  3530. }else if(animationplayed == 4) {
  3531. ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1,0,1,1,1,1);
  3532. }else if(animationplayed == 5) {
  3533. ApplyAnimation(playerid,"RIOT","RIOT_FUKU",4.1,0,1,1,1,1);
  3534. }else if(animationplayed == 6) {
  3535. ApplyAnimation(playerid,"RIOT","RIOT_PUNCHES",4.1,0,1,1,1,1);
  3536. }else if(animationplayed == 7) {
  3537. ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1,0,1,1,1,1);
  3538. }
  3539. return 1;
  3540. }
  3541. if(strcmp(cmd, "/animrobbank", true) == 0) {
  3542. tmp = strtok(cmdtext, idx);
  3543. if(!strlen(tmp)) {
  3544. SendClientMessage(playerid,0xFF0000FF,">Write /animrobbank [1-5]");
  3545. return 1;
  3546. }
  3547. animationplayed = strval(tmp);
  3548. if(animationplayed < 1 || animationplayed > 5) {
  3549. SendClientMessage(playerid,0xFF0000FF,">Write /animrobbank [1-5]");
  3550. return 1;
  3551. }
  3552. if(animationplayed == 1) {
  3553. ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_End",4.1,0,1,1,1,1);
  3554. } else if(animationplayed == 2) {
  3555. ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_Open",4.1,0,1,1,1,1);
  3556. } else if(animationplayed == 3) {
  3557. ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_Open_O",4.1,0,1,1,1,1);
  3558. } else if(animationplayed == 4) {
  3559. ApplyAnimation(playerid,"ROB_BANK","CAT_Safe_Rob",4.1,0,1,1,1,1);
  3560. } else if(animationplayed == 5) {
  3561. ApplyAnimation(playerid,"ROB_BANK","SHP_HandsUp_Scr",4.1,0,1,1,1,1);
  3562. }
  3563. return 1;
  3564. }
  3565. if(strcmp(cmd, "/animrocket", true) == 0) {
  3566. tmp = strtok(cmdtext, idx);
  3567. if(!strlen(tmp)) {
  3568. SendClientMessage(playerid,0xFF0000FF,">Write /animrocket [1-5]");
  3569. return 1;
  3570. }
  3571. animationplayed = strval(tmp);
  3572. if(animationplayed < 1 || animationplayed > 5) {
  3573. SendClientMessage(playerid,0xFF0000FF,">Write /animrocket [1-5]");
  3574. return 1;
  3575. }
  3576. if(animationplayed == 1) {
  3577. ApplyAnimation(playerid,"ROCKET","idle_rocket",4.1,0,1,1,1,1);
  3578. } else if(animationplayed == 2) {
  3579. ApplyAnimation(playerid,"ROCKET","RocketFire",4.1,0,1,1,1,1);
  3580. } else if(animationplayed == 3) {
  3581. ApplyAnimation(playerid,"ROCKET","run_rocket",4.1,0,1,1,1,1);
  3582. } else if(animationplayed == 4) {
  3583. ApplyAnimation(playerid,"ROCKET","walk_rocket",4.1,0,1,1,1,1);
  3584. } else if(animationplayed == 5) {
  3585. ApplyAnimation(playerid,"ROCKET","WALK_start_rocket",4.1,0,1,1,1,1);
  3586. }
  3587. return 1;
  3588. }
  3589. if(strcmp(cmd, "/animrustler", true) == 0) {
  3590. tmp = strtok(cmdtext, idx);
  3591. if(!strlen(tmp)) {
  3592. SendClientMessage(playerid,0xFF0000FF,">Write /animrustler [1-5]");
  3593. return 1;
  3594. }
  3595. animationplayed = strval(tmp);
  3596. if(animationplayed < 1 || animationplayed > 5) {
  3597. SendClientMessage(playerid,0xFF0000FF,">Write /animrustler [1-5]");
  3598. return 1;
  3599. }
  3600. if(animationplayed == 1) {
  3601. ApplyAnimation(playerid,"RUSTLER","Plane_align_LHS",4.1,0,1,1,1,1);
  3602. } else if(animationplayed == 2) {
  3603. ApplyAnimation(playerid,"RUSTLER","Plane_close",4.1,0,1,1,1,1);
  3604. } else if(animationplayed == 3) {
  3605. ApplyAnimation(playerid,"RUSTLER","Plane_getin",4.1,0,1,1,1,1);
  3606. } else if(animationplayed == 4) {
  3607. ApplyAnimation(playerid,"RUSTLER","Plane_getout",4.1,0,1,1,1,1);
  3608. } else if(animationplayed == 5) {
  3609. ApplyAnimation(playerid,"RUSTLER","Plane_open",4.1,0,1,1,1,1);
  3610. }
  3611. return 1;
  3612. }
  3613. if(strcmp(cmd, "/animbiked", true) == 0) {
  3614. tmp = strtok(cmdtext, idx);
  3615. if(!strlen(tmp)) {
  3616. SendClientMessage(playerid,0xFF0000FF,">Write /animbiked [1-18]");
  3617. return 1;
  3618. }
  3619. animationplayed = strval(tmp);
  3620. if(animationplayed < 1 || animationplayed > 18) {
  3621. SendClientMessage(playerid,0xFF0000FF,">Write /animbiked [1-18]");
  3622. return 1;
  3623. }
  3624. if(animationplayed == 1) {
  3625. ApplyAnimation(playerid,"BIKED","BIKEd_Back",4.1,0,1,1,1,1);
  3626. }else if(animationplayed == 1) {
  3627. ApplyAnimation(playerid,"BIKED","BIKEd_drivebyFT",4.1,0,1,1,1,1);
  3628. }else if(animationplayed == 2) {
  3629. ApplyAnimation(playerid,"BIKED","BIKEd_drivebyLHS",4.1,0,1,1,1,1);
  3630. }else if(animationplayed == 3) {
  3631. ApplyAnimation(playerid,"BIKED","BIKEd_drivebyRHS",4.1,0,1,1,1,1);
  3632. }else if(animationplayed == 4) {
  3633. ApplyAnimation(playerid,"BIKED","BIKEd_Fwd",4.1,0,1,1,1,1);
  3634. }else if(animationplayed == 5) {
  3635. ApplyAnimation(playerid,"BIKED","BIKEd_getoffBACK",4.1,0,1,1,1,1);
  3636. }else if(animationplayed == 6) {
  3637. ApplyAnimation(playerid,"BIKED","BIKEd_getoffLHS",4.1,0,1,1,1,1);
  3638. }else if(animationplayed == 7) {
  3639. ApplyAnimation(playerid,"BIKED","BIKEd_getoffRHS",4.1,0,1,1,1,1);
  3640. }else if(animationplayed == 8) {
  3641. ApplyAnimation(playerid,"BIKED","BIKEd_hit",4.1,0,1,1,1,1);
  3642. }else if(animationplayed == 9) {
  3643. ApplyAnimation(playerid,"BIKED","BIKEd_jumponL",4.1,0,1,1,1,1);
  3644. }else if(animationplayed == 10) {
  3645. ApplyAnimation(playerid,"BIKED","BIKEd_jumponR",4.1,0,1,1,1,1);
  3646. }else if(animationplayed == 11) {
  3647. ApplyAnimation(playerid,"BIKED","BIKEd_kick",4.1,0,1,1,1,1);
  3648. }else if(animationplayed == 12) {
  3649. ApplyAnimation(playerid,"BIKED","BIKEd_Left",4.1,0,1,1,1,1);
  3650. }else if(animationplayed == 13) {
  3651. ApplyAnimation(playerid,"BIKED","BIKEd_passenger",4.1,0,1,1,1,1);
  3652. }else if(animationplayed == 14) {
  3653. ApplyAnimation(playerid,"BIKED","BIKEd_pushes",4.1,0,1,1,1,1);
  3654. }else if(animationplayed == 15) {
  3655. ApplyAnimation(playerid,"BIKED","BIKEd_Ride",4.1,0,1,1,1,1);
  3656. }else if(animationplayed == 16) {
  3657. ApplyAnimation(playerid,"BIKED","BIKEd_Right",4.1,0,1,1,1,1);
  3658. }else if(animationplayed == 17) {
  3659. ApplyAnimation(playerid,"BIKED","BIKEd_shuffle",4.1,0,1,1,1,1);
  3660. }else if(animationplayed == 18) {
  3661. ApplyAnimation(playerid,"BIKED","BIKEd_Still",4.1,0,1,1,1,1);
  3662. }
  3663. return 1;
  3664. }
  3665. if(strcmp(cmd, "/animryder", true) == 0) {
  3666. tmp = strtok(cmdtext, idx);
  3667. if(!strlen(tmp)) {
  3668. SendClientMessage(playerid,0xFF0000FF,">Write /animryder [1-14]");
  3669. return 1;
  3670. }
  3671. animationplayed = strval(tmp);
  3672. if(animationplayed < 1 || animationplayed > 14) {
  3673. SendClientMessage(playerid,0xFF0000FF,">Write /animryder [1-14]");
  3674. return 1;
  3675. }
  3676. if(animationplayed == 1) {
  3677. ApplyAnimation(playerid,"RYDER","RYD_Beckon_01",4.1,0,1,1,1,1);
  3678. }else if(animationplayed == 1) {
  3679. ApplyAnimation(playerid,"RYDER","RYD_Beckon_02",4.1,0,1,1,1,1);
  3680. }else if(animationplayed == 2) {
  3681. ApplyAnimation(playerid,"RYDER","RYD_Beckon_03",4.1,0,1,1,1,1);
  3682. }else if(animationplayed == 3) {
  3683. ApplyAnimation(playerid,"RYDER","RYD_Die_PT1",4.1,0,1,1,1,1);
  3684. }else if(animationplayed == 4) {
  3685. ApplyAnimation(playerid,"RYDER","RYD_Die_PT2",4.1,0,1,1,1,1);
  3686. }else if(animationplayed == 5) {
  3687. ApplyAnimation(playerid,"RYDER","Van_Crate_L",4.1,0,1,1,1,1);
  3688. }else if(animationplayed == 6) {
  3689. ApplyAnimation(playerid,"RYDER","Van_Crate_R",4.1,0,1,1,1,1);
  3690. }else if(animationplayed == 7) {
  3691. ApplyAnimation(playerid,"RYDER","Van_Fall_L",4.1,0,1,1,1,1);
  3692. }else if(animationplayed == 8) {
  3693. ApplyAnimation(playerid,"RYDER","Van_Fall_R",4.1,0,1,1,1,1);
  3694. }else if(animationplayed == 9) {
  3695. ApplyAnimation(playerid,"RYDER","Van_Lean_L",4.1,0,1,1,1,1);
  3696. }else if(animationplayed == 10) {
  3697. ApplyAnimation(playerid,"RYDER","Van_Lean_R",4.1,0,1,1,1,1);
  3698. }else if(animationplayed == 11) {
  3699. ApplyAnimation(playerid,"RYDER","VAN_PickUp_S",4.1,0,1,1,1,1);
  3700. }else if(animationplayed == 12) {
  3701. ApplyAnimation(playerid,"RYDER","Van_Stand",4.1,0,1,1,1,1);
  3702. }else if(animationplayed == 13) {
  3703. ApplyAnimation(playerid,"RYDER","Van_Stand_Crate",4.1,0,1,1,1,1);
  3704. }else if(animationplayed == 14) {
  3705. ApplyAnimation(playerid,"RYDER","Van_Throw",4.1,0,1,1,1,1);
  3706. }
  3707. return 1;
  3708. }
  3709. if(strcmp(cmd, "/animscrat", true) == 0) {
  3710. tmp = strtok(cmdtext, idx);
  3711. if(!strlen(tmp)) {
  3712. SendClientMessage(playerid,0xFF0000FF,">Write /animscrat [1-12]");
  3713. return 1;
  3714. }
  3715. animationplayed = strval(tmp);
  3716. if(animationplayed < 1 || animationplayed > 12) {
  3717. SendClientMessage(playerid,0xFF0000FF,">Write /animscrat [1-12]");
  3718. return 1;
  3719. }
  3720. if(animationplayed == 1) {
  3721. ApplyAnimation(playerid,"SCRATCHING","scdldlp",4.1,0,1,1,1,1);
  3722. } else if(animationplayed == 2) {
  3723. ApplyAnimation(playerid,"SCRATCHING","scdlulp",4.1,0,1,1,1,1);
  3724. } else if(animationplayed == 3) {
  3725. ApplyAnimation(playerid,"SCRATCHING","scdrdlp",4.1,0,1,1,1,1);
  3726. } else if(animationplayed == 4) {
  3727. ApplyAnimation(playerid,"SCRATCHING","scdrulp",4.1,0,1,1,1,1);
  3728. } else if(animationplayed == 5) {
  3729. ApplyAnimation(playerid,"SCRATCHING","sclng_l",4.1,0,1,1,1,1);
  3730. } else if(animationplayed == 6) {
  3731. ApplyAnimation(playerid,"SCRATCHING","sclng_r",4.1,0,1,1,1,1);
  3732. } else if(animationplayed == 7) {
  3733. ApplyAnimation(playerid,"SCRATCHING","scmid_l",4.1,0,1,1,1,1);
  3734. } else if(animationplayed == 8) {
  3735. ApplyAnimation(playerid,"SCRATCHING","scmid_r",4.1,0,1,1,1,1);
  3736. } else if(animationplayed == 9) {
  3737. ApplyAnimation(playerid,"SCRATCHING","scshrtl",4.1,0,1,1,1,1);
  3738. } else if(animationplayed == 10) {
  3739. ApplyAnimation(playerid,"SCRATCHING","scshrtr",4.1,0,1,1,1,1);
  3740. } else if(animationplayed == 11) {
  3741. ApplyAnimation(playerid,"SCRATCHING","sc_ltor",4.1,0,1,1,1,1);
  3742. } else if(animationplayed == 12) {
  3743. ApplyAnimation(playerid,"SCRATCHING","sc_rtol",4.1,0,1,1,1,1);
  3744. }
  3745. return 1;
  3746. }
  3747. if(strcmp(cmd, "/animshamal", true) == 0) {
  3748. tmp = strtok(cmdtext, idx);
  3749. if(!strlen(tmp)) {
  3750. SendClientMessage(playerid,0xFF0000FF,">Write /animshamal [1-4]");
  3751. return 1;
  3752. }
  3753. animationplayed = strval(tmp);
  3754. if(animationplayed < 1 || animationplayed > 4) {
  3755. SendClientMessage(playerid,0xFF0000FF,">Write /animshamal [1-4]");
  3756. return 1;
  3757. }
  3758. if(animationplayed == 1) {
  3759. ApplyAnimation(playerid,"SHAMAL","SHAMAL_align",4.1,0,1,1,1,1);
  3760. } else if(animationplayed == 2) {
  3761. ApplyAnimation(playerid,"SHAMAL","SHAMAL_getin_LHS",4.1,0,1,1,1,1);
  3762. } else if(animationplayed == 3) {
  3763. ApplyAnimation(playerid,"SHAMAL","SHAMAL_getout_LHS",4.1,0,1,1,1,1);
  3764. } else if(animationplayed == 4) {
  3765. ApplyAnimation(playerid,"SHAMAL","SHAMAL_open",4.1,0,1,1,1,1);
  3766. }
  3767. return 1;
  3768. }
  3769. if(strcmp(cmd, "/animshop", true) == 0) {
  3770. tmp = strtok(cmdtext, idx);
  3771. if(!strlen(tmp)) {
  3772. SendClientMessage(playerid,0xFF0000FF,">Write /animshop [1-24]");
  3773. return 1;
  3774. }
  3775. animationplayed = strval(tmp);
  3776. if(animationplayed < 1 || animationplayed > 24) {
  3777. SendClientMessage(playerid,0xFF0000FF,">Write /animshop [1-24]");
  3778. return 1;
  3779. }
  3780. if(animationplayed == 1) {
  3781. ApplyAnimation(playerid,"SHOP","ROB_2Idle",4.1,0,1,1,1,1);
  3782. }else if(animationplayed == 2) {
  3783. ApplyAnimation(playerid,"SHOP","ROB_Loop",4.1,0,1,1,1,1);
  3784. }else if(animationplayed == 3) {
  3785. ApplyAnimation(playerid,"SHOP","donutdrop",4.1,0,1,1,1,1);
  3786. }else if(animationplayed == 4) {
  3787. ApplyAnimation(playerid,"SHOP","ROB_Loop_Threat",4.1,0,1,1,1,1);
  3788. }else if(animationplayed == 5) {
  3789. ApplyAnimation(playerid,"SHOP","ROB_Shifty",4.1,0,1,1,1,1);
  3790. }else if(animationplayed == 6) {
  3791. ApplyAnimation(playerid,"SHOP","ROB_StickUp_In",4.1,0,1,1,1,1);
  3792. }else if(animationplayed == 7) {
  3793. ApplyAnimation(playerid,"SHOP","SHP_Duck_Fire",4.1,0,1,1,1,1);
  3794. }else if(animationplayed == 8) {
  3795. ApplyAnimation(playerid,"SHOP","SHP_Gun_Aim",4.1,0,1,1,1,1);
  3796. }else if(animationplayed == 9) {
  3797. ApplyAnimation(playerid,"SHOP","SHP_Gun_Duck",4.1,0,1,1,1,1);
  3798. }else if(animationplayed == 10) {
  3799. ApplyAnimation(playerid,"SHOP","SHP_Gun_Fire",4.1,0,1,1,1,1);
  3800. }else if(animationplayed == 11) {
  3801. ApplyAnimation(playerid,"SHOP","SHP_Gun_Grab",4.1,0,1,1,1,1);
  3802. }else if(animationplayed == 12) {
  3803. ApplyAnimation(playerid,"SHOP","SHP_Gun_Threat",4.1,0,1,1,1,1);
  3804. }else if(animationplayed == 13) {
  3805. ApplyAnimation(playerid,"SHOP","SHP_HandsUp_Scr",4.1,0,1,1,1,1);
  3806. }else if(animationplayed == 14) {
  3807. ApplyAnimation(playerid,"SHOP","SHP_Jump_Glide",4.1,0,1,1,1,1);
  3808. }else if(animationplayed == 15) {
  3809. ApplyAnimation(playerid,"SHOP","SHP_Jump_Land",4.1,0,1,1,1,1);
  3810. }else if(animationplayed == 16) {
  3811. ApplyAnimation(playerid,"SHOP","SHP_Jump_Launch",4.1,0,1,1,1,1);
  3812. }else if(animationplayed == 17) {
  3813. ApplyAnimation(playerid,"SHOP","SHP_Rob_GiveCash",4.1,0,1,1,1,1);
  3814. }else if(animationplayed == 18) {
  3815. ApplyAnimation(playerid,"SHOP","SHP_Rob_HandsUp",4.1,0,1,1,1,1);
  3816. }else if(animationplayed == 19) {
  3817. ApplyAnimation(playerid,"SHOP","SHP_Rob_React",4.1,0,1,1,1,1);
  3818. }else if(animationplayed == 20) {
  3819. ApplyAnimation(playerid,"SHOP","SHP_Serve_End",4.1,0,1,1,1,1);
  3820. }else if(animationplayed == 21) {
  3821. ApplyAnimation(playerid,"SHOP","SHP_Serve_Idle",4.1,0,1,1,1,1);
  3822. }else if(animationplayed == 22) {
  3823. ApplyAnimation(playerid,"SHOP","SHP_Serve_Loop",4.1,0,1,1,1,1);
  3824. }else if(animationplayed == 23) {
  3825. ApplyAnimation(playerid,"SHOP","SHP_Serve_Start",4.1,0,1,1,1,1);
  3826. }else if(animationplayed == 24) {
  3827. ApplyAnimation(playerid,"SHOP","Smoke_RYD",4.1,0,1,1,1,1);
  3828. }
  3829. return 1;
  3830. }
  3831. if(strcmp(cmd, "/animshotgun", true) == 0) {
  3832. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  3833. tmp = strtok(cmdtext, idx);
  3834. if(!strlen(tmp)) {
  3835. SendClientMessage(playerid,0xFF0000FF,">Write /animshotgun [1-3]");
  3836. return 1;
  3837. }
  3838. animationplayed = strval(tmp);
  3839. if(animationplayed < 1 || animationplayed > 3) {
  3840. SendClientMessage(playerid,0xFF0000FF,">Write /animshotgun [1-3]");
  3841. return 1;
  3842. }
  3843. if(animationplayed == 1) {
  3844. ApplyAnimation(playerid,"SHOTGUN","shotgun_crouchfire",4.1,0,1,1,1,1);
  3845. } else if(animationplayed == 2) {
  3846. ApplyAnimation(playerid,"SHOTGUN","shotgun_fire",4.1,0,1,1,1,1);
  3847. } else if(animationplayed == 3) {
  3848. ApplyAnimation(playerid,"SHOTGUN","shotgun_fire_poor",4.1,0,1,1,1,1);
  3849. }
  3850. return 1;
  3851. }
  3852. }
  3853. if(strcmp(cmd, "/animskate", true) == 0) {
  3854. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  3855. tmp = strtok(cmdtext, idx);
  3856. if(!strlen(tmp)) {
  3857. SendClientMessage(playerid,0xFF0000FF,">Write /animskate [1-3]");
  3858. return 1;
  3859. }
  3860. animationplayed = strval(tmp);
  3861. if(animationplayed < 1 || animationplayed > 3) {
  3862. SendClientMessage(playerid,0xFF0000FF,">Write /animskate [1-3]");
  3863. return 1;
  3864. }
  3865. if(animationplayed == 1) {
  3866. ApplyAnimation(playerid,"SKATE","skate_idle",4.1,0,1,1,1,1);
  3867. } else if(animationplayed == 2) {
  3868. ApplyAnimation(playerid,"SKATE","skate_run",4.1,0,1,1,1,1);
  3869. } else if(animationplayed == 3) {
  3870. ApplyAnimation(playerid,"SKATE","skate_sprint",4.1,0,1,1,1,1);
  3871. }
  3872. return 1;
  3873. }
  3874. }
  3875. if(strcmp(cmd, "/animvortex", true) == 0) {
  3876. tmp = strtok(cmdtext, idx);
  3877. if(!strlen(tmp)) {
  3878. SendClientMessage(playerid,0xFF0000FF,">Write /animvortex [1-4]");
  3879. return 1;
  3880. }
  3881. animationplayed = strval(tmp);
  3882. if(animationplayed < 1 || animationplayed > 4) {
  3883. SendClientMessage(playerid,0xFF0000FF,">Write /animvortex [1-4]");
  3884. return 1;
  3885. }
  3886. if(animationplayed == 1) {
  3887. ApplyAnimation(playerid,"VORTEX","CAR_jumpin_LHS",4.1,0,1,1,1,1);
  3888. } else if(animationplayed == 2) {
  3889. ApplyAnimation(playerid,"VORTEX","CAR_jumpin_RHS",4.1,0,1,1,1,1);
  3890. } else if(animationplayed == 3) {
  3891. ApplyAnimation(playerid,"VORTEX","vortex_getout_LHS",4.1,0,1,1,1,1);
  3892. } else if(animationplayed == 4) {
  3893. ApplyAnimation(playerid,"VORTEX","vortex_getout_RHS",4.1,0,1,1,1,1);
  3894. }
  3895. return 1;
  3896. }
  3897. if(strcmp(cmd, "/animtec", true) == 0) {
  3898. tmp = strtok(cmdtext, idx);
  3899. if(!strlen(tmp)) {
  3900. SendClientMessage(playerid,0xFF0000FF,">Write /animtec [1-4]");
  3901. return 1;
  3902. }
  3903. animationplayed = strval(tmp);
  3904. if(animationplayed < 1 || animationplayed > 4) {
  3905. SendClientMessage(playerid,0xFF0000FF,">Write /animtec [1-4]");
  3906. return 1;
  3907. }
  3908. if(animationplayed == 1) {
  3909. ApplyAnimation(playerid,"TEC","TEC_crouchfire",4.1,0,1,1,1,1);
  3910. } else if(animationplayed == 2) {
  3911. ApplyAnimation(playerid,"TEC","TEC_crouchreload",4.1,0,1,1,1,1);
  3912. } else if(animationplayed == 3) {
  3913. ApplyAnimation(playerid,"TEC","TEC_fire",4.1,0,1,1,1,1);
  3914. } else if(animationplayed == 4) {
  3915. ApplyAnimation(playerid,"TEC","TEC_reload",4.1,0,1,1,1,1);
  3916. }
  3917. return 1;
  3918. }
  3919. if(strcmp(cmd, "/animtrain", true) == 0) {
  3920. tmp = strtok(cmdtext, idx);
  3921. if(!strlen(tmp)) {
  3922. SendClientMessage(playerid,0xFF0000FF,">Write /animtrain [1-4]");
  3923. return 1;
  3924. }
  3925. animationplayed = strval(tmp);
  3926. if(animationplayed < 1 || animationplayed > 4) {
  3927. SendClientMessage(playerid,0xFF0000FF,">Write /animtrain [1-4]");
  3928. return 1;
  3929. }
  3930. if(animationplayed == 1) {
  3931. ApplyAnimation(playerid,"TRAIN","tran_gtup",4.1,0,1,1,1,1);
  3932. } else if(animationplayed == 2) {
  3933. ApplyAnimation(playerid,"TRAIN","tran_hng",4.1,0,1,1,1,1);
  3934. } else if(animationplayed == 3) {
  3935. ApplyAnimation(playerid,"TRAIN","tran_ouch",4.1,0,1,1,1,1);
  3936. } else if(animationplayed == 4) {
  3937. ApplyAnimation(playerid,"TRAIN","tran_stmb",4.1,0,1,1,1,1);
  3938. }
  3939. return 1;
  3940. }
  3941. if(strcmp(cmd, "/animsil", true) == 0) {
  3942. tmp = strtok(cmdtext, idx);
  3943. if(!strlen(tmp)) {
  3944. SendClientMessage(playerid,0xFF0000FF,">Write /animsil [1-4]");
  3945. return 1;
  3946. }
  3947. animationplayed = strval(tmp);
  3948. if(animationplayed < 1 || animationplayed > 4) {
  3949. SendClientMessage(playerid,0xFF0000FF,">Write /animsil [1-4]");
  3950. return 1;
  3951. }
  3952. if(animationplayed == 1) {
  3953. ApplyAnimation(playerid,"SILENCED","CrouchReload",4.1,0,1,1,1,1);
  3954. } else if(animationplayed == 2) {
  3955. ApplyAnimation(playerid,"SILENCED","SilenceCrouchfire",4.1,0,1,1,1,1);
  3956. } else if(animationplayed == 3) {
  3957. ApplyAnimation(playerid,"SILENCED","Silence_fire",4.1,0,1,1,1,1);
  3958. } else if(animationplayed == 4) {
  3959. ApplyAnimation(playerid,"SILENCED","Silence_reload",4.1,0,1,1,1,1);
  3960. }
  3961. return 1;
  3962. }
  3963. if(strcmp(cmd, "/animtattoo", true) == 0) {
  3964. tmp = strtok(cmdtext, idx);
  3965. if(!strlen(tmp)) {
  3966. SendClientMessage(playerid,0xFF0000FF,">Write /animtattoo [1-56]");
  3967. return 1;
  3968. }
  3969. animationplayed = strval(tmp);
  3970. if(animationplayed < 1 || animationplayed > 56) {
  3971. SendClientMessage(playerid,0xFF0000FF,">Write /animtattoo [1-56]");
  3972. return 1;
  3973. }
  3974. if(animationplayed == 1) {
  3975. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_In_O",4.1,0,1,1,1,1);
  3976. }else if(animationplayed == 2) {
  3977. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_In_P",4.1,0,1,1,1,1);
  3978. }else if(animationplayed == 3) {
  3979. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_In_T",4.1,0,1,1,1,1);
  3980. }else if(animationplayed == 4) {
  3981. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_Out_O",4.1,0,1,1,1,1);
  3982. }else if(animationplayed == 5) {
  3983. ApplyAnimation(playerid,"TATTOOS","TA_ArmL_Out_P",4.1,0,1,1,1,1);
  3984. }else if(animationplayed == 6) {
  3985. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_Out_T",4.1,0,1,1,1,1);
  3986. }else if(animationplayed == 7) {
  3987. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_Pose_O",4.1,0,1,1,1,1);
  3988. }else if(animationplayed == 8) {
  3989. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_Pose_P",4.1,0,1,1,1,1);
  3990. }else if(animationplayed == 9) {
  3991. ApplyAnimation(playerid,"TATTOOS","TAT_ArmL_Pose_T",4.1,0,1,1,1,1);
  3992. }else if(animationplayed == 10) {
  3993. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_In_O",4.1,0,1,1,1,1);
  3994. }else if(animationplayed == 11) {
  3995. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_In_P",4.1,0,1,1,1,1);
  3996. }else if(animationplayed == 12) {
  3997. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_In_T",4.1,0,1,1,1,1);
  3998. }else if(animationplayed == 13) {
  3999. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_Out_O",4.1,0,1,1,1,1);
  4000. }else if(animationplayed == 14) {
  4001. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_Out_P",4.1,0,1,1,1,1);
  4002. }else if(animationplayed == 15) {
  4003. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_Out_T",4.1,0,1,1,1,1);
  4004. }else if(animationplayed == 16) {
  4005. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_Pose_O",4.1,0,1,1,1,1);
  4006. }else if(animationplayed == 17) {
  4007. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_Pose_P",4.1,0,1,1,1,1);
  4008. }else if(animationplayed == 18) {
  4009. ApplyAnimation(playerid,"TATTOOS","TAT_ArmR_Pose_T",4.1,0,1,1,1,1);
  4010. }else if(animationplayed == 19) {
  4011. ApplyAnimation(playerid,"TATTOOS","TAT_Back_In_O",4.1,0,1,1,1,1);
  4012. }else if(animationplayed == 20) {
  4013. ApplyAnimation(playerid,"TATTOOS","TAT_Back_In_P",4.1,0,1,1,1,1);
  4014. }else if(animationplayed == 21) {
  4015. ApplyAnimation(playerid,"TATTOOS","TAT_Back_In_T",4.1,0,1,1,1,1);
  4016. }else if(animationplayed == 22) {
  4017. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Out_O",4.1,0,1,1,1,1);
  4018. }else if(animationplayed == 23) {
  4019. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Out_P",4.1,0,1,1,1,1);
  4020. }else if(animationplayed == 24) {
  4021. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Out_T",4.1,0,1,1,1,1);
  4022. }else if(animationplayed == 25) {
  4023. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Pose_O",4.1,0,1,1,1,1);
  4024. }else if(animationplayed == 26) {
  4025. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Pose_P",4.1,0,1,1,1,1);
  4026. }else if(animationplayed == 27) {
  4027. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Pose_T",4.1,0,1,1,1,1);
  4028. }else if(animationplayed == 28) {
  4029. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Sit_In_P",4.1,0,1,1,1,1);
  4030. }else if(animationplayed == 29) {
  4031. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Sit_Loop_P",4.1,0,1,1,1,1);
  4032. }else if(animationplayed == 30) {
  4033. ApplyAnimation(playerid,"TATTOOS","TAT_Back_Sit_Out_P",4.1,0,1,1,1,1);
  4034. }else if(animationplayed == 31) {
  4035. ApplyAnimation(playerid,"TATTOOS","TAT_Bel_In_O",4.1,0,1,1,1,1);
  4036. }else if(animationplayed == 32) {
  4037. ApplyAnimation(playerid,"TATTOOS","TAT_Bel_In_T",4.1,0,1,1,1,1);
  4038. }else if(animationplayed == 33) {
  4039. ApplyAnimation(playerid,"TATTOOS","TAT_Bel_Out_O",4.1,0,1,1,1,1);
  4040. }else if(animationplayed == 34) {
  4041. ApplyAnimation(playerid,"TATTOOS","TAT_Bel_Out_T",4.1,0,1,1,1,1);
  4042. }else if(animationplayed == 35) {
  4043. ApplyAnimation(playerid,"TATTOOS","TAT_Bel_Pose_O",4.1,0,1,1,1,1);
  4044. }else if(animationplayed == 36) {
  4045. ApplyAnimation(playerid,"TATTOOS","TAT_Bel_Pose_T",4.1,0,1,1,1,1);
  4046. }else if(animationplayed == 37) {
  4047. ApplyAnimation(playerid,"TATTOOS","TAT_Che_In_O",4.1,0,1,1,1,1);
  4048. }else if(animationplayed == 38) {
  4049. ApplyAnimation(playerid,"TATTOOS","Sit_relaxed",4.1,0,1,1,1,1);
  4050. }else if(animationplayed == 39) {
  4051. ApplyAnimation(playerid,"TATTOOS","TAT_Che_In_P",4.1,0,1,1,1,1);
  4052. }else if(animationplayed == 40) {
  4053. ApplyAnimation(playerid,"TATTOOS","TAT_Che_In_T",4.1,0,1,1,1,1);
  4054. }else if(animationplayed == 41) {
  4055. ApplyAnimation(playerid,"TATTOOS","TAT_Che_Out_O",4.1,0,1,1,1,1);
  4056. }else if(animationplayed == 41) {
  4057. ApplyAnimation(playerid,"TATTOOS","TAT_Che_Out_P",4.1,0,1,1,1,1);
  4058. }else if(animationplayed == 42) {
  4059. ApplyAnimation(playerid,"TATTOOS","TAT_Che_Out_T",4.1,0,1,1,1,1);
  4060. }else if(animationplayed == 43) {
  4061. ApplyAnimation(playerid,"TATTOOS","TAT_Che_Pose_O",4.1,0,1,1,1,1);
  4062. }else if(animationplayed == 44) {
  4063. ApplyAnimation(playerid,"TATTOOS","TAT_Che_Pose_P",4.1,0,1,1,1,1);
  4064. }else if(animationplayed == 45) {
  4065. ApplyAnimation(playerid,"TATTOOS","TAT_Che_Pose_T",4.1,0,1,1,1,1);
  4066. }else if(animationplayed == 46) {
  4067. ApplyAnimation(playerid,"TATTOOS","TAT_Idle_Loop_O",4.1,0,1,1,1,1);
  4068. }else if(animationplayed == 47) {
  4069. ApplyAnimation(playerid,"TATTOOS","TAT_Idle_Loop_T",4.1,0,1,1,1,1);
  4070. }else if(animationplayed == 48) {
  4071. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_In_O",4.1,0,1,1,1,1);
  4072. }else if(animationplayed == 49) {
  4073. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_In_P",4.1,0,1,1,1,1);
  4074. }else if(animationplayed == 50) {
  4075. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_In_T",4.1,0,1,1,1,1);
  4076. }else if(animationplayed == 51) {
  4077. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Loop_O",4.1,0,1,1,1,1);
  4078. }else if(animationplayed == 52) {
  4079. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Loop_P",4.1,0,1,1,1,1);
  4080. }else if(animationplayed == 53) {
  4081. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Loop_T",4.1,0,1,1,1,1);
  4082. }else if(animationplayed == 54) {
  4083. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Out_O",4.1,0,1,1,1,1);
  4084. }else if(animationplayed == 55) {
  4085. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Out_P",4.1,0,1,1,1,1);
  4086. }else if(animationplayed == 56) {
  4087. ApplyAnimation(playerid,"TATTOOS","TAT_Sit_Out_T",4.1,0,1,1,1,1);
  4088. }
  4089. return 1;
  4090. }
  4091. if(strcmp(cmd, "/animsmoking", true) == 0) {
  4092. tmp = strtok(cmdtext, idx);
  4093. if(!strlen(tmp)) {
  4094. SendClientMessage(playerid,0xFF0000FF,">Write /animsmoking [1-8]");
  4095. return 1;
  4096. }
  4097. animationplayed = strval(tmp);
  4098. if(animationplayed < 1 || animationplayed > 8) {
  4099. SendClientMessage(playerid,0xFF0000FF,">Write /animsmoking [1-8]");
  4100. return 1;
  4101. }
  4102. if(animationplayed == 1) {
  4103. ApplyAnimation(playerid,"SMOKING","F_smklean_loop",4.1,0,1,1,1,1);
  4104. }else if(animationplayed == 2) {
  4105. ApplyAnimation(playerid,"SMOKING","M_smklean_loop",4.1,0,1,1,1,1);
  4106. }else if(animationplayed == 3) {
  4107. ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop",4.1,0,1,1,1,1);
  4108. }else if(animationplayed == 4) {
  4109. ApplyAnimation(playerid,"SMOKING","M_smk_drag",4.1,0,1,1,1,1);
  4110. }else if(animationplayed == 5) {
  4111. ApplyAnimation(playerid,"SMOKING","M_smk_in",4.1,0,1,1,1,1);
  4112. }else if(animationplayed == 6) {
  4113. ApplyAnimation(playerid,"SMOKING","M_smk_loop",4.1,0,1,1,1,1);
  4114. }else if(animationplayed == 7) {
  4115. ApplyAnimation(playerid,"SMOKING","M_smk_out",4.1,0,1,1,1,1);
  4116. }else if(animationplayed == 8) {
  4117. ApplyAnimation(playerid,"SMOKING","M_smk_tap",4.1,0,1,1,1,1);
  4118. }
  4119. return 1;
  4120. }
  4121. if(strcmp(cmd, "/animsniper", true) == 0) {
  4122. tmp = strtok(cmdtext, idx);
  4123. if(!strlen(tmp)) {
  4124. SendClientMessage(playerid,0xFF0000FF,">Write /animsniper [1-1]");
  4125. return 1;
  4126. }
  4127. animationplayed = strval(tmp);
  4128. if(animationplayed < 1 || animationplayed > 1) {
  4129. SendClientMessage(playerid,0xFF0000FF,">Write /animsniper [1-1]");
  4130. return 1;
  4131. }
  4132. if(animationplayed == 1) {
  4133. ApplyAnimation(playerid,"SNIPER","WEAPON_sniper",4.1,0,1,1,1,1);
  4134. }
  4135. return 1;
  4136. }
  4137. if(strcmp(cmd, "/animspray", true) == 0) {
  4138. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  4139. tmp = strtok(cmdtext, idx);
  4140. if(!strlen(tmp)) {
  4141. SendClientMessage(playerid,0xFF0000FF,">Write /animspray [1-2]");
  4142. return 1;
  4143. }
  4144. animationplayed = strval(tmp);
  4145. if(animationplayed < 1 || animationplayed > 2) {
  4146. SendClientMessage(playerid,0xFF0000FF,">Write /animspray [1-2]");
  4147. return 1;
  4148. }
  4149. if(animationplayed == 1) {
  4150. ApplyAnimation(playerid,"SPRAYCAN","spraycan_fire",4.1,0,1,1,1,1);
  4151. } else if(animationplayed == 2) {
  4152. ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.1,0,1,1,1,1);
  4153. }
  4154. return 1;
  4155. }
  4156. }
  4157. if(strcmp(cmd, "/animstrip", true) == 0) {
  4158. tmp = strtok(cmdtext, idx);
  4159. if(!strlen(tmp)) {
  4160. SendClientMessage(playerid,0xFF0000FF,">Write /animstrip [1-20]");
  4161. return 1;
  4162. }
  4163. animationplayed = strval(tmp);
  4164. if(animationplayed < 1 || animationplayed > 20) {
  4165. SendClientMessage(playerid,0xFF0000FF,">Write /animstrip [1-20]");
  4166. return 1;
  4167. }
  4168. if(animationplayed == 1) {
  4169. ApplyAnimation(playerid,"STRIP","PLY_CASH",4.1,0,1,1,1,1);
  4170. }else if(animationplayed == 2) {
  4171. ApplyAnimation(playerid,"STRIP","PUN_CASH",4.1,0,1,1,1,1);
  4172. }else if(animationplayed == 3) {
  4173. ApplyAnimation(playerid,"STRIP","PUN_HOLLER",4.1,0,1,1,1,1);
  4174. }else if(animationplayed == 4) {
  4175. ApplyAnimation(playerid,"STRIP","PUN_LOOP",4.1,0,1,1,1,1);
  4176. }else if(animationplayed == 5) {
  4177. ApplyAnimation(playerid,"STRIP","strip_A",4.1,0,1,1,1,1);
  4178. }else if(animationplayed == 6) {
  4179. ApplyAnimation(playerid,"STRIP","strip_B",4.1,0,1,1,1,1);
  4180. }else if(animationplayed == 7) {
  4181. ApplyAnimation(playerid,"STRIP","strip_C",4.1,0,1,1,1,1);
  4182. }else if(animationplayed == 8) {
  4183. ApplyAnimation(playerid,"STRIP","strip_D",4.1,0,1,1,1,1);
  4184. }else if(animationplayed == 9) {
  4185. ApplyAnimation(playerid,"STRIP","strip_E",4.1,0,1,1,1,1);
  4186. }else if(animationplayed == 10) {
  4187. ApplyAnimation(playerid,"STRIP","strip_F",4.1,0,1,1,1,1);
  4188. }else if(animationplayed == 11) {
  4189. ApplyAnimation(playerid,"STRIP","strip_G",4.1,0,1,1,1,1);
  4190. }else if(animationplayed == 12) {
  4191. ApplyAnimation(playerid,"STRIP","STR_A2B",4.1,0,1,1,1,1);
  4192. }else if(animationplayed == 13) {
  4193. ApplyAnimation(playerid,"STRIP","STR_B2A",4.1,0,1,1,1,1);
  4194. }else if(animationplayed == 14) {
  4195. ApplyAnimation(playerid,"STRIP","STR_B2C",4.1,0,1,1,1,1);
  4196. }else if(animationplayed == 15) {
  4197. ApplyAnimation(playerid,"STRIP","STR_C1",4.1,0,1,1,1,1);
  4198. }else if(animationplayed == 16) {
  4199. ApplyAnimation(playerid,"STRIP","STR_C2",4.1,0,1,1,1,1);
  4200. }else if(animationplayed == 17) {
  4201. ApplyAnimation(playerid,"STRIP","STR_C2B",4.1,0,1,1,1,1);
  4202. }else if(animationplayed == 18) {
  4203. ApplyAnimation(playerid,"STRIP","STR_Loop_A",4.1,0,1,1,1,1);
  4204. }else if(animationplayed == 19) {
  4205. ApplyAnimation(playerid,"STRIP","STR_Loop_B",4.1,0,1,1,1,1);
  4206. }else if(animationplayed == 20) {
  4207. ApplyAnimation(playerid,"STRIP","STR_Loop_C",4.1,0,1,1,1,1);
  4208. }
  4209. return 1;
  4210. }
  4211. if(strcmp(cmd, "/animbath", true) == 0) {
  4212. tmp = strtok(cmdtext, idx);
  4213. if(!strlen(tmp)) {
  4214. SendClientMessage(playerid,0xFF0000FF,">Write /animbath [1-17]");
  4215. return 1;
  4216. }
  4217. animationplayed = strval(tmp);
  4218. if(animationplayed < 1 || animationplayed > 18) {
  4219. SendClientMessage(playerid,0xFF0000FF,">Write /animbath [1-17]");
  4220. return 1;
  4221. }
  4222. if(animationplayed == 1) {
  4223. ApplyAnimation(playerid,"SUNBATHE","batherdown",4.1,0,1,1,1,1);
  4224. }else if(animationplayed == 1) {
  4225. ApplyAnimation(playerid,"SUNBATHE","batherup",4.1,0,1,1,1,1);
  4226. }else if(animationplayed == 2) {
  4227. ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_in",4.1,0,1,1,1,1);
  4228. }else if(animationplayed == 3) {
  4229. ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_out",4.1,0,1,1,1,1);
  4230. }else if(animationplayed == 4) {
  4231. ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleA",4.1,0,1,1,1,1);
  4232. }else if(animationplayed == 5) {
  4233. ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleB",4.1,0,1,1,1,1);
  4234. }else if(animationplayed == 6) {
  4235. ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_IdleC",4.1,0,1,1,1,1);
  4236. }else if(animationplayed == 7) {
  4237. ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_in",4.1,0,1,1,1,1);
  4238. }else if(animationplayed == 8) {
  4239. ApplyAnimation(playerid,"SUNBATHE","ParkSit_M_out",4.1,0,1,1,1,1);
  4240. }else if(animationplayed == 9) {
  4241. ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleA",4.1,0,1,1,1,1);
  4242. }else if(animationplayed == 10) {
  4243. ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleB",4.1,0,1,1,1,1);
  4244. }else if(animationplayed == 11) {
  4245. ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_idleC",4.1,0,1,1,1,1);
  4246. }else if(animationplayed == 12) {
  4247. ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_in",4.1,0,1,1,1,1);
  4248. }else if(animationplayed == 13) {
  4249. ApplyAnimation(playerid,"SUNBATHE","ParkSit_W_out",4.1,0,1,1,1,1);
  4250. }else if(animationplayed == 14) {
  4251. ApplyAnimation(playerid,"SUNBATHE","SBATHE_F_LieB2Sit",4.1,0,1,1,1,1);
  4252. }else if(animationplayed == 15) {
  4253. ApplyAnimation(playerid,"SUNBATHE","SBATHE_F_Out",4.1,0,1,1,1,1);
  4254. }else if(animationplayed == 16) {
  4255. ApplyAnimation(playerid,"SUNBATHE","SitnWait_in_W",4.1,0,1,1,1,1);
  4256. }else if(animationplayed == 17) {
  4257. ApplyAnimation(playerid,"SUNBATHE","SitnWait_out_W",4.1,0,1,1,1,1);
  4258. }
  4259. return 1;
  4260. }
  4261. if(strcmp(cmd, "/animswat", true) == 0) {
  4262. tmp = strtok(cmdtext, idx);
  4263. if(!strlen(tmp)) {
  4264. SendClientMessage(playerid,0xFF0000FF,">Write /animswat [1-24]");
  4265. return 1;
  4266. }
  4267. animationplayed = strval(tmp);
  4268. if(animationplayed < 1 || animationplayed > 24) {
  4269. SendClientMessage(playerid,0xFF0000FF,">Write /animswat [1-24]");
  4270. return 1;
  4271. }
  4272. if(animationplayed == 1) {
  4273. ApplyAnimation(playerid,"SWAT","gnstwall_injurd",4.1,0,1,1,1,1);
  4274. }else if(animationplayed == 2) {
  4275. ApplyAnimation(playerid,"SWAT","JMP_Wall1m_180",4.1,0,1,1,1,1);
  4276. }else if(animationplayed == 3) {
  4277. ApplyAnimation(playerid,"SWAT","Rail_fall",4.1,0,1,1,1,1);
  4278. }else if(animationplayed == 4) {
  4279. ApplyAnimation(playerid,"SWAT","Rail_fall_crawl",4.1,0,1,1,1,1);
  4280. }else if(animationplayed == 5) {
  4281. ApplyAnimation(playerid,"SWAT","swt_breach_01",4.1,0,1,1,1,1);
  4282. }else if(animationplayed == 6) {
  4283. ApplyAnimation(playerid,"SWAT","cards_pick_02",4.1,0,1,1,1,1);
  4284. }else if(animationplayed == 7) {
  4285. ApplyAnimation(playerid,"SWAT","swt_breach_02",4.1,0,1,1,1,1);
  4286. }else if(animationplayed == 8) {
  4287. ApplyAnimation(playerid,"SWAT","swt_breach_03",4.1,0,1,1,1,1);
  4288. }else if(animationplayed == 9) {
  4289. ApplyAnimation(playerid,"SWAT","swt_go",4.1,0,1,1,1,1);
  4290. }else if(animationplayed == 10) {
  4291. ApplyAnimation(playerid,"SWAT","swt_lkt",4.1,0,1,1,1,1);
  4292. }else if(animationplayed == 11) {
  4293. ApplyAnimation(playerid,"SWAT","swt_sty",4.1,0,1,1,1,1);
  4294. }else if(animationplayed == 12) {
  4295. ApplyAnimation(playerid,"SWAT","swt_vent_01",4.1,0,1,1,1,1);
  4296. }else if(animationplayed == 13) {
  4297. ApplyAnimation(playerid,"SWAT","swt_vent_02",4.1,0,1,1,1,1);
  4298. }else if(animationplayed == 14) {
  4299. ApplyAnimation(playerid,"SWAT","swt_vnt_sht_die",4.1,0,1,1,1,1);
  4300. }else if(animationplayed == 15) {
  4301. ApplyAnimation(playerid,"SWAT","swt_vnt_sht_in",4.1,0,1,1,1,1);
  4302. }else if(animationplayed == 16) {
  4303. ApplyAnimation(playerid,"SWAT","swt_vnt_sht_loop",4.1,0,1,1,1,1);
  4304. }else if(animationplayed == 17) {
  4305. ApplyAnimation(playerid,"SWAT","swt_wllpk_L",4.1,0,1,1,1,1);
  4306. }else if(animationplayed == 18) {
  4307. ApplyAnimation(playerid,"SWAT","swt_wllpk_L_back",4.1,0,1,1,1,1);
  4308. }else if(animationplayed == 19) {
  4309. ApplyAnimation(playerid,"SWAT","swt_wllpk_R",4.1,0,1,1,1,1);
  4310. }else if(animationplayed == 20) {
  4311. ApplyAnimation(playerid,"SWAT","swt_wllpk_R_back",4.1,0,1,1,1,1);
  4312. }else if(animationplayed == 21) {
  4313. ApplyAnimation(playerid,"SWAT","swt_wllshoot_in_L",4.1,0,1,1,1,1);
  4314. }else if(animationplayed == 22) {
  4315. ApplyAnimation(playerid,"SWAT","swt_wllshoot_in_R",4.1,0,1,1,1,1);
  4316. }else if(animationplayed == 23) {
  4317. ApplyAnimation(playerid,"SWAT","swt_wllshoot_out_L",4.1,0,1,1,1,1);
  4318. }else if(animationplayed == 24) {
  4319. ApplyAnimation(playerid,"SWAT","swt_wllshoot_out_R",4.1,0,1,1,1,1);
  4320. }
  4321. return 1;
  4322. }
  4323. if(strcmp(cmd, "/animsweet", true) == 0) {
  4324. tmp = strtok(cmdtext, idx);
  4325. if(!strlen(tmp)) {
  4326. SendClientMessage(playerid,0xFF0000FF,">Write /animsweet [1-7]");
  4327. return 1;
  4328. }
  4329. animationplayed = strval(tmp);
  4330. if(animationplayed < 1 || animationplayed > 7) {
  4331. SendClientMessage(playerid,0xFF0000FF,">Write /animsweet [1-7]");
  4332. return 1;
  4333. }
  4334. if(animationplayed == 1) {
  4335. ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.1,0,1,1,1,1);
  4336. }else if(animationplayed == 2) {
  4337. ApplyAnimation(playerid,"SWEET","LaFin_Player",4.1,0,1,1,1,1);
  4338. }else if(animationplayed == 3) {
  4339. ApplyAnimation(playerid,"SWEET","LaFin_Sweet",4.1,0,1,1,1,1);
  4340. }else if(animationplayed == 4) {
  4341. ApplyAnimation(playerid,"SWEET","plyr_hndshldr_01",4.1,0,1,1,1,1);
  4342. }else if(animationplayed == 5) {
  4343. ApplyAnimation(playerid,"SWEET","sweet_ass_slap",4.1,0,1,1,1,1);
  4344. }else if(animationplayed == 6) {
  4345. ApplyAnimation(playerid,"SWEET","sweet_hndshldr_01",4.1,0,1,1,1,1);
  4346. }else if(animationplayed == 7) {
  4347. ApplyAnimation(playerid,"SWEET","Sweet_injuredloop",4.1,0,1,1,1,1);
  4348. }
  4349. return 1;
  4350. }
  4351. if(strcmp(cmd, "/animswim", true) == 0) {
  4352. tmp = strtok(cmdtext, idx);
  4353. if(!strlen(tmp)) {
  4354. SendClientMessage(playerid,0xFF0000FF,">Write /animswim [1-7]");
  4355. return 1;
  4356. }
  4357. animationplayed = strval(tmp);
  4358. if(animationplayed < 1 || animationplayed > 7) {
  4359. SendClientMessage(playerid,0xFF0000FF,">Write /animswim [1-7]");
  4360. return 1;
  4361. }
  4362. if(animationplayed == 1) {
  4363. ApplyAnimation(playerid,"SWIM","Swim_Breast",4.1,0,1,1,1,1);
  4364. }else if(animationplayed == 2) {
  4365. ApplyAnimation(playerid,"SWIM","SWIM_crawl",4.1,0,1,1,1,1);
  4366. }else if(animationplayed == 3) {
  4367. ApplyAnimation(playerid,"SWIM","Swim_Dive_Under",4.1,0,1,1,1,1);
  4368. }else if(animationplayed == 4) {
  4369. ApplyAnimation(playerid,"SWIM","Swim_Glide",4.1,0,1,1,1,1);
  4370. }else if(animationplayed == 5) {
  4371. ApplyAnimation(playerid,"SWIM","Swim_jumpout",4.1,0,1,1,1,1);
  4372. }else if(animationplayed == 6) {
  4373. ApplyAnimation(playerid,"SWIM","Swim_Tread",4.1,0,1,1,1,1);
  4374. }else if(animationplayed == 7) {
  4375. ApplyAnimation(playerid,"SWIM","Swim_Under",4.1,0,1,1,1,1);
  4376. }
  4377. return 1;
  4378. }
  4379. if(strcmp(cmd, "/animsword", true) == 0) {
  4380. tmp = strtok(cmdtext, idx);
  4381. if(!strlen(tmp)) {
  4382. SendClientMessage(playerid,0xFF0000FF,">Write /animsword [1-10]");
  4383. return 1;
  4384. }
  4385. animationplayed = strval(tmp);
  4386. if(animationplayed < 1 || animationplayed > 10) {
  4387. SendClientMessage(playerid,0xFF0000FF,">Write /animsword [1-10]");
  4388. return 1;
  4389. }
  4390. if(animationplayed == 1) {
  4391. ApplyAnimation(playerid,"SWORD","sword_1",4.1,0,1,1,1,1);
  4392. }else if(animationplayed == 2) {
  4393. ApplyAnimation(playerid,"SWORD","sword_2",4.1,0,1,1,1,1);
  4394. }else if(animationplayed == 3) {
  4395. ApplyAnimation(playerid,"SWORD","sword_3",4.1,0,1,1,1,1);
  4396. }else if(animationplayed == 4) {
  4397. ApplyAnimation(playerid,"SWORD","sword_4",4.1,0,1,1,1,1);
  4398. }else if(animationplayed == 5) {
  4399. ApplyAnimation(playerid,"SWORD","sword_block",4.1,0,1,1,1,1);
  4400. }else if(animationplayed == 6) {
  4401. ApplyAnimation(playerid,"SWORD","Sword_Hit_1",4.1,0,1,1,1,1);
  4402. }else if(animationplayed == 7) {
  4403. ApplyAnimation(playerid,"SWORD","Sword_Hit_2",4.1,0,1,1,1,1);
  4404. }else if(animationplayed == 8) {
  4405. ApplyAnimation(playerid,"SWORD","Sword_Hit_3",4.1,0,1,1,1,1);
  4406. }else if(animationplayed == 9) {
  4407. ApplyAnimation(playerid,"SWORD","sword_IDLE",4.1,0,1,1,1,1);
  4408. }else if(animationplayed == 10) {
  4409. ApplyAnimation(playerid,"SWORD","sword_part",4.1,0,1,1,1,1);
  4410. }
  4411. return 1;
  4412. }
  4413. if(strcmp(cmd, "/animtank", true) == 0) {
  4414. tmp = strtok(cmdtext, idx);
  4415. if(!strlen(tmp)) {
  4416. SendClientMessage(playerid,0xFF0000FF,">Write /animtank [1-6]");
  4417. return 1;
  4418. }
  4419. animationplayed = strval(tmp);
  4420. if(animationplayed < 1 || animationplayed > 6) {
  4421. SendClientMessage(playerid,0xFF0000FF,">Write /animtank [1-6]");
  4422. return 1;
  4423. }
  4424. if(animationplayed == 1) {
  4425. ApplyAnimation(playerid,"TANK","TANK_align_LHS",4.1,0,1,1,1,1);
  4426. }else if(animationplayed == 2) {
  4427. ApplyAnimation(playerid,"TANK","TANK_close_LHS",4.1,0,1,1,1,1);
  4428. }else if(animationplayed == 3) {
  4429. ApplyAnimation(playerid,"TANK","TANK_doorlocked",4.1,0,1,1,1,1);
  4430. }else if(animationplayed == 4) {
  4431. ApplyAnimation(playerid,"TANK","TANK_getin_LHS",4.1,0,1,1,1,1);
  4432. }else if(animationplayed == 5) {
  4433. ApplyAnimation(playerid,"TANK","TANK_getout_LHS",4.1,0,1,1,1,1);
  4434. }else if(animationplayed == 6) {
  4435. ApplyAnimation(playerid,"TANK","TANK_open_LHS",4.1,0,1,1,1,1);
  4436. }
  4437. return 1;
  4438. }
  4439. if(strcmp(cmd, "/animtruck", true) == 0) {
  4440. tmp = strtok(cmdtext, idx);
  4441. if(!strlen(tmp)) {
  4442. SendClientMessage(playerid,0xFF0000FF,">Write /animtruck [1-17]");
  4443. return 1;
  4444. }
  4445. animationplayed = strval(tmp);
  4446. if(animationplayed < 1 || animationplayed > 17) {
  4447. SendClientMessage(playerid,0xFF0000FF,">Write /animtruck [1-17]");
  4448. return 1;
  4449. }
  4450. if(animationplayed == 1) {
  4451. ApplyAnimation(playerid,"TRUCK","TRUCK_ALIGN_LHS",4.1,0,1,1,1,1);
  4452. }else if(animationplayed == 2) {
  4453. ApplyAnimation(playerid,"TRUCK","TRUCK_ALIGN_RHS",4.1,0,1,1,1,1);
  4454. }else if(animationplayed == 3) {
  4455. ApplyAnimation(playerid,"TRUCK","TRUCK_closedoor_LHS",4.1,0,1,1,1,1);
  4456. }else if(animationplayed == 4) {
  4457. ApplyAnimation(playerid,"TRUCK","TRUCK_closedoor_RHS",4.1,0,1,1,1,1);
  4458. }else if(animationplayed == 5) {
  4459. ApplyAnimation(playerid,"TRUCK","TRUCK_close_LHS",4.1,0,1,1,1,1);
  4460. }else if(animationplayed == 6) {
  4461. ApplyAnimation(playerid,"TRUCK","TRUCK_close_RHS",4.1,0,1,1,1,1);
  4462. }else if(animationplayed == 7) {
  4463. ApplyAnimation(playerid,"TRUCK","TRUCK_getin_LHS",4.1,0,1,1,1,1);
  4464. }else if(animationplayed == 8) {
  4465. ApplyAnimation(playerid,"TRUCK","TRUCK_getin_RHS",4.1,0,1,1,1,1);
  4466. }else if(animationplayed == 9) {
  4467. ApplyAnimation(playerid,"TRUCK","TRUCK_getout_LHS",4.1,0,1,1,1,1);
  4468. }else if(animationplayed == 10) {
  4469. ApplyAnimation(playerid,"TRUCK","TRUCK_getout_RHS",4.1,0,1,1,1,1);
  4470. }else if(animationplayed == 11) {
  4471. ApplyAnimation(playerid,"TRUCK","TRUCK_jackedLHS",4.1,0,1,1,1,1);
  4472. }else if(animationplayed == 12) {
  4473. ApplyAnimation(playerid,"TRUCK","TRUCK_jackedRHS",4.1,0,1,1,1,1);
  4474. }else if(animationplayed == 13) {
  4475. ApplyAnimation(playerid,"TRUCK","TRUCK_open_LHS",4.1,0,1,1,1,1);
  4476. }else if(animationplayed == 14) {
  4477. ApplyAnimation(playerid,"TRUCK","TRUCK_open_RHS",4.1,0,1,1,1,1);
  4478. }else if(animationplayed == 15) {
  4479. ApplyAnimation(playerid,"TRUCK","TRUCK_pullout_LHS",4.1,0,1,1,1,1);
  4480. }else if(animationplayed == 16) {
  4481. ApplyAnimation(playerid,"TRUCK","TRUCK_pullout_RHS",4.1,0,1,1,1,1);
  4482. }else if(animationplayed == 17) {
  4483. ApplyAnimation(playerid,"TRUCK","TRUCK_Shuffle",4.1,0,1,1,1,1);
  4484. }
  4485. return 1;
  4486. }
  4487. if(strcmp(cmd, "/animuzi", true) == 0) {
  4488. tmp = strtok(cmdtext, idx);
  4489. if(!strlen(tmp)) {
  4490. SendClientMessage(playerid,0xFF0000FF,">Write /animuzi [1-5]");
  4491. return 1;
  4492. }
  4493. animationplayed = strval(tmp);
  4494. if(animationplayed < 1 || animationplayed > 5) {
  4495. SendClientMessage(playerid,0xFF0000FF,">Write /animuzi [1-5]");
  4496. return 1;
  4497. }
  4498. if(animationplayed == 1) {
  4499. ApplyAnimation(playerid,"UZI","UZI_crouchfire",4.1,0,1,1,1,1);
  4500. } else if(animationplayed == 2) {
  4501. ApplyAnimation(playerid,"UZI","UZI_crouchreload",4.1,0,1,1,1,1);
  4502. } else if(animationplayed == 3) {
  4503. ApplyAnimation(playerid,"UZI","UZI_fire",4.1,0,1,1,1,1);
  4504. } else if(animationplayed == 4) {
  4505. ApplyAnimation(playerid,"UZI","UZI_fire_poor",4.1,0,1,1,1,1);
  4506. } else if(animationplayed == 5) {
  4507. ApplyAnimation(playerid,"UZI","UZI_reload",4.1,0,1,1,1,1);
  4508. }
  4509. return 1;
  4510. }
  4511. if(strcmp(cmd, "/animvan", true) == 0) {
  4512. tmp = strtok(cmdtext, idx);
  4513. if(!strlen(tmp)) {
  4514. SendClientMessage(playerid,0xFF0000FF,">Write /animvan [1-8]");
  4515. return 1;
  4516. }
  4517. animationplayed = strval(tmp);
  4518. if(animationplayed < 1 || animationplayed > 8) {
  4519. SendClientMessage(playerid,0xFF0000FF,">Write /animvan [1-8]");
  4520. return 1;
  4521. }
  4522. if(animationplayed == 1) {
  4523. ApplyAnimation(playerid,"VAN","VAN_close_back_LHS",4.1,0,1,1,1,1);
  4524. }else if(animationplayed == 2) {
  4525. ApplyAnimation(playerid,"VAN","VAN_close_back_RHS",4.1,0,1,1,1,1);
  4526. }else if(animationplayed == 3) {
  4527. ApplyAnimation(playerid,"VAN","VAN_getin_Back_LHS",4.1,0,1,1,1,1);
  4528. }else if(animationplayed == 4) {
  4529. ApplyAnimation(playerid,"VAN","VAN_getin_Back_RHS",4.1,0,1,1,1,1);
  4530. }else if(animationplayed == 5) {
  4531. ApplyAnimation(playerid,"VAN","VAN_getout_back_LHS",4.1,0,1,1,1,1);
  4532. }else if(animationplayed == 6) {
  4533. ApplyAnimation(playerid,"VAN","VAN_getout_back_RHS",4.1,0,1,1,1,1);
  4534. }else if(animationplayed == 7) {
  4535. ApplyAnimation(playerid,"VAN","VAN_open_back_LHS",4.1,0,1,1,1,1);
  4536. }else if(animationplayed == 8) {
  4537. ApplyAnimation(playerid,"VAN","VAN_open_back_RHS",4.1,0,1,1,1,1);
  4538. }
  4539. return 1;
  4540. }
  4541. if(strcmp(cmd, "/animvending", true) == 0) {
  4542. tmp = strtok(cmdtext, idx);
  4543. if(!strlen(tmp)) {
  4544. SendClientMessage(playerid,0xFF0000FF,">Write /animvending [1-6]");
  4545. return 1;
  4546. }
  4547. animationplayed = strval(tmp);
  4548. if(animationplayed < 1 || animationplayed > 6) {
  4549. SendClientMessage(playerid,0xFF0000FF,">Write /animvending [1-6]");
  4550. return 1;
  4551. }
  4552. if(animationplayed == 1) {
  4553. ApplyAnimation(playerid,"VENDING","VEND_Drink2_P",4.1,0,1,1,1,1);
  4554. }else if(animationplayed == 2) {
  4555. ApplyAnimation(playerid,"VENDING","VEND_Drink_P",4.1,0,1,1,1,1);
  4556. }else if(animationplayed == 3) {
  4557. ApplyAnimation(playerid,"VENDING","vend_eat1_P",4.1,0,1,1,1,1);
  4558. }else if(animationplayed == 4) {
  4559. ApplyAnimation(playerid,"VENDING","VEND_Eat_P",4.1,0,1,1,1,1);
  4560. }else if(animationplayed == 5) {
  4561. ApplyAnimation(playerid,"VENDING","VEND_Use",4.1,0,1,1,1,1);
  4562. }else if(animationplayed == 6) {
  4563. ApplyAnimation(playerid,"VENDING","VEND_Use_pt2",4.1,0,1,1,1,1);
  4564. }
  4565. return 1;
  4566. }
  4567. if(strcmp(cmd, "/animway", true) == 0) {
  4568. tmp = strtok(cmdtext, idx);
  4569. if(!strlen(tmp)) {
  4570. SendClientMessage(playerid,0xFF0000FF,">Write /animway [1-17]");
  4571. return 1;
  4572. }
  4573. animationplayed = strval(tmp);
  4574. if(animationplayed < 1 || animationplayed > 17) {
  4575. SendClientMessage(playerid,0xFF0000FF,">Write /animway [1-17]");
  4576. return 1;
  4577. }
  4578. if(animationplayed == 1) {
  4579. ApplyAnimation(playerid,"WAYFARER","WF_Back",4.1,0,1,1,1,1);
  4580. }else if(animationplayed == 1) {
  4581. ApplyAnimation(playerid,"WAYFARER","WF_drivebyFT",4.1,0,1,1,1,1);
  4582. }else if(animationplayed == 2) {
  4583. ApplyAnimation(playerid,"WAYFARER","WF_drivebyLHS",4.1,0,1,1,1,1);
  4584. }else if(animationplayed == 3) {
  4585. ApplyAnimation(playerid,"WAYFARER","WF_drivebyRHS",4.1,0,1,1,1,1);
  4586. }else if(animationplayed == 4) {
  4587. ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.1,0,1,1,1,1);
  4588. }else if(animationplayed == 5) {
  4589. ApplyAnimation(playerid,"WAYFARER","WF_getoffBACK",4.1,0,1,1,1,1);
  4590. }else if(animationplayed == 6) {
  4591. ApplyAnimation(playerid,"WAYFARER","WF_getoffLHS",4.1,0,1,1,1,1);
  4592. }else if(animationplayed == 7) {
  4593. ApplyAnimation(playerid,"WAYFARER","WF_getoffRHS",4.1,0,1,1,1,1);
  4594. }else if(animationplayed == 8) {
  4595. ApplyAnimation(playerid,"WAYFARER","WF_hit",4.1,0,1,1,1,1);
  4596. }else if(animationplayed == 9) {
  4597. ApplyAnimation(playerid,"WAYFARER","WF_jumponL",4.1,0,1,1,1,1);
  4598. }else if(animationplayed == 10) {
  4599. ApplyAnimation(playerid,"WAYFARER","WF_jumponR",4.1,0,1,1,1,1);
  4600. }else if(animationplayed == 11) {
  4601. ApplyAnimation(playerid,"WAYFARER","WF_kick",4.1,0,1,1,1,1);
  4602. }else if(animationplayed == 12) {
  4603. ApplyAnimation(playerid,"WAYFARER","WF_Left",4.1,0,1,1,1,1);
  4604. }else if(animationplayed == 13) {
  4605. ApplyAnimation(playerid,"WAYFARER","WF_passenger",4.1,0,1,1,1,1);
  4606. }else if(animationplayed == 14) {
  4607. ApplyAnimation(playerid,"WAYFARER","WF_pushes",4.1,0,1,1,1,1);
  4608. }else if(animationplayed == 15) {
  4609. ApplyAnimation(playerid,"WAYFARER","WF_Ride",4.1,0,1,1,1,1);
  4610. }else if(animationplayed == 16) {
  4611. ApplyAnimation(playerid,"WAYFARER","WF_Right",4.1,0,1,1,1,1);
  4612. }else if(animationplayed == 17) {
  4613. ApplyAnimation(playerid,"WAYFARER","WF_Still",4.1,0,1,1,1,1);
  4614. }
  4615. return 1;
  4616. }
  4617. if(strcmp(cmd, "/animweap", true) == 0) {
  4618. tmp = strtok(cmdtext, idx);
  4619. if(!strlen(tmp)) {
  4620. SendClientMessage(playerid,0xFF0000FF,">Write /animweap [1-17]");
  4621. return 1;
  4622. }
  4623. animationplayed = strval(tmp);
  4624. if(animationplayed < 1 || animationplayed > 17) {
  4625. SendClientMessage(playerid,0xFF0000FF,">Write /animweap [1-17]");
  4626. return 1;
  4627. }
  4628. if(animationplayed == 1) {
  4629. ApplyAnimation(playerid,"WEAPONS","SHP_1H_Lift",4.1,0,1,1,1,1);
  4630. }else if(animationplayed == 2) {
  4631. ApplyAnimation(playerid,"WEAPONS","SHP_1H_Lift_End",4.1,0,1,1,1,1);
  4632. }else if(animationplayed == 3) {
  4633. ApplyAnimation(playerid,"WEAPONS","SHP_1H_Ret",4.1,0,1,1,1,1);
  4634. }else if(animationplayed == 4) {
  4635. ApplyAnimation(playerid,"WEAPONS","SHP_1H_Ret_S",4.1,0,1,1,1,1);
  4636. }else if(animationplayed == 5) {
  4637. ApplyAnimation(playerid,"WEAPONS","SHP_2H_Lift",4.1,0,1,1,1,1);
  4638. }else if(animationplayed == 6) {
  4639. ApplyAnimation(playerid,"WEAPONS","SHP_2H_Lift_End",4.1,0,1,1,1,1);
  4640. }else if(animationplayed == 7) {
  4641. ApplyAnimation(playerid,"WEAPONS","SHP_2H_Ret",4.1,0,1,1,1,1);
  4642. }else if(animationplayed == 8) {
  4643. ApplyAnimation(playerid,"WEAPONS","SHP_2H_Ret_S",4.1,0,1,1,1,1);
  4644. }else if(animationplayed == 9) {
  4645. ApplyAnimation(playerid,"WEAPONS","SHP_Ar_Lift",4.1,0,1,1,1,1);
  4646. }else if(animationplayed == 10) {
  4647. ApplyAnimation(playerid,"WEAPONS","SHP_Ar_Lift_End",4.1,0,1,1,1,1);
  4648. }else if(animationplayed == 11) {
  4649. ApplyAnimation(playerid,"WEAPONS","SHP_Ar_Ret",4.1,0,1,1,1,1);
  4650. }else if(animationplayed == 12) {
  4651. ApplyAnimation(playerid,"WEAPONS","SHP_Ar_Ret_S",4.1,0,1,1,1,1);
  4652. }else if(animationplayed == 13) {
  4653. ApplyAnimation(playerid,"WEAPONS","SHP_G_Lift_In",4.1,0,1,1,1,1);
  4654. }else if(animationplayed == 14) {
  4655. ApplyAnimation(playerid,"WEAPONS","SHP_G_Lift_Out",4.1,0,1,1,1,1);
  4656. }else if(animationplayed == 15) {
  4657. ApplyAnimation(playerid,"WEAPONS","SHP_Tray_In",4.1,0,1,1,1,1);
  4658. }else if(animationplayed == 16) {
  4659. ApplyAnimation(playerid,"WEAPONS","SHP_Tray_Out",4.1,0,1,1,1,1);
  4660. }else if(animationplayed == 17) {
  4661. ApplyAnimation(playerid,"WEAPONS","SHP_Tray_Pose",4.1,0,1,1,1,1);
  4662. }
  4663. return 1;
  4664. }
  4665. if(strcmp(cmd, "/animwuzi", true) == 0) {
  4666. tmp = strtok(cmdtext, idx);
  4667. if(!strlen(tmp)) {
  4668. SendClientMessage(playerid,0xFF0000FF,">Write /animwuzi [1-12]");
  4669. return 1;
  4670. }
  4671. animationplayed = strval(tmp);
  4672. if(animationplayed < 1 || animationplayed > 12) {
  4673. SendClientMessage(playerid,0xFF0000FF,">Write /animwuzi [1-12]");
  4674. return 1;
  4675. }
  4676. if(animationplayed == 1) {
  4677. ApplyAnimation(playerid,"WUZI","CS_Dead_Guy",4.1,0,1,1,1,1);
  4678. } else if(animationplayed == 2) {
  4679. ApplyAnimation(playerid,"WUZI","CS_Plyr_pt1",4.1,0,1,1,1,1);
  4680. } else if(animationplayed == 3) {
  4681. ApplyAnimation(playerid,"WUZI","CS_Plyr_pt2",4.1,0,1,1,1,1);
  4682. } else if(animationplayed == 4) {
  4683. ApplyAnimation(playerid,"WUZI","CS_Wuzi_pt1",4.1,0,1,1,1,1);
  4684. } else if(animationplayed == 5) {
  4685. ApplyAnimation(playerid,"WUZI","CS_Wuzi_pt2",4.1,0,1,1,1,1);
  4686. } else if(animationplayed == 6) {
  4687. ApplyAnimation(playerid,"WUZI","Walkstart_Idle_01",4.1,0,1,1,1,1);
  4688. } else if(animationplayed == 7) {
  4689. ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.1,0,1,1,1,1);
  4690. } else if(animationplayed == 8) {
  4691. ApplyAnimation(playerid,"WUZI","Wuzi_Greet_Plyr",4.1,0,1,1,1,1);
  4692. } else if(animationplayed == 9) {
  4693. ApplyAnimation(playerid,"WUZI","Wuzi_Greet_Wuzi",4.1,0,1,1,1,1);
  4694. } else if(animationplayed == 10) {
  4695. ApplyAnimation(playerid,"WUZI","Wuzi_grnd_chk",4.1,0,1,1,1,1);
  4696. } else if(animationplayed == 11) {
  4697. ApplyAnimation(playerid,"WUZI","Wuzi_stand_loop",4.1,0,1,1,1,1);
  4698. } else if(animationplayed == 12) {
  4699. ApplyAnimation(playerid,"WUZI","Wuzi_Walk",4.1,0,1,1,1,1);
  4700. }
  4701. return 1;
  4702. }
  4703. if(strcmp(cmd, "/animat", true) == 0) {
  4704. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  4705. tmp = strtok(cmdtext, idx);
  4706. if(!strlen(tmp)) {
  4707. SendClientMessage(playerid,0xFF0000FF,">Write /animat [1-3]");
  4708. return 1;
  4709. }
  4710. animationplayed = strval(tmp);
  4711. if(animationplayed < 1 || animationplayed > 3) {
  4712. SendClientMessage(playerid,0xFF0000FF,">Write /animat [1-3]");
  4713. return 1;
  4714. }
  4715. if(animationplayed == 1) {
  4716. ApplyAnimation(playerid,"Attractors","Stepsit_in",4.1,0,1,1,1,1);
  4717. } else if(animationplayed == 2) {
  4718. ApplyAnimation(playerid,"Attractors","Stepsit_loop",4.1,0,1,1,1,1);
  4719. } else if(animationplayed == 3) {
  4720. ApplyAnimation(playerid,"Attractors","Stepsit_out",4.1,0,1,1,1,1);
  4721. }
  4722. return 1;
  4723. }
  4724. }
  4725. if(strcmp(cmd, "/animairport", true) == 0) {
  4726. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  4727. tmp = strtok(cmdtext, idx);
  4728. if(!strlen(tmp)) {
  4729. SendClientMessage(playerid,0xFF0000FF,">Write /animairport [1]");
  4730. return 1;
  4731. }
  4732. animationplayed = strval(tmp);
  4733. if(animationplayed < 1 || animationplayed > 1) {
  4734. SendClientMessage(playerid,0xFF0000FF,">Write /animairport [1]");
  4735. return 1;
  4736. }
  4737. if(animationplayed == 1) {
  4738. ApplyAnimation(playerid,"AIRPORT","thrw_barl_thrw",4.1,0,1,1,1,1);
  4739. }
  4740. return 1;
  4741. }
  4742. }
  4743. if(strcmp(cmd, "/animped", true) == 0) {
  4744. tmp = strtok(cmdtext, idx);
  4745. if(!strlen(tmp)) {
  4746. SendClientMessage(playerid,0xFF0000FF,">Write /animped [1-295]");
  4747. return 1;
  4748. }
  4749. animationplayed = strval(tmp);
  4750. if(animationplayed < 1 || animationplayed > 295) {
  4751. SendClientMessage(playerid,0xFF0000FF,">Write /animped [1-295]");
  4752. return 1;
  4753. }
  4754. if(animationplayed == 1) {
  4755. ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1,0,1,1,1,1);
  4756. } else if(animationplayed == 2) {
  4757. ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,0,1,1,1,1);
  4758. } else if(animationplayed == 3) {
  4759. ApplyAnimation(playerid,"PED","abseil",4.1,0,1,1,1,1);
  4760. } else if(animationplayed == 4) {
  4761. ApplyAnimation(playerid,"PED","ARRESTgun",4.1,0,1,1,1,1);
  4762. } else if(animationplayed == 5) {
  4763. ApplyAnimation(playerid,"PED","ATM",4.1,0,1,1,1,1);
  4764. } else if(animationplayed == 6) {
  4765. ApplyAnimation(playerid,"PED","BIKE_elbowL",4.1,0,1,1,1,1);
  4766. } else if(animationplayed == 7) {
  4767. ApplyAnimation(playerid,"PED","BIKE_fallR",4.1,0,1,1,1,1);
  4768. } else if(animationplayed == 8) {
  4769. ApplyAnimation(playerid,"PED","BIKE_fall_off",4.1,0,1,1,1,1);
  4770. } else if(animationplayed == 9) {
  4771. ApplyAnimation(playerid,"PED","BIKE_pickupL",4.1,0,1,1,1,1);
  4772. } else if(animationplayed == 10) {
  4773. ApplyAnimation(playerid,"PED","BIKE_pickupR",4.1,0,1,1,1,1);
  4774. } else if(animationplayed == 11) {
  4775. ApplyAnimation(playerid,"PED","BIKE_pullupL",4.1,0,1,1,1,1);
  4776. } else if(animationplayed == 12) {
  4777. ApplyAnimation(playerid,"PED","BIKE_pullupR",4.1,0,1,1,1,1);
  4778. } else if(animationplayed == 13) {
  4779. ApplyAnimation(playerid,"PED","bomber",4.1,0,1,1,1,1);
  4780. } else if(animationplayed == 14) {
  4781. ApplyAnimation(playerid,"PED","CAR_alignHI_LHS",4.1,0,1,1,1,1);
  4782. } else if(animationplayed == 15) {
  4783. ApplyAnimation(playerid,"PED","CAR_alignHI_RHS",4.1,0,1,1,1,1);
  4784. } else if(animationplayed == 16) {
  4785. ApplyAnimation(playerid,"PED","CAR_align_LHS",4.1,0,1,1,1,1);
  4786. } else if(animationplayed == 17) {
  4787. ApplyAnimation(playerid,"PED","CAR_align_RHS",4.1,0,1,1,1,1);
  4788. } else if(animationplayed == 18) {
  4789. ApplyAnimation(playerid,"PED","CAR_closedoorL_LHS",4.1,0,1,1,1,1);
  4790. } else if(animationplayed == 19) {
  4791. ApplyAnimation(playerid,"PED","CAR_closedoorL_RHS",4.1,0,1,1,1,1);
  4792. } else if(animationplayed == 20) {
  4793. ApplyAnimation(playerid,"PED","CAR_closedoor_LHS",4.1,0,1,1,1,1);
  4794. } else if(animationplayed == 21) {
  4795. ApplyAnimation(playerid,"PED","CAR_closedoor_RHS",4.1,0,1,1,1,1);
  4796. } else if(animationplayed == 22) {
  4797. ApplyAnimation(playerid,"PED","CAR_close_LHS",4.1,0,1,1,1,1);
  4798. } else if(animationplayed == 23) {
  4799. ApplyAnimation(playerid,"PED","CAR_crawloutRHS",4.1,0,1,1,1,1);
  4800. } else if(animationplayed == 24) {
  4801. ApplyAnimation(playerid,"PED","CAR_dead_LHS",4.1,0,1,1,1,1);
  4802. } else if(animationplayed == 25) {
  4803. ApplyAnimation(playerid,"PED","CAR_dead_RHS",4.1,0,1,1,1,1);
  4804. } else if(animationplayed == 26) {
  4805. ApplyAnimation(playerid,"PED","CAR_doorlocked_LHS",4.1,0,1,1,1,1);
  4806. } else if(animationplayed == 27) {
  4807. ApplyAnimation(playerid,"PED","CAR_fallout_LHS",4.1,0,1,1,1,1);
  4808. } else if(animationplayed == 28) {
  4809. ApplyAnimation(playerid,"PED","CAR_fallout_RHS",4.1,0,1,1,1,1);
  4810. } else if(animationplayed == 29) {
  4811. ApplyAnimation(playerid,"PED","CAR_getinL_LHS",4.1,0,1,1,1,1);
  4812. } else if(animationplayed == 30) {
  4813. ApplyAnimation(playerid,"PED","CAR_getinL_RHS",4.1,0,1,1,1,1);
  4814. } else if(animationplayed == 31) {
  4815. ApplyAnimation(playerid,"PED","CAR_getin_LHS",4.1,0,1,1,1,1);
  4816. } else if(animationplayed == 32) {
  4817. ApplyAnimation(playerid,"PED","CAR_getin_RHS",4.1,0,1,1,1,1);
  4818. } else if(animationplayed == 33) {
  4819. ApplyAnimation(playerid,"PED","CAR_getoutL_LHS",4.1,0,1,1,1,1);
  4820. } else if(animationplayed == 34) {
  4821. ApplyAnimation(playerid,"PED","CAR_getout_LHS",4.1,0,1,1,1,1);
  4822. } else if(animationplayed == 35) {
  4823. ApplyAnimation(playerid,"PED","CAR_getout_RHS",4.1,0,1,1,1,1);
  4824. } else if(animationplayed == 36) {
  4825. ApplyAnimation(playerid,"PED","car_hookertalk",4.1,0,1,1,1,1);
  4826. } else if(animationplayed == 37) {
  4827. ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.1,0,1,1,1,1);
  4828. } else if(animationplayed == 38) {
  4829. ApplyAnimation(playerid,"PED","CAR_jackedRHS",4.1,0,1,1,1,1);
  4830. } else if(animationplayed == 39) {
  4831. ApplyAnimation(playerid,"PED","CAR_jumpin_LHS",4.1,0,1,1,1,1);
  4832. } else if(animationplayed == 40) {
  4833. ApplyAnimation(playerid,"PED","CAR_LB",4.1,0,1,1,1,1);
  4834. } else if(animationplayed == 41) {
  4835. ApplyAnimation(playerid,"PED","CAR_LB_pro",4.1,0,1,1,1,1);
  4836. } else if(animationplayed == 42) {
  4837. ApplyAnimation(playerid,"PED","CAR_LB_weak",4.1,0,1,1,1,1);
  4838. } else if(animationplayed == 43) {
  4839. ApplyAnimation(playerid,"PED","CAR_LjackedLHS",4.1,0,1,1,1,1);
  4840. } else if(animationplayed == 44) {
  4841. ApplyAnimation(playerid,"PED","CAR_Lshuffle_RHS",4.1,0,1,1,1,1);
  4842. } else if(animationplayed == 45) {
  4843. ApplyAnimation(playerid,"PED","CAR_Lsit",4.1,0,1,1,1,1);
  4844. } else if(animationplayed == 46) {
  4845. ApplyAnimation(playerid,"PED","CAR_open_LHS",4.1,0,1,1,1,1);
  4846. }else if(animationplayed == 47) {
  4847. ApplyAnimation(playerid,"PED","CAR_open_RHS",4.1,0,1,1,1,1);
  4848. }else if(animationplayed == 49) {
  4849. ApplyAnimation(playerid,"PED","CAR_pulloutL_LHS",4.1,0,1,1,1,1);
  4850. }else if(animationplayed == 50) {
  4851. ApplyAnimation(playerid,"PED","CAR_pulloutL_RHS",4.1,0,1,1,1,1);
  4852. }else if(animationplayed == 51) {
  4853. ApplyAnimation(playerid,"PED","CAR_pullout_LHS",4.1,0,1,1,1,1);
  4854. }else if(animationplayed == 52) {
  4855. ApplyAnimation(playerid,"PED","CAR_pullout_RHS",4.1,0,1,1,1,1);
  4856. }else if(animationplayed == 53) {
  4857. ApplyAnimation(playerid,"PED","CAR_Qjacked",4.1,0,1,1,1,1);
  4858. }else if(animationplayed == 54) {
  4859. ApplyAnimation(playerid,"PED","CAR_rolldoor",4.1,0,1,1,1,1);
  4860. }else if(animationplayed == 55) {
  4861. ApplyAnimation(playerid,"PED","CAR_rolldoorLO",4.1,0,1,1,1,1);
  4862. }else if(animationplayed == 56) {
  4863. ApplyAnimation(playerid,"PED","CAR_rollout_LHS",4.1,0,1,1,1,1);
  4864. }else if(animationplayed == 57) {
  4865. ApplyAnimation(playerid,"PED","CAR_rollout_RHS",4.1,0,1,1,1,1);
  4866. }else if(animationplayed == 58) {
  4867. ApplyAnimation(playerid,"PED","CAR_shuffle_RHS",4.1,0,1,1,1,1);
  4868. }else if(animationplayed == 59) {
  4869. ApplyAnimation(playerid,"PED","CAR_sit",4.1,0,1,1,1,1);
  4870. }else if(animationplayed == 60) {
  4871. ApplyAnimation(playerid,"PED","CAR_sitp",4.1,0,1,1,1,1);
  4872. }else if(animationplayed == 61) {
  4873. ApplyAnimation(playerid,"PED","CAR_sitpLO",4.1,0,1,1,1,1);
  4874. }else if(animationplayed == 62) {
  4875. ApplyAnimation(playerid,"PED","CAR_sit_pro",4.1,0,1,1,1,1);
  4876. }else if(animationplayed == 63) {
  4877. ApplyAnimation(playerid,"PED","CAR_sit_weak",4.1,0,1,1,1,1);
  4878. }else if(animationplayed == 64) {
  4879. ApplyAnimation(playerid,"PED","CAR_tune_radio",4.1,0,1,1,1,1);
  4880. }else if(animationplayed == 65) {
  4881. ApplyAnimation(playerid,"PED","CLIMB_idle",4.1,0,1,1,1,1);
  4882. }else if(animationplayed == 66) {
  4883. ApplyAnimation(playerid,"PED","CLIMB_jump",4.1,0,1,1,1,1);
  4884. }else if(animationplayed == 67) {
  4885. ApplyAnimation(playerid,"PED","CLIMB_jump2fall",4.1,0,1,1,1,1);
  4886. }else if(animationplayed == 68) {
  4887. ApplyAnimation(playerid,"PED","CLIMB_jump_B",4.1,0,1,1,1,1);
  4888. }else if(animationplayed == 69) {
  4889. ApplyAnimation(playerid,"PED","CLIMB_Pull",4.1,0,1,1,1,1);
  4890. }else if(animationplayed == 70) {
  4891. ApplyAnimation(playerid,"PED","CLIMB_Stand",4.1,0,1,1,1,1);
  4892. }else if(animationplayed == 71) {
  4893. ApplyAnimation(playerid,"PED","CLIMB_Stand_finish",4.1,0,1,1,1,1);
  4894. }else if(animationplayed == 72) {
  4895. ApplyAnimation(playerid,"PED","cower",4.1,0,1,1,1,1);
  4896. }else if(animationplayed == 73) {
  4897. ApplyAnimation(playerid,"PED","Crouch_Roll_L",4.1,0,1,1,1,1);
  4898. }else if(animationplayed == 74) {
  4899. ApplyAnimation(playerid,"PED","Crouch_Roll_R",4.1,0,1,1,1,1);
  4900. }else if(animationplayed == 75) {
  4901. ApplyAnimation(playerid,"PED","DAM_armL_frmBK",4.1,0,1,1,1,1);
  4902. }else if(animationplayed == 76) {
  4903. ApplyAnimation(playerid,"PED","DAM_armL_frmFT",4.1,0,1,1,1,1);
  4904. }else if(animationplayed == 77) {
  4905. ApplyAnimation(playerid,"PED","DAM_armL_frmLT",4.1,0,1,1,1,1);
  4906. }else if(animationplayed == 78) {
  4907. ApplyAnimation(playerid,"PED","DAM_armR_frmBK",4.1,0,1,1,1,1);
  4908. }else if(animationplayed == 79) {
  4909. ApplyAnimation(playerid,"PED","DAM_armR_frmFT",4.1,0,1,1,1,1);
  4910. }else if(animationplayed == 80) {
  4911. ApplyAnimation(playerid,"PED","DAM_armR_frmRT",4.1,0,1,1,1,1);
  4912. }else if(animationplayed == 81) {
  4913. ApplyAnimation(playerid,"PED","DAM_LegL_frmBK",4.1,0,1,1,1,1);
  4914. }else if(animationplayed == 82) {
  4915. ApplyAnimation(playerid,"PED","DAM_LegL_frmFT",4.1,0,1,1,1,1);
  4916. }else if(animationplayed == 83) {
  4917. ApplyAnimation(playerid,"PED","DAM_LegL_frmLT",4.1,0,1,1,1,1);
  4918. }else if(animationplayed == 84) {
  4919. ApplyAnimation(playerid,"PED","DAM_LegR_frmBK",4.1,0,1,1,1,1);
  4920. }else if(animationplayed == 85) {
  4921. ApplyAnimation(playerid,"PED","DAM_LegR_frmFT",4.1,0,1,1,1,1);
  4922. }else if(animationplayed == 86) {
  4923. ApplyAnimation(playerid,"PED","DAM_LegR_frmRT",4.1,0,1,1,1,1);
  4924. }else if(animationplayed == 87) {
  4925. ApplyAnimation(playerid,"PED","DAM_stomach_frmBK",4.1,0,1,1,1,1);
  4926. }else if(animationplayed == 88) {
  4927. ApplyAnimation(playerid,"PED","DAM_stomach_frmFT",4.1,0,1,1,1,1);
  4928. }else if(animationplayed == 89) {
  4929. ApplyAnimation(playerid,"PED","DAM_stomach_frmLT",4.1,0,1,1,1,1);
  4930. }else if(animationplayed == 90) {
  4931. ApplyAnimation(playerid,"PED","DAM_stomach_frmRT",4.1,0,1,1,1,1);
  4932. }else if(animationplayed == 91) {
  4933. ApplyAnimation(playerid,"PED","DOOR_LHinge_O",4.1,0,1,1,1,1);
  4934. }else if(animationplayed == 92) {
  4935. ApplyAnimation(playerid,"PED","DOOR_RHinge_O",4.1,0,1,1,1,1);
  4936. }else if(animationplayed == 93) {
  4937. ApplyAnimation(playerid,"PED","DrivebyL_L",4.1,0,1,1,1,1);
  4938. }else if(animationplayed == 94) {
  4939. ApplyAnimation(playerid,"PED","DrivebyL_R",4.1,0,1,1,1,1);
  4940. }else if(animationplayed == 95) {
  4941. ApplyAnimation(playerid,"PED","Driveby_L",4.1,0,1,1,1,1);
  4942. }else if(animationplayed == 96) {
  4943. ApplyAnimation(playerid,"PED","Driveby_R",4.1,0,1,1,1,1);
  4944. }else if(animationplayed == 97) {
  4945. ApplyAnimation(playerid,"PED","DRIVE_BOAT",4.1,0,1,1,1,1);
  4946. }else if(animationplayed == 98) {
  4947. ApplyAnimation(playerid,"PED","DRIVE_BOAT_back",4.1,0,1,1,1,1);
  4948. }else if(animationplayed == 99) {
  4949. ApplyAnimation(playerid,"PED","DRIVE_BOAT_L",4.1,0,1,1,1,1);
  4950. }else if(animationplayed == 100) {
  4951. ApplyAnimation(playerid,"PED","DRIVE_BOAT_R",4.1,0,1,1,1,1);
  4952. }else if(animationplayed == 101) {
  4953. ApplyAnimation(playerid,"PED","Drive_L",4.1,0,1,1,1,1);
  4954. }else if(animationplayed == 102) {
  4955. ApplyAnimation(playerid,"PED","Drive_LO_l",4.1,0,1,1,1,1);
  4956. }else if(animationplayed == 103) {
  4957. ApplyAnimation(playerid,"PED","Drive_LO_R",4.1,0,1,1,1,1);
  4958. }else if(animationplayed == 104) {
  4959. ApplyAnimation(playerid,"PED","Drive_L_pro",4.1,0,1,1,1,1);
  4960. }else if(animationplayed == 105) {
  4961. ApplyAnimation(playerid,"PED","Drive_L_pro_slow",4.1,0,1,1,1,1);
  4962. }else if(animationplayed == 106) {
  4963. ApplyAnimation(playerid,"PED","Drive_L_slow",4.1,0,1,1,1,1);
  4964. }else if(animationplayed == 107) {
  4965. ApplyAnimation(playerid,"PED","Drive_L_weak",4.1,0,1,1,1,1);
  4966. }else if(animationplayed == 108) {
  4967. ApplyAnimation(playerid,"PED","Drive_L_weak_slow",4.1,0,1,1,1,1);
  4968. }else if(animationplayed == 109) {
  4969. ApplyAnimation(playerid,"PED","Drive_R",4.1,0,1,1,1,1);
  4970. }else if(animationplayed == 110) {
  4971. ApplyAnimation(playerid,"PED","Drive_R_pro",4.1,0,1,1,1,1);
  4972. }else if(animationplayed == 111) {
  4973. ApplyAnimation(playerid,"PED","Drive_R_pro_slow",4.1,0,1,1,1,1);
  4974. }else if(animationplayed == 112) {
  4975. ApplyAnimation(playerid,"PED","Drive_R_slow",4.1,0,1,1,1,1);
  4976. }else if(animationplayed == 113) {
  4977. ApplyAnimation(playerid,"PED","Drive_R_weak",4.1,0,1,1,1,1);
  4978. }else if(animationplayed == 114) {
  4979. ApplyAnimation(playerid,"PED","Drive_R_weak_slow",4.1,0,1,1,1,1);
  4980. }else if(animationplayed == 115) {
  4981. ApplyAnimation(playerid,"PED","Drive_truck",4.1,0,1,1,1,1);
  4982. }else if(animationplayed == 116) {
  4983. ApplyAnimation(playerid,"PED","DRIVE_truck_back",4.1,0,1,1,1,1);
  4984. }else if(animationplayed == 117) {
  4985. ApplyAnimation(playerid,"PED","DRIVE_truck_L",4.1,0,1,1,1,1);
  4986. }else if(animationplayed == 118) {
  4987. ApplyAnimation(playerid,"PED","DRIVE_truck_R",4.1,0,1,1,1,1);
  4988. }else if(animationplayed == 119) {
  4989. ApplyAnimation(playerid,"PED","Drown",4.1,0,1,1,1,1);
  4990. }else if(animationplayed == 120) {
  4991. ApplyAnimation(playerid,"PED","DUCK_cower",4.1,0,1,1,1,1);
  4992. }else if(animationplayed == 121) {
  4993. ApplyAnimation(playerid,"PED","endchat_01",4.1,0,1,1,1,1);
  4994. }else if(animationplayed == 122) {
  4995. ApplyAnimation(playerid,"PED","endchat_02",4.1,0,1,1,1,1);
  4996. }else if(animationplayed == 123) {
  4997. ApplyAnimation(playerid,"PED","endchat_03",4.1,0,1,1,1,1);
  4998. }else if(animationplayed == 124) {
  4999. ApplyAnimation(playerid,"PED","DRIVE_truck_back",4.1,0,1,1,1,1);
  5000. }else if(animationplayed == 125) {
  5001. ApplyAnimation(playerid,"PED","DRIVE_truck_back",4.1,0,1,1,1,1);
  5002. }else if(animationplayed == 126) {
  5003. ApplyAnimation(playerid,"PED","EV_dive",4.1,0,1,1,1,1);
  5004. }else if(animationplayed == 127) {
  5005. ApplyAnimation(playerid,"PED","EV_step",4.1,0,1,1,1,1);
  5006. }else if(animationplayed == 128) {
  5007. ApplyAnimation(playerid,"PED","facanger",4.1,0,1,1,1,1);
  5008. }else if(animationplayed == 129) {
  5009. ApplyAnimation(playerid,"PED","facanger",4.1,0,1,1,1,1);
  5010. }else if(animationplayed == 130) {
  5011. ApplyAnimation(playerid,"PED","facgum",4.1,0,1,1,1,1);
  5012. }else if(animationplayed == 131) {
  5013. ApplyAnimation(playerid,"PED","facsurp",4.1,0,1,1,1,1);
  5014. }else if(animationplayed == 132) {
  5015. ApplyAnimation(playerid,"PED","facsurpm",4.1,0,1,1,1,1);
  5016. }else if(animationplayed == 133) {
  5017. ApplyAnimation(playerid,"PED","factalk",4.1,0,1,1,1,1);
  5018. }else if(animationplayed == 134) {
  5019. ApplyAnimation(playerid,"PED","facurios",4.1,0,1,1,1,1);
  5020. }else if(animationplayed == 135) {
  5021. ApplyAnimation(playerid,"PED","FALL_back",4.1,0,1,1,1,1);
  5022. }else if(animationplayed == 136) {
  5023. ApplyAnimation(playerid,"PED","FALL_collapse",4.1,0,1,1,1,1);
  5024. }else if(animationplayed == 137) {
  5025. ApplyAnimation(playerid,"PED","FALL_fall",4.1,0,1,1,1,1);
  5026. }else if(animationplayed == 138) {
  5027. ApplyAnimation(playerid,"PED","FALL_front",4.1,0,1,1,1,1);
  5028. }else if(animationplayed == 139) {
  5029. ApplyAnimation(playerid,"PED","FALL_glide",4.1,0,1,1,1,1);
  5030. }else if(animationplayed == 140) {
  5031. ApplyAnimation(playerid,"PED","FALL_land",4.1,0,1,1,1,1);
  5032. }else if(animationplayed == 141) {
  5033. ApplyAnimation(playerid,"PED","FALL_skyDive",4.1,0,1,1,1,1);
  5034. }else if(animationplayed == 142) {
  5035. ApplyAnimation(playerid,"PED","Fight2Idle",4.1,0,1,1,1,1);
  5036. }else if(animationplayed == 143) {
  5037. ApplyAnimation(playerid,"PED","FightA_1",4.1,0,1,1,1,1);
  5038. }else if(animationplayed == 144) {
  5039. ApplyAnimation(playerid,"PED","FightA_2",4.1,0,1,1,1,1);
  5040. }else if(animationplayed == 145) {
  5041. ApplyAnimation(playerid,"PED","FightA_3",4.1,0,1,1,1,1);
  5042. }else if(animationplayed == 146) {
  5043. ApplyAnimation(playerid,"PED","FightA_block",4.1,0,1,1,1,1);
  5044. }else if(animationplayed == 147) {
  5045. ApplyAnimation(playerid,"PED","FightA_G",4.1,0,1,1,1,1);
  5046. }else if(animationplayed == 148) {
  5047. ApplyAnimation(playerid,"PED","FightA_M",4.1,0,1,1,1,1);
  5048. }else if(animationplayed == 149) {
  5049. ApplyAnimation(playerid,"PED","FIGHTIDLE",4.1,0,1,1,1,1);
  5050. }else if(animationplayed == 150) {
  5051. ApplyAnimation(playerid,"PED","FightShB",4.1,0,1,1,1,1);
  5052. }else if(animationplayed == 151) {
  5053. ApplyAnimation(playerid,"PED","FightShF",4.1,0,1,1,1,1);
  5054. }else if(animationplayed == 152) {
  5055. ApplyAnimation(playerid,"PED","FightSh_BWD",4.1,0,1,1,1,1);
  5056. }else if(animationplayed == 153) {
  5057. ApplyAnimation(playerid,"PED","FightSh_FWD",4.1,0,1,1,1,1);
  5058. }else if(animationplayed == 154) {
  5059. ApplyAnimation(playerid,"PED","FightSh_Left",4.1,0,1,1,1,1);
  5060. }else if(animationplayed == 155) {
  5061. ApplyAnimation(playerid,"PED","FightSh_Right",4.1,0,1,1,1,1);
  5062. }else if(animationplayed == 156) {
  5063. ApplyAnimation(playerid,"PED","flee_lkaround_01",4.1,0,1,1,1,1);
  5064. }else if(animationplayed == 157) {
  5065. ApplyAnimation(playerid,"PED","FLOOR_hit",4.1,0,1,1,1,1);
  5066. }else if(animationplayed == 158) {
  5067. ApplyAnimation(playerid,"PED","FLOOR_hit_f",4.1,0,1,1,1,1);
  5068. }else if(animationplayed == 159) {
  5069. ApplyAnimation(playerid,"PED","fucku",4.1,0,1,1,1,1);
  5070. }else if(animationplayed == 160) {
  5071. ApplyAnimation(playerid,"PED","gang_gunstand",4.1,0,1,1,1,1);
  5072. }else if(animationplayed == 161) {
  5073. ApplyAnimation(playerid,"PED","gas_cwr",4.1,0,1,1,1,1);
  5074. }else if(animationplayed == 162) {
  5075. ApplyAnimation(playerid,"PED","getup",4.1,0,1,1,1,1);
  5076. }else if(animationplayed == 163) {
  5077. ApplyAnimation(playerid,"PED","getup_front",4.1,0,1,1,1,1);
  5078. }else if(animationplayed == 164) {
  5079. ApplyAnimation(playerid,"PED","gum_eat",4.1,0,1,1,1,1);
  5080. }else if(animationplayed == 165) {
  5081. ApplyAnimation(playerid,"PED","GunCrouchBwd",4.1,0,1,1,1,1);
  5082. }else if(animationplayed == 166) {
  5083. ApplyAnimation(playerid,"PED","GunCrouchFwd",4.1,0,1,1,1,1);
  5084. }else if(animationplayed == 167) {
  5085. ApplyAnimation(playerid,"PED","GunMove_BWD",4.1,0,1,1,1,1);
  5086. }else if(animationplayed == 168) {
  5087. ApplyAnimation(playerid,"PED","GunMove_FWD",4.1,0,1,1,1,1);
  5088. }else if(animationplayed == 169) {
  5089. ApplyAnimation(playerid,"PED","GunMove_L",4.1,0,1,1,1,1);
  5090. }else if(animationplayed == 170) {
  5091. ApplyAnimation(playerid,"PED","GunMove_R",4.1,0,1,1,1,1);
  5092. }else if(animationplayed == 171) {
  5093. ApplyAnimation(playerid,"PED","Gun_2_IDLE",4.1,0,1,1,1,1);
  5094. }else if(animationplayed == 172) {
  5095. ApplyAnimation(playerid,"PED","GUN_BUTT",4.1,0,1,1,1,1);
  5096. }else if(animationplayed == 173) {
  5097. ApplyAnimation(playerid,"PED","GUN_BUTT_crouch",4.1,0,1,1,1,1);
  5098. }else if(animationplayed == 174) {
  5099. ApplyAnimation(playerid,"PED","Gun_stand",4.1,0,1,1,1,1);
  5100. }else if(animationplayed == 175) {
  5101. ApplyAnimation(playerid,"PED","handscower",4.1,0,1,1,1,1);
  5102. }else if(animationplayed == 176) {
  5103. ApplyAnimation(playerid,"PED","handsup",4.1,0,1,1,1,1);
  5104. }else if(animationplayed == 177) {
  5105. ApplyAnimation(playerid,"PED","HitA_1",4.1,0,1,1,1,1);
  5106. }else if(animationplayed == 178) {
  5107. ApplyAnimation(playerid,"PED","HitA_2",4.1,0,1,1,1,1);
  5108. }else if(animationplayed == 179) {
  5109. ApplyAnimation(playerid,"PED","HitA_3",4.1,0,1,1,1,1);
  5110. }else if(animationplayed == 180) {
  5111. ApplyAnimation(playerid,"PED","HIT_back",4.1,0,1,1,1,1);
  5112. }else if(animationplayed == 181) {
  5113. ApplyAnimation(playerid,"PED","HIT_behind",4.1,0,1,1,1,1);
  5114. }else if(animationplayed == 182) {
  5115. ApplyAnimation(playerid,"PED","HIT_front",4.1,0,1,1,1,1);
  5116. }else if(animationplayed == 183) {
  5117. ApplyAnimation(playerid,"PED","HIT_GUN_BUTT",4.1,0,1,1,1,1);
  5118. }else if(animationplayed == 184) {
  5119. ApplyAnimation(playerid,"PED","HIT_L",4.1,0,1,1,1,1);
  5120. }else if(animationplayed == 185) {
  5121. ApplyAnimation(playerid,"PED","HIT_R",4.1,0,1,1,1,1);
  5122. }else if(animationplayed == 186) {
  5123. ApplyAnimation(playerid,"PED","HIT_walk",4.1,0,1,1,1,1);
  5124. }else if(animationplayed == 187) {
  5125. ApplyAnimation(playerid,"PED","HIT_wall",4.1,0,1,1,1,1);
  5126. }else if(animationplayed == 188) {
  5127. ApplyAnimation(playerid,"PED","Idlestance_fat",4.1,0,1,1,1,1);
  5128. }else if(animationplayed == 189) {
  5129. ApplyAnimation(playerid,"PED","idlestance_old",4.1,0,1,1,1,1);
  5130. }else if(animationplayed == 190) {
  5131. ApplyAnimation(playerid,"PED","IDLE_armed",4.1,0,1,1,1,1);
  5132. }else if(animationplayed == 191) {
  5133. ApplyAnimation(playerid,"PED","IDLE_chat",4.1,0,1,1,1,1);
  5134. }else if(animationplayed == 192) {
  5135. ApplyAnimation(playerid,"PED","IDLE_csaw",4.1,0,1,1,1,1);
  5136. }else if(animationplayed == 193) {
  5137. ApplyAnimation(playerid,"PED","Idle_Gang1",4.1,0,1,1,1,1);
  5138. }else if(animationplayed == 194) {
  5139. ApplyAnimation(playerid,"PED","IDLE_HBHB",4.1,0,1,1,1,1);
  5140. }else if(animationplayed == 195) {
  5141. ApplyAnimation(playerid,"PED","IDLE_ROCKET",4.1,0,1,1,1,1);
  5142. }else if(animationplayed == 196) {
  5143. ApplyAnimation(playerid,"PED","IDLE_stance",4.1,0,1,1,1,1);
  5144. }else if(animationplayed == 197) {
  5145. ApplyAnimation(playerid,"PED","IDLE_taxi",4.1,0,1,1,1,1);
  5146. }else if(animationplayed == 198) {
  5147. ApplyAnimation(playerid,"PED","IDLE_tired",4.1,0,1,1,1,1);
  5148. }else if(animationplayed == 199) {
  5149. ApplyAnimation(playerid,"PED","Jetpack_Idle",4.1,0,1,1,1,1);
  5150. }else if(animationplayed == 200) {
  5151. ApplyAnimation(playerid,"PED","JOG_femaleA",4.1,0,1,1,1,1);
  5152. }else if(animationplayed == 201) {
  5153. ApplyAnimation(playerid,"PED","JOG_maleA",4.1,0,1,1,1,1);
  5154. }else if(animationplayed == 202) {
  5155. ApplyAnimation(playerid,"PED","JUMP_glide",4.1,0,1,1,1,1);
  5156. }else if(animationplayed == 203) {
  5157. ApplyAnimation(playerid,"PED","JUMP_land",4.1,0,1,1,1,1);
  5158. }else if(animationplayed == 204) {
  5159. ApplyAnimation(playerid,"PED","JUMP_launch",4.1,0,1,1,1,1);
  5160. }else if(animationplayed == 205) {
  5161. ApplyAnimation(playerid,"PED","JUMP_launch_R",4.1,0,1,1,1,1);
  5162. }else if(animationplayed == 206) {
  5163. ApplyAnimation(playerid,"PED","KART_drive",4.1,0,1,1,1,1);
  5164. }else if(animationplayed == 207) {
  5165. ApplyAnimation(playerid,"PED","KART_L",4.1,0,1,1,1,1);
  5166. }else if(animationplayed == 208) {
  5167. ApplyAnimation(playerid,"PED","KART_LB",4.1,0,1,1,1,1);
  5168. }else if(animationplayed == 209) {
  5169. ApplyAnimation(playerid,"PED","KART_R",4.1,0,1,1,1,1);
  5170. }else if(animationplayed == 210) {
  5171. ApplyAnimation(playerid,"PED","KD_left",4.1,0,1,1,1,1);
  5172. }else if(animationplayed == 211) {
  5173. ApplyAnimation(playerid,"PED","KD_right",4.1,0,1,1,1,1);
  5174. }else if(animationplayed == 212) {
  5175. ApplyAnimation(playerid,"PED","KO_shot_face",4.1,0,1,1,1,1);
  5176. }else if(animationplayed == 213) {
  5177. ApplyAnimation(playerid,"PED","KO_shot_front",4.1,0,1,1,1,1);
  5178. }else if(animationplayed == 214) {
  5179. ApplyAnimation(playerid,"PED","KO_shot_stom",4.1,0,1,1,1,1);
  5180. }else if(animationplayed == 215) {
  5181. ApplyAnimation(playerid,"PED","KO_skid_back",4.1,0,1,1,1,1);
  5182. }else if(animationplayed == 216) {
  5183. ApplyAnimation(playerid,"PED","KO_skid_front",4.1,0,1,1,1,1);
  5184. }else if(animationplayed == 217) {
  5185. ApplyAnimation(playerid,"PED","KO_spin_L",4.1,0,1,1,1,1);
  5186. }else if(animationplayed == 218) {
  5187. ApplyAnimation(playerid,"PED","KO_spin_R",4.1,0,1,1,1,1);
  5188. }else if(animationplayed == 219) {
  5189. ApplyAnimation(playerid,"PED","pass_Smoke_in_car",4.1,0,1,1,1,1);
  5190. }else if(animationplayed == 220) {
  5191. ApplyAnimation(playerid,"PED","phone_in",4.1,0,1,1,1,1);
  5192. }else if(animationplayed == 221) {
  5193. ApplyAnimation(playerid,"PED","phone_out",4.1,0,1,1,1,1);
  5194. }else if(animationplayed == 222) {
  5195. ApplyAnimation(playerid,"PED","phone_talk",4.1,0,1,1,1,1);
  5196. }else if(animationplayed == 223) {
  5197. ApplyAnimation(playerid,"PED","Player_Sneak",4.1,0,1,1,1,1);
  5198. }else if(animationplayed == 224) {
  5199. ApplyAnimation(playerid,"PED","Player_Sneak_walkstart",4.1,0,1,1,1,1);
  5200. }else if(animationplayed == 225) {
  5201. ApplyAnimation(playerid,"PED","roadcross",4.1,0,1,1,1,1);
  5202. }else if(animationplayed == 226) {
  5203. ApplyAnimation(playerid,"PED","roadcross_female",4.1,0,1,1,1,1);
  5204. }else if(animationplayed == 227) {
  5205. ApplyAnimation(playerid,"PED","roadcross_gang",4.1,0,1,1,1,1);
  5206. }else if(animationplayed == 228) {
  5207. ApplyAnimation(playerid,"PED","roadcross_old",4.1,0,1,1,1,1);
  5208. }else if(animationplayed == 229) {
  5209. ApplyAnimation(playerid,"PED","run_1armed",4.1,0,1,1,1,1);
  5210. }else if(animationplayed == 230) {
  5211. ApplyAnimation(playerid,"PED","run_armed",4.1,0,1,1,1,1);
  5212. }else if(animationplayed == 231) {
  5213. ApplyAnimation(playerid,"PED","run_civi",4.1,0,1,1,1,1);
  5214. }else if(animationplayed == 232) {
  5215. ApplyAnimation(playerid,"PED","run_csaw",4.1,0,1,1,1,1);
  5216. }else if(animationplayed == 233) {
  5217. ApplyAnimation(playerid,"PED","run_fat",4.1,0,1,1,1,1);
  5218. }else if(animationplayed == 234) {
  5219. ApplyAnimation(playerid,"PED","run_fatold",4.1,0,1,1,1,1);
  5220. }else if(animationplayed == 235) {
  5221. ApplyAnimation(playerid,"PED","run_gang1",4.1,0,1,1,1,1);
  5222. }else if(animationplayed == 236) {
  5223. ApplyAnimation(playerid,"PED","run_left",4.1,0,1,1,1,1);
  5224. }else if(animationplayed == 237) {
  5225. ApplyAnimation(playerid,"PED","run_old",4.1,0,1,1,1,1);
  5226. }else if(animationplayed == 238) {
  5227. ApplyAnimation(playerid,"PED","run_player",4.1,0,1,1,1,1);
  5228. }else if(animationplayed == 239) {
  5229. ApplyAnimation(playerid,"PED","run_right",4.1,0,1,1,1,1);
  5230. }else if(animationplayed == 240) {
  5231. ApplyAnimation(playerid,"PED","run_rocket",4.1,0,1,1,1,1);
  5232. }else if(animationplayed == 241) {
  5233. ApplyAnimation(playerid,"PED","Run_stop",4.1,0,1,1,1,1);
  5234. }else if(animationplayed == 242) {
  5235. ApplyAnimation(playerid,"PED","Run_stopR",4.1,0,1,1,1,1);
  5236. }else if(animationplayed == 243) {
  5237. ApplyAnimation(playerid,"PED","Run_Wuzi",4.1,0,1,1,1,1);
  5238. }else if(animationplayed == 244) {
  5239. ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,1);
  5240. }else if(animationplayed == 245) {
  5241. ApplyAnimation(playerid,"PED","SEAT_idle",4.1,0,1,1,1,1);
  5242. }else if(animationplayed == 246) {
  5243. ApplyAnimation(playerid,"PED","SEAT_up",4.1,0,1,1,1,1);
  5244. }else if(animationplayed == 247) {
  5245. ApplyAnimation(playerid,"PED","SHOT_leftP",4.1,0,1,1,1,1);
  5246. }else if(animationplayed == 248) {
  5247. ApplyAnimation(playerid,"PED","SHOT_partial",4.1,0,1,1,1,1);
  5248. }else if(animationplayed == 249) {
  5249. ApplyAnimation(playerid,"PED","SHOT_partial_B",4.1,0,1,1,1,1);
  5250. }else if(animationplayed == 250) {
  5251. ApplyAnimation(playerid,"PED","SHOT_rightP",4.1,0,1,1,1,1);
  5252. }else if(animationplayed == 251) {
  5253. ApplyAnimation(playerid,"PED","Shove_Partial",4.1,0,1,1,1,1);
  5254. }else if(animationplayed == 252) {
  5255. ApplyAnimation(playerid,"PED","Smoke_in_car",4.1,0,1,1,1,1);
  5256. }else if(animationplayed == 253) {
  5257. ApplyAnimation(playerid,"PED","sprint_civi",4.1,0,1,1,1,1);
  5258. }else if(animationplayed == 254) {
  5259. ApplyAnimation(playerid,"PED","sprint_panic",4.1,0,1,1,1,1);
  5260. }else if(animationplayed == 255) {
  5261. ApplyAnimation(playerid,"PED","Sprint_Wuzi",4.1,0,1,1,1,1);
  5262. }else if(animationplayed == 256) {
  5263. ApplyAnimation(playerid,"PED","swat_run",4.1,0,1,1,1,1);
  5264. }else if(animationplayed == 257) {
  5265. ApplyAnimation(playerid,"PED","Swim_Tread",4.1,0,1,1,1,1);
  5266. }else if(animationplayed == 258) {
  5267. ApplyAnimation(playerid,"PED","Tap_hand",4.1,0,1,1,1,1);
  5268. }else if(animationplayed == 259) {
  5269. ApplyAnimation(playerid,"PED","Tap_handP",4.1,0,1,1,1,1);
  5270. }else if(animationplayed == 260) {
  5271. ApplyAnimation(playerid,"PED","turn_180",4.1,0,1,1,1,1);
  5272. }else if(animationplayed == 261) {
  5273. ApplyAnimation(playerid,"PED","Turn_L",4.1,0,1,1,1,1);
  5274. }else if(animationplayed == 262) {
  5275. ApplyAnimation(playerid,"PED","Turn_R",4.1,0,1,1,1,1);
  5276. }else if(animationplayed == 263) {
  5277. ApplyAnimation(playerid,"PED","WALK_armed",4.1,0,1,1,1,1);
  5278. }else if(animationplayed == 264) {
  5279. ApplyAnimation(playerid,"PED","WALK_civi",4.1,0,1,1,1,1);
  5280. }else if(animationplayed == 265) {
  5281. ApplyAnimation(playerid,"PED","WALK_csaw",4.1,0,1,1,1,1);
  5282. }else if(animationplayed == 266) {
  5283. ApplyAnimation(playerid,"PED","Walk_DoorPartial",4.1,0,1,1,1,1);
  5284. }else if(animationplayed == 267) {
  5285. ApplyAnimation(playerid,"PED","WALK_drunk",4.1,0,1,1,1,1);
  5286. }else if(animationplayed == 268) {
  5287. ApplyAnimation(playerid,"PED","WALK_fat",4.1,0,1,1,1,1);
  5288. }else if(animationplayed == 269) {
  5289. ApplyAnimation(playerid,"PED","WALK_fatold",4.1,0,1,1,1,1);
  5290. }else if(animationplayed == 270) {
  5291. ApplyAnimation(playerid,"PED","WALK_gang1",4.1,0,1,1,1,1);
  5292. }else if(animationplayed == 271) {
  5293. ApplyAnimation(playerid,"PED","WALK_gang2",4.1,0,1,1,1,1);
  5294. }else if(animationplayed == 272) {
  5295. ApplyAnimation(playerid,"PED","WALK_old",4.1,0,1,1,1,1);
  5296. }else if(animationplayed == 273) {
  5297. ApplyAnimation(playerid,"PED","WALK_player",4.1,0,1,1,1,1);
  5298. }else if(animationplayed == 274) {
  5299. ApplyAnimation(playerid,"PED","WALK_rocket",4.1,0,1,1,1,1);
  5300. }else if(animationplayed == 275) {
  5301. ApplyAnimation(playerid,"PED","WALK_shuffle",4.1,0,1,1,1,1);
  5302. }else if(animationplayed == 276) {
  5303. ApplyAnimation(playerid,"PED","WALK_start",4.1,0,1,1,1,1);
  5304. }else if(animationplayed == 277) {
  5305. ApplyAnimation(playerid,"PED","WALK_start_armed",4.1,0,1,1,1,1);
  5306. }else if(animationplayed == 278) {
  5307. ApplyAnimation(playerid,"PED","WALK_start_csaw",4.1,0,1,1,1,1);
  5308. }else if(animationplayed == 279) {
  5309. ApplyAnimation(playerid,"PED","WALK_start_rocket",4.1,0,1,1,1,1);
  5310. }else if(animationplayed == 280) {
  5311. ApplyAnimation(playerid,"PED","Walk_Wuzi",4.1,0,1,1,1,1);
  5312. }else if(animationplayed == 281) {
  5313. ApplyAnimation(playerid,"PED","WEAPON_crouch",4.1,0,1,1,1,1);
  5314. }else if(animationplayed == 282) {
  5315. ApplyAnimation(playerid,"PED","woman_idlestance",4.1,0,1,1,1,1);
  5316. }else if(animationplayed == 283) {
  5317. ApplyAnimation(playerid,"PED","woman_run",4.1,0,1,1,1,1);
  5318. }else if(animationplayed == 284) {
  5319. ApplyAnimation(playerid,"PED","WOMAN_runbusy",4.1,0,1,1,1,1);
  5320. }else if(animationplayed == 285) {
  5321. ApplyAnimation(playerid,"PED","WOMAN_runfatold",4.1,0,1,1,1,1);
  5322. }else if(animationplayed == 286) {
  5323. ApplyAnimation(playerid,"PED","woman_runpanic",4.1,0,1,1,1,1);
  5324. }else if(animationplayed == 287) {
  5325. ApplyAnimation(playerid,"PED","WOMAN_runsexy",4.1,0,1,1,1,1);
  5326. }else if(animationplayed == 288) {
  5327. ApplyAnimation(playerid,"PED","WOMAN_walkbusy",4.1,0,1,1,1,1);
  5328. }else if(animationplayed == 289) {
  5329. ApplyAnimation(playerid,"PED","WOMAN_walkfatold",4.1,0,1,1,1,1);
  5330. }else if(animationplayed == 290) {
  5331. ApplyAnimation(playerid,"PED","WOMAN_walknorm",4.1,0,1,1,1,1);
  5332. }else if(animationplayed == 291) {
  5333. ApplyAnimation(playerid,"PED","WOMAN_walkold",4.1,0,1,1,1,1);
  5334. }else if(animationplayed == 292) {
  5335. ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.1,0,1,1,1,1);
  5336. }else if(animationplayed == 293) {
  5337. ApplyAnimation(playerid,"PED","WOMAN_walksexy",4.1,0,1,1,1,1);
  5338. }else if(animationplayed == 294) {
  5339. ApplyAnimation(playerid,"PED","WOMAN_walkshop",4.1,0,1,1,1,1);
  5340. }else if(animationplayed == 295) {
  5341. ApplyAnimation(playerid,"PED","XPRESSscratch",4.1,0,1,1,1,1);
  5342. }
  5343. return 1;
  5344. }
  5345. if(strcmp(cmd, "/handsup", true) == 0) {
  5346. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  5347. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  5348. return 1;
  5349. }
  5350. }
  5351. if(strcmp(cmd, "/dance", true) == 0) {
  5352. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) {
  5353. tmp = strtok(cmdtext, idx);
  5354. if(!strlen(tmp)) {
  5355. SendClientMessage(playerid,0xFF0000FF,">Write /dance [1-3]");
  5356. return 1;
  5357. }
  5358. animationplayed = strval(tmp);
  5359. if(animationplayed < 1 || animationplayed > 3) {
  5360. SendClientMessage(playerid,0xFF0000FF,">Write /dance [1-3]");
  5361. return 1;
  5362. }
  5363. if(animationplayed == 1) {
  5364. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
  5365. } else if(animationplayed == 2) {
  5366. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
  5367. } else if(animationplayed == 3) {
  5368. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
  5369. }
  5370. return 1;
  5371. }
  5372. }
  5373. return 0;
  5374. }
  5375. public OnPlayerConnect(playerid)
  5376. {
  5377. SendClientMessage(playerid,COLOR_YELLOW,">Anim System by [VLA]Wooz1e Loaded(www.vla-team.com)Write /animhelp");
  5378. return 1;
  5379. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement