Guest User

Animations system by EquinoX/Flaken

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