bare.pwn 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780
  1. #include <a_samp>
  2. #include <zcmd>
  3. #include <sscanf2>
  4. // important colors
  5. #define COLOR_ACCOUNT 0x7EFCA0FF
  6. #define COLOR_ERROR 0xFF6347FF
  7. #define COLOR_ORANGE 0xFF8000FF
  8. #define COLOR_GRAD1 0xB4B5B7FF
  9. #define COLOR_GRAD2 0xBFC0C2FF
  10. #define COLOR_GRAD3 0xCBCCCEFF
  11. #define COLOR_GRAD4 0xD8D8D8FF
  12. #define COLOR_GRAD5 0xE3E3E3FF
  13. #define COLOR_GRAD6 0xF0F0F0FF
  14. #define COLOR_GRAY 0xAFAFAFAA
  15. #define COLOR_GREEN 0x33AA33AA
  16. #define COLOR_YELLOW 0xE4CA78AA
  17. #define COLOR_WHITE 0xFFFFFFAA
  18. #define COLOR_PURPLE 0xC2A2DAAA
  19. #define COLOR_PMF 0xFFCC00FF
  20. #define COLOR_PMS 0xCCA300FF
  21. //=======================================//
  22. main()
  23. {
  24. print("\n/*-----------------------------------*\\");
  25. print("|*=====[Salazar's Workspace Loaded]=====*|");
  26. print("\\*-----------------------------------*/\n");
  27. }
  28. new bool:JustConnected[MAX_PLAYERS];
  29. public OnPlayerRequestClass(playerid, classid)
  30. {
  31. TogglePlayerSpectating(playerid, true);
  32. if(JustConnected[playerid])
  33. {
  34. JustConnected[playerid] = false;
  35. SetTimerEx("OnPlayerRequestClass", 100, false, "ii", playerid, classid);
  36. }
  37. else
  38. {
  39. TogglePlayerSpectating(playerid, false);
  40. SpawnPlayer(playerid);
  41. }
  42. return 1;
  43. }
  44. public OnPlayerSpawn(playerid)
  45. {
  46. }
  47. public OnPlayerConnect(playerid)
  48. {
  49. GameTextForPlayer(playerid,"~r~T~w~exture ~r~S~w~tudio ~b~1.9~g~d",5000,5);
  50. JustConnected[playerid] = true;
  51. return 1;
  52. }
  53. public OnGameModeInit()
  54. {
  55. SetGameModeText("Delseyrian's Utopia");
  56. AddPlayerClass(150,1322.1832,1564.2081,10.8203,300.1425,0,0,0,0,-1,-1);
  57. //AddPlayerClass(265,1958.3783,1343.1572,15.3746,270.1425,0,0,0,0,-1,-1);
  58. return 1;
  59. }
  60. stock ApplyAnimationEx(playerid, animlib[], animname[], Float:fDelta, loop, lockx, locky, freeze, time, forcesync = 0)
  61. {
  62. ApplyAnimation(playerid, animlib, animname, fDelta, loop, lockx, locky, freeze, time, forcesync);
  63. }
  64. stock PlayerUseAnims(playerid)
  65. {
  66. if(GetPlayerState(playerid) != PLAYER_STATE_ONFOOT || GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED)
  67. {
  68. return 0;
  69. }
  70. return 1;
  71. }
  72. //======================COMMANDS STARTS FROM HERE===========================//
  73. public OnPlayerKeyStateChange(playerid)
  74. {
  75. // if(PRESSED(KEY_SPRINT))
  76. // {
  77. // if (GetPVarInt(playerid, "AnimUse") == 1)
  78. // {
  79. // ApplyAnimation(playerid, "CARRY", "crry_prtial", 2.0, 0, 0, 0, 0, 0);
  80. // DeletePVar(playerid,"AnimUse");
  81. // }
  82. // }
  83. }
  84. #define ALTCOMMAND:%1->%2; \
  85. COMMAND:%1(playerid, params[]) \
  86. return cmd_%2(playerid, params);
  87. //okay commands started
  88. //COMMAND:fucku(playerid, params[])
  89. //{
  90. // SetPVarInt(playerid, "AnimUse" , 1);
  91. // ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
  92. // return 1;
  93. //}
  94. CMD:setskin(playerid, params[])
  95. {
  96. new targetid, skinid;
  97. if(sscanf(params, "ud", targetid, skinid)) return SendClientMessage(playerid, -1, "/setskin [playerid] [skin]");
  98. SetPlayerSkin(targetid, skinid);
  99. return 1;
  100. }
  101. new nametagsstatus;
  102. CMD:playernametags(playerid, params[])
  103. {
  104. if(sscanf(params, "i", nametagsstatus))
  105. {
  106. return SendClientMessage(playerid, -1, "/playernametags [1 = on, 0 = off]");
  107. }
  108. if(nametagsstatus == 0)
  109. {
  110. SendClientMessage(playerid, -1, "nametags have been enabled.");
  111. for(new i = 0; i < MAX_PLAYERS; i++)
  112. {
  113. ShowPlayerNameTagForPlayer(i, playerid, 1);
  114. }
  115. for(new i = 0; i < MAX_PLAYERS; i++)
  116. {
  117. ShowPlayerNameTagForPlayer(playerid, i, 1);
  118. }
  119. }
  120. else if(nametagsstatus == 1)
  121. {
  122. SendClientMessage(playerid, -1, "nametags have been disabled");
  123. for(new i = 0; i < MAX_PLAYERS; i++)
  124. {
  125. ShowPlayerNameTagForPlayer(i, playerid, 0);
  126. }
  127. for(new i = 0; i < MAX_PLAYERS; i++)
  128. {
  129. ShowPlayerNameTagForPlayer(playerid, i, 0);
  130. }
  131. }
  132. return 1;
  133. }
  134. CMD:ta(playerid, params[])
  135. {
  136. new slot, model, bone;
  137. if(sscanf(params, "ddd", slot, model, bone)) return SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /ta [slot] [model] [bone]");
  138. SetPlayerAttachedObject(playerid, slot, model, bone);
  139. return 1;
  140. }
  141. CMD:td(playerid, params[])
  142. {
  143. new slot;
  144. if(sscanf(params, "ddd", slot)) return SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /td [slot]");
  145. RemovePlayerAttachedObject(playerid, slot);
  146. return 1;
  147. }
  148. CMD:te(playerid, params[])
  149. {
  150. new slot;
  151. if(sscanf(params, "d", slot)) return SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /te [slot]");
  152. EditAttachedObject(playerid, slot);
  153. return 1;
  154. }
  155. CMD:tbones(playerid, params[])
  156. {
  157. SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
  158. SendClientMessage(playerid, COLOR_GRAD1, "1 Spine, 2 Head, 3 Left upper arm, 4 Right upper arm");
  159. SendClientMessage(playerid, COLOR_GRAD1, "5 Left hand, 6 Right hand, 7 Left thigh, 8 Right thigh");
  160. SendClientMessage(playerid, COLOR_GRAD1, "9 Left foot, 10 Right foot, 11 Right calf, 12 Left calf");
  161. SendClientMessage(playerid, COLOR_GRAD1, "13 Left forearm, 14 Right forearm, 15 Left clavicle (shoulder)");
  162. SendClientMessage(playerid, COLOR_GRAD1, "16 Right clavicle (shoulder), 17 Neck, 18 Jaw");
  163. SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
  164. return 1;
  165. }
  166. CMD:anim(playerid, params[]) return cmd_animhelp(playerid, params);
  167. CMD:anims(playerid, params[]) return cmd_animhelp(playerid, params);
  168. CMD:animations(playerid, params[]) return cmd_animhelp(playerid, params);
  169. CMD:animhelp(playerid, params[])
  170. {
  171. SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
  172. SendClientMessage(playerid, COLOR_GRAD1, "/handsup, /drunk, /cry, /bomb, /wank, /putmask, /hitch, /scratchballs, /rap /showoff, /dance, /dodge.");
  173. SendClientMessage(playerid, COLOR_GRAD1, "/dj, /what, /lean, /vomit, /getjiggy, /aim, /greet, /fuckme, /cheer, /cpr, /kiss, /gift, /stand.");
  174. SendClientMessage(playerid, COLOR_GRAD2, "/fallover, /taichi, /walk, /slapass, /laugh, /bj, /piss, /stop, /crack, /exhausted, /signal, /followme.");
  175. SendClientMessage(playerid, COLOR_GRAD2, "/gesture, /panic, /strip, /wave, /smoke, /washhands, /salute, /crossarms, /sitdown, /relax, /sit, /dive.");
  176. SendClientMessage(playerid, COLOR_GRAD3, "/deal, /bitchslap, /reload, /checktime, /siteat, /eatfood, /chat, /drinkwater, /bat, /opendoor, /carry.");
  177. SendClientMessage(playerid, COLOR_GRAD3, "/wavedown, /box, /tag, /goggles, /throw, /robbed, /bar, /idle, /carchat, /slapass, /sunbathe, /snatch.");
  178. SendClientMessage(playerid, COLOR_GRAD4, "/sneak, /copa, /swata, /holdcue, /sitonchair, /trunkput, /lowbarge, /airkick /elbow, /runcuffed.");
  179. SendClientMessage(playerid, COLOR_GRAD4, "/cellin, /cellout, /celebrate, /responses, /bed, /face, /camera, /gym.");
  180. SendClientMessage(playerid, COLOR_ERROR, "Use /(s)top(a)nim to stop the animation.");
  181. SendClientMessage(playerid, COLOR_GREEN, "______________________________________________________________________________");
  182. return 1;
  183. }
  184. CMD:sa(playerid, params[])
  185. {
  186. return cmd_stopanim(playerid, params);
  187. }
  188. CMD:stopanim(playerid, params[])
  189. {
  190. if(!PlayerUseAnims(playerid))
  191. {
  192. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use this command at this moment.");
  193. }
  194. ClearAnimations(playerid, 1);
  195. SetPlayerSpecialAction(playerid, 0);
  196. ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.1, 0, 0, 0, 0, 0, 1);
  197. SendClientMessage(playerid, COLOR_ERROR, "Animations cleared.");
  198. return 1;
  199. }
  200. CMD:trunkput(playerid, params[])
  201. {
  202. if(!PlayerUseAnims(playerid))
  203. {
  204. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  205. }
  206. ApplyAnimationEx(playerid, "GANGS", "shake_cara", 4.1, 0, 0, 0, 0, 0);
  207. return 1;
  208. }
  209. CMD:lowbarge(playerid, params[])
  210. {
  211. if(!PlayerUseAnims(playerid))
  212. {
  213. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  214. }
  215. ApplyAnimationEx(playerid, "GANGS", "shake_carSH", 4.1, 0, 0, 0, 0, 0);
  216. return 1;
  217. }
  218. CMD:piss(playerid, params[])
  219. {
  220. if(!PlayerUseAnims(playerid))
  221. {
  222. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  223. }
  224. SetPlayerSpecialAction(playerid, 68);
  225. return 1;
  226. }
  227. CMD:cellin(playerid, params[])
  228. {
  229. if(!PlayerUseAnims(playerid))
  230. {
  231. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  232. }
  233. SetPlayerSpecialAction(playerid, 11);
  234. return 1;
  235. }
  236. CMD:cellout(playerid, params[])
  237. {
  238. if(!PlayerUseAnims(playerid))
  239. {
  240. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  241. }
  242. SetPlayerSpecialAction(playerid, 13);
  243. return 1;
  244. }
  245. CMD:carry(playerid, params[])
  246. {
  247. if(!PlayerUseAnims(playerid))
  248. {
  249. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  250. }
  251. switch(strval(params))
  252. {
  253. case 1: ApplyAnimationEx(playerid, "CARRY", "crry_prtial", 4.1, 0, 0, 0, 1, 1, 0);
  254. case 2: ApplyAnimationEx(playerid, "CARRY", "liftup", 4.1, 0, 1, 1, 1, 0, 0);
  255. case 3: ApplyAnimationEx(playerid, "CARRY", "liftup05", 4.1, 0, 1, 1, 1, 0, 0);
  256. case 4: ApplyAnimationEx(playerid, "CARRY", "liftup105", 4.1, 0, 1, 1, 1, 0, 0);
  257. case 5: ApplyAnimationEx(playerid, "CARRY", "putdwn", 4.1, 0, 1, 1, 1, 0, 0);
  258. case 6: ApplyAnimationEx(playerid, "CARRY", "putdwn05", 4.1, 0, 1, 1, 1, 0, 0);
  259. case 7: ApplyAnimationEx(playerid, "CARRY", "putdwn105", 4.1, 0, 1, 1, 1, 0, 0);
  260. case 8: SetPlayerSpecialAction(playerid, 25);
  261. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /carry [1-8]");
  262. }
  263. return 1;
  264. }
  265. CMD:camera(playerid, params[])
  266. {
  267. if(!PlayerUseAnims(playerid))
  268. {
  269. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  270. }
  271. switch(strval(params))
  272. {
  273. case 1: ApplyAnimationEx(playerid, "CAMERA", "camcrch_cmon", 4.1, 0, 1, 1, 1, 0, 0);
  274. case 2: ApplyAnimationEx(playerid, "CAMERA", "camcrch_idleloop", 4.1, 0, 1, 1, 1, 0, 0);
  275. case 3: ApplyAnimationEx(playerid, "CAMERA", "camcrch_to_camstnd", 4.1, 0, 1, 1, 1, 0, 0);
  276. case 4: ApplyAnimationEx(playerid, "CAMERA", "camstnd_cmon", 4.1, 0, 1, 1, 1, 0, 0);
  277. case 5: ApplyAnimationEx(playerid, "CAMERA", "camstnd_idleloop", 4.1, 0, 1, 1, 1, 0, 0);
  278. case 6: ApplyAnimationEx(playerid, "CAMERA", "camstnd_lkabt", 4.1, 0, 1, 1, 1, 0, 0);
  279. case 7: ApplyAnimationEx(playerid, "CAMERA", "camstnd_to_camrcrch", 4.1, 0, 1, 1, 1, 0, 0);
  280. case 8: ApplyAnimationEx(playerid, "CAMERA", "piccrch_in", 4.1, 0, 1, 1, 1, 0, 0);
  281. case 9: ApplyAnimationEx(playerid, "CAMERA", "piccrch_take", 4.1, 0, 1, 1, 1, 0, 0);
  282. case 10: ApplyAnimationEx(playerid, "CAMERA", "picstnd_in", 4.1, 0, 1, 1, 1, 0, 0);
  283. case 11: ApplyAnimationEx(playerid, "CAMERA", "picstnd_out", 4.1, 0, 1, 1, 1, 0, 0);
  284. case 12: ApplyAnimationEx(playerid, "CAMERA", "picstnd_take", 4.1, 0, 1, 1, 1, 0, 0);
  285. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /camera [1-12]");
  286. }
  287. return 1;
  288. }
  289. CMD:throw(playerid, params[])
  290. {
  291. if(!PlayerUseAnims(playerid))
  292. {
  293. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  294. }
  295. ApplyAnimationEx(playerid, "GRENADE", "WEAPON_throw", 4.1, 0, 0, 0, 0, 0);
  296. return 1;
  297. }
  298. CMD:robbed(playerid, params[])
  299. {
  300. if(!PlayerUseAnims(playerid))
  301. {
  302. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  303. }
  304. ApplyAnimationEx(playerid, "SHOP", "SHP_Rob_GiveCash", 4.1, 1, 0, 0, 0, 0);
  305. return 1;
  306. }
  307. CMD:sneak(playerid, params[])
  308. {
  309. if(!PlayerUseAnims(playerid))
  310. {
  311. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  312. }
  313. ApplyAnimationEx(playerid, "PED", "Player_Sneak", 4.1, 1, 1, 1, 1, 1);
  314. return 1;
  315. }
  316. CMD:runcuffed(playerid, params[])
  317. {
  318. if(!PlayerUseAnims(playerid))
  319. {
  320. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  321. }
  322. ApplyAnimationEx(playerid, "SWORD", "sword_block", 4.1, 0, 1, 1, 1, 1);
  323. return 1;
  324. }
  325. CMD:airkick(playerid, params[])
  326. {
  327. if(!PlayerUseAnims(playerid))
  328. {
  329. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  330. }
  331. ApplyAnimationEx(playerid, "FIGHT_C", "FightC_M", 4.1, 0, 1, 1, 0, 0);
  332. return 1;
  333. }
  334. CMD:elbow(playerid, params[])
  335. {
  336. if(!PlayerUseAnims(playerid))
  337. {
  338. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  339. }
  340. ApplyAnimationEx(playerid, "FIGHT_D", "FightD_3", 4.1, 0, 1, 1, 0, 0);
  341. return 1;
  342. }
  343. CMD:taichi(playerid, params[])
  344. {
  345. if(!PlayerUseAnims(playerid))
  346. {
  347. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  348. }
  349. ApplyAnimationEx(playerid, "PARK", "Tai_Chi_Loop", 4.1, 1, 0, 0, 0, 0);
  350. return 1;
  351. }
  352. CMD:fucku(playerid, params[])
  353. {
  354. if(!PlayerUseAnims(playerid))
  355. {
  356. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  357. }
  358. ApplyAnimationEx(playerid, "PED", "fucku", 4.1, 0, 0, 0, 0, 0);
  359. return 1;
  360. }
  361. CMD:crack(playerid, params[])
  362. {
  363. if(!PlayerUseAnims(playerid))
  364. {
  365. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  366. }
  367. switch(strval(params))
  368. {
  369. case 1: ApplyAnimationEx(playerid, "CRACK", "crckdeth1", 4.1, 0, 0, 0, 1, 0);
  370. case 2: ApplyAnimationEx(playerid, "CRACK", "crckdeth2", 4.1, 1, 0, 0, 0, 0);
  371. case 3: ApplyAnimationEx(playerid, "CRACK", "crckdeth3", 4.1, 0, 0, 0, 1, 0);
  372. case 4: ApplyAnimationEx(playerid, "CRACK", "crckdeth4", 4.1, 0, 0, 0, 1, 0);
  373. case 5: ApplyAnimationEx(playerid, "CRACK", "crckidle1", 4.1, 0, 1, 1, 1, 0, 0);
  374. case 6: ApplyAnimationEx(playerid, "CRACK", "crckidle2", 4.1, 0, 1, 1, 1, 0, 0);
  375. case 7: ApplyAnimationEx(playerid, "CRACK", "crckidle3", 4.1, 0, 1, 1, 1, 0, 0);
  376. case 8: ApplyAnimationEx(playerid, "CRACK", "crckidle4", 4.1, 0, 1, 1, 1, 0, 0);
  377. case 9: ApplyAnimationEx(playerid, "SWAT", "gnstwall_injurd", 4.1, 0, 1, 1, 1, 0, 0);
  378. case 10: ApplyAnimationEx(playerid, "SWEET", "Sweet_injuredloop", 4.1, 1, 0, 0, 0, 0);
  379. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /crack [1-10]");
  380. }
  381. return 1;
  382. }
  383. CMD:vomit(playerid, params[])
  384. {
  385. if(!PlayerUseAnims(playerid))
  386. {
  387. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  388. }
  389. ApplyAnimationEx(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  390. return 1;
  391. }
  392. CMD:panic(playerid, params[])
  393. {
  394. if(!PlayerUseAnims(playerid))
  395. {
  396. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  397. }
  398. switch(strval(params))
  399. {
  400. case 1: ApplyAnimationEx(playerid, "PED", "cower", 4.1, 1, 1, 1, 1, 0, 0);
  401. case 2: ApplyAnimationEx(playerid, "PED", "DUCK_cower", 4.1, 0, 1, 1, 1, 0, 0);
  402. case 3: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_cower", 4.1, 0, 1, 1, 1, 0, 0);
  403. case 4: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_hide", 4.1, 0, 1, 1, 1, 0, 0);
  404. case 5: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_loop", 4.1, 1, 1, 1, 1, 0, 0);
  405. case 6: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_point", 4.1, 1, 1, 1, 1, 0, 0);
  406. case 7: ApplyAnimationEx(playerid, "ON_LOOKERS", "panic_shout", 4.1, 1, 1, 1, 1, 0, 0);
  407. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /scared [1-7]");
  408. }
  409. return 1;
  410. }
  411. CMD:putmask(playerid, params[])
  412. {
  413. if(!PlayerUseAnims(playerid))
  414. {
  415. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  416. }
  417. ApplyAnimationEx(playerid, "SHOP", "ROB_Shifty", 4.1, 0, 0, 0, 0, 0);
  418. return 1;
  419. }
  420. CMD:laugh(playerid, params[])
  421. {
  422. if(!PlayerUseAnims(playerid))
  423. {
  424. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  425. }
  426. ApplyAnimationEx(playerid, "RAPPING", "Laugh_01", 4.1, 0, 0, 0, 0, 0);
  427. return 1;
  428. }
  429. CMD:aim(playerid, params[])
  430. {
  431. if(!PlayerUseAnims(playerid))
  432. {
  433. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  434. }
  435. switch(strval(params))
  436. {
  437. case 1: ApplyAnimationEx(playerid, "ped", "ARRESTgun", 4.1, 0, 1, 1, 1, 0);
  438. case 2: ApplyAnimationEx(playerid, "SHOP", "ROB_Loop_Threat", 4.1, 0, 1, 1, 1, 0, 0);
  439. case 3: ApplyAnimationEx(playerid, "SHOP", "SHP_Gun_Aim", 4.1, 0, 1, 1, 1, 0, 0);
  440. case 4: ApplyAnimationEx(playerid, "SHOP", "SHP_Gun_Threat", 4.1, 0, 1, 1, 1, 0, 0);
  441. case 5: ApplyAnimationEx(playerid, "PED", "Driveby_L", 4.1, 0, 1, 1, 1, 0, 0);
  442. case 6: ApplyAnimationEx(playerid, "PED", "Driveby_R", 4.1, 0, 1, 1, 1, 0, 0);
  443. case 7: ApplyAnimationEx(playerid, "PED", "gang_gunstand", 4.1, 1, 1, 1, 1, 0, 0);
  444. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /aim [1-7]");
  445. }
  446. return 1;
  447. }
  448. CMD:bed(playerid, params[])
  449. {
  450. if(!PlayerUseAnims(playerid))
  451. {
  452. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  453. }
  454. switch(strval(params))
  455. {
  456. case 1: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_In_L", 4.1, 0, 1, 1, 1, 1);
  457. case 2: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_In_R", 4.1, 0, 1, 1, 1, 1);
  458. case 3: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_Loop_L", 4.0, 1, 0, 0, 0, 0);
  459. case 4: ApplyAnimationEx(playerid, "INT_HOUSE", "BED_Loop_R", 4.0, 1, 0, 0, 0, 0);
  460. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bed [1-4]");
  461. }
  462. return 1;
  463. }
  464. CMD:bomb(playerid, params[])
  465. {
  466. if(!PlayerUseAnims(playerid))
  467. {
  468. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  469. }
  470. switch(strval(params))
  471. {
  472. case 1: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 0, 0, 0, 0);
  473. case 2: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_2Idle", 4.1, 0, 1, 1, 0, 0);
  474. case 3: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_In", 4.1, 0, 1, 1, 1, 0);
  475. case 4: ApplyAnimationEx(playerid, "BOMBER", "BOM_Plant_Loop", 4.1, 1, 0, 0, 1, 0);
  476. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bomb [1-4]");
  477. }
  478. return 1;
  479. }
  480. CMD:drunk(playerid, params[])
  481. {
  482. if(!PlayerUseAnims(playerid))
  483. {
  484. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  485. }
  486. ApplyAnimationEx(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1);
  487. return 1;
  488. }
  489. CMD:slapass(playerid, params[])
  490. {
  491. if(!PlayerUseAnims(playerid))
  492. {
  493. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  494. }
  495. ApplyAnimationEx(playerid, "SWEET", "sweet_ass_slap", 4.1, 0, 0, 0, 0, 0);
  496. return 1;
  497. }
  498. CMD:gift(playerid, params[])
  499. {
  500. if(!PlayerUseAnims(playerid))
  501. {
  502. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  503. }
  504. ApplyAnimationEx(playerid, "KISSING", "gift_give", 4.1, 0, 0, 0, 0, 0);
  505. return 1;
  506. }
  507. CMD:cpr(playerid, params[])
  508. {
  509. if(!PlayerUseAnims(playerid))
  510. {
  511. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  512. }
  513. ApplyAnimationEx(playerid, "MEDIC", "CPR", 4.1, 0, 0, 0, 0, 0);
  514. return 1;
  515. }
  516. CMD:bitchslap(playerid, params[])
  517. {
  518. if(!PlayerUseAnims(playerid))
  519. {
  520. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  521. }
  522. ApplyAnimationEx(playerid, "MISC", "bitchslap", 4.1, 0, 0, 0, 0, 0);
  523. return 1;
  524. }
  525. CMD:hitch(playerid, params[])
  526. {
  527. if(!PlayerUseAnims(playerid))
  528. {
  529. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  530. }
  531. switch(strval(params))
  532. {
  533. case 1: ApplyAnimationEx(playerid, "MISC", "Hiker_Pose", 4.1, 1, 0, 0, 0, 0);
  534. case 2: ApplyAnimationEx(playerid, "MISC", "Hiker_Pose_L", 4.1, 1, 0, 0, 0, 0);
  535. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /hitch [1-2]");
  536. }
  537. return 1;
  538. }
  539. CMD:stand(playerid, params[])
  540. {
  541. if(!PlayerUseAnims(playerid))
  542. {
  543. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  544. }
  545. switch(strval(params))
  546. {
  547. case 1: ApplyAnimationEx(playerid, "PED", "car_hookertalk", 4.1, 0, 0, 0, 1, 0, 0);
  548. case 2: ApplyAnimationEx(playerid, "PED", "IDLE_HBHB", 4.1, 0, 0, 0, 1, 0, 0);
  549. case 3: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE_02", 4.1, 0, 0, 0, 1, 0, 0);
  550. case 4: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE_03", 4.1, 0, 0, 0, 1, 0, 0);
  551. case 5: ApplyAnimationEx(playerid, "GANGS", "DEALER_IDLE", 4.1, 0, 0, 0, 1, 0, 0);
  552. case 6: ApplyAnimationEx(playerid, "FAT", "FatIdle", 4.1, 0, 0, 0, 1, 0, 0);
  553. case 7: ApplyAnimationEx(playerid, "PED", "Idlestance_fat", 4.1, 0, 0, 0, 1, 0, 0);
  554. case 8: ApplyAnimationEx(playerid, "PED", "idlestance_old", 4.1, 0, 0, 0, 1, 0, 0);
  555. case 9: ApplyAnimationEx(playerid, "PED", "IDLE_armed", 4.1, 0, 0, 0, 1, 0, 0);
  556. case 10: ApplyAnimationEx(playerid, "BD_FIRE", "BD_Panic_Loop", 4.1, 0, 0, 0, 1, 0, 0);
  557. case 11: ApplyAnimation(playerid, "OTB", "wtchrace_loop", 4.1, 1, 1, 1, 1, 0, 0);
  558. case 12: ApplyAnimationEx(playerid, "WUZI", "Wuzi_stand_loop", 4.1, 1, 0, 0, 0, 0);
  559. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /stand [1-12]");
  560. }
  561. return 1;
  562. }
  563. CMD:celebrate(playerid, params[])
  564. {
  565. if(!PlayerUseAnims(playerid))
  566. {
  567. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  568. }
  569. switch(strval(params))
  570. {
  571. case 1: ApplyAnimationEx(playerid, "benchpress", "gym_bp_celebrate", 4.1, 1, 0, 0, 0, 0);
  572. case 2: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_celebrate", 4.1, 1, 0, 0, 0, 0);
  573. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /celebrate [1-2]");
  574. }
  575. return 1;
  576. }
  577. CMD:gym(playerid, params[])
  578. {
  579. if(!PlayerUseAnims(playerid))
  580. {
  581. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  582. }
  583. switch(strval(params))
  584. {
  585. case 1: ApplyAnimationEx(playerid, "Freeweights", "gym_barbell", 4.1, 1, 0, 0, 0, 0, 0);
  586. case 2: ApplyAnimationEx(playerid, "Freeweights", "gym_free_A", 4.1, 0, 0, 0, 0, 0, 0);
  587. case 3: ApplyAnimationEx(playerid, "Freeweights", "gym_free_B", 4.1, 0, 0, 0, 0, 0, 0);
  588. case 4: ApplyAnimationEx(playerid, "Freeweights", "gym_free_celebrate", 4.1, 0, 0, 0, 0, 0, 0);
  589. case 5: ApplyAnimationEx(playerid, "Freeweights", "gym_free_down", 4.1, 0, 0, 0, 0, 0, 0);
  590. case 6: ApplyAnimationEx(playerid, "Freeweights", "gym_free_loop", 4.1, 1, 0, 0, 0, 0, 0);
  591. case 7: ApplyAnimationEx(playerid, "Freeweights", "gym_free_pickup", 4.1, 0, 0, 0, 0, 0, 0);
  592. case 8: ApplyAnimationEx(playerid, "Freeweights", "gym_free_putdown", 4.1, 0, 0, 0, 0, 0, 0);
  593. case 9: ApplyAnimationEx(playerid, "Freeweights", "gym_free_up_smooth", 4.1, 0, 0, 0, 0, 0, 0);
  594. case 10: ApplyAnimationEx(playerid, "benchpress", "gym_bp_celebrate", 4.1, 0, 0, 0, 0, 0, 0);
  595. case 11: ApplyAnimationEx(playerid, "benchpress", "gym_bp_down", 4.1, 1, 0, 0, 0, 0, 0);
  596. case 12: ApplyAnimationEx(playerid, "benchpress", "gym_bp_getoff", 4.1, 0, 0, 0, 0, 0, 0);
  597. case 13: ApplyAnimationEx(playerid, "benchpress", "gym_bp_geton", 4.1, 0, 0, 0, 0, 0, 0);
  598. case 14: ApplyAnimationEx(playerid, "benchpress", "gym_bp_up_A", 4.1, 1, 0, 0, 0, 0, 0);
  599. case 15: ApplyAnimationEx(playerid, "benchpress", "gym_bp_up_B", 4.1, 1, 0, 0, 0, 0, 0);
  600. case 16: ApplyAnimationEx(playerid, "benchpress", "gym_bp_up_smooth", 4.1, 1, 0, 0, 0, 0, 0);
  601. case 17: ApplyAnimationEx(playerid, "PED", "XPRESSscratch", 4.1, 1, 0, 0, 0, 0, 0);
  602. case 18: ApplyAnimationEx(playerid, "PLAYIDLES", "stretch", 4.1, 1, 0, 0, 0, 0, 0);
  603. case 19: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_bike_faster", 4.1, 1, 0, 0, 0, 0, 0);
  604. case 20: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_bike_pedal", 4.1, 1, 0, 0, 0, 0, 0);
  605. case 21: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_celebrate", 4.1, 0, 0, 0, 0, 0, 0);
  606. case 22: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_falloff", 4.1, 0, 0, 0, 0, 0, 0);
  607. case 23: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_getoff", 4.1, 0, 0, 0, 0, 0, 0);
  608. case 24: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_geton", 4.1, 0, 0, 0, 0, 0, 0);
  609. case 25: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_jog", 4.1, 0, 0, 0, 0, 0, 0);
  610. case 26: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_sprint", 4.1, 0, 0, 0, 0, 0, 0);
  611. case 27: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_tired", 4.1, 0, 0, 0, 0, 0, 0);
  612. case 28: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_tread_walk", 4.1, 0, 0, 0, 0, 0, 0);
  613. case 29: ApplyAnimationEx(playerid, "GYMNASIUM", "gym_walk_falloff", 4.1, 0, 0, 0, 0, 0, 0);
  614. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /gym [1-29]");
  615. }
  616. return 1;
  617. }
  618. CMD:greet(playerid, params[])
  619. {
  620. if(!PlayerUseAnims(playerid))
  621. {
  622. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  623. }
  624. ApplyAnimationEx(playerid, "WUZI", "Wuzi_Greet_Wuzi", 4.1, 0, 0, 0, 0, 0);
  625. return 1;
  626. }
  627. CMD:followme(playerid, params[])
  628. {
  629. if(!PlayerUseAnims(playerid))
  630. {
  631. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  632. }
  633. ApplyAnimationEx(playerid, "WUZI", "Wuzi_follow", 4.1, 0, 0, 0, 0, 0);
  634. return 1;
  635. }
  636. CMD:what(playerid, params[])
  637. {
  638. if(!PlayerUseAnims(playerid))
  639. {
  640. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  641. }
  642. ApplyAnimationEx(playerid, "RIOT", "RIOT_ANGRY", 4.1, 0, 0, 0, 0, 0);
  643. return 1;
  644. }
  645. CMD:cry(playerid, params[])
  646. {
  647. if(!PlayerUseAnims(playerid))
  648. {
  649. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  650. }
  651. switch(strval(params))
  652. {
  653. case 1: ApplyAnimationEx(playerid, "GRAVEYARD", "mrnF_loop", 4.1, 1, 0, 0, 0, 0);
  654. case 2: ApplyAnimationEx(playerid, "GRAVEYARD", "mrnM_loop", 4.1, 1, 0, 0, 0, 0);
  655. case 3: ApplyAnimationEx(playerid, "GRAVEYARD", "prst_loopa", 4.1, 0, 1, 1, 1, 0, 0);
  656. }
  657. return 1;
  658. }
  659. CMD:washhands(playerid, params[])
  660. {
  661. if(!PlayerUseAnims(playerid))
  662. {
  663. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  664. }
  665. ApplyAnimationEx(playerid, "BD_FIRE", "wash_up", 4.1, 0, 0, 0, 0, 0);
  666. return 1;
  667. }
  668. CMD:stop(playerid, params[])
  669. {
  670. if(!PlayerUseAnims(playerid))
  671. {
  672. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  673. }
  674. ApplyAnimationEx(playerid, "PED", "endchat_01", 4.1, 0, 0, 0, 0, 0);
  675. return 1;
  676. }
  677. CMD:salute(playerid, params[])
  678. {
  679. if(!PlayerUseAnims(playerid))
  680. {
  681. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  682. }
  683. ApplyAnimationEx(playerid, "ON_LOOKERS", "Pointup_loop", 4.1, 0, 0, 0, 0, 0);
  684. return 1;
  685. }
  686. CMD:scratchballs(playerid, params[])
  687. {
  688. if(!PlayerUseAnims(playerid))
  689. {
  690. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  691. }
  692. ApplyAnimationEx(playerid, "MISC", "Scratchballs_01", 4.1, 0, 0, 0, 0, 0);
  693. return 1;
  694. }
  695. CMD:showoff(playerid, params[])
  696. {
  697. if(!PlayerUseAnims(playerid))
  698. {
  699. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  700. }
  701. ApplyAnimationEx(playerid, "Freeweights", "gym_free_celebrate", 4.1, 0, 0, 0, 0, 0);
  702. return 1;
  703. }
  704. CMD:dive(playerid, params[])
  705. {
  706. if(!PlayerUseAnims(playerid))
  707. {
  708. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  709. }
  710. ApplyAnimationEx(playerid, "DODGE", "Crush_Jump", 4.1, 0, 1, 1, 1, 0);
  711. return 1;
  712. }
  713. CMD:relax(playerid, params[])
  714. {
  715. if(!PlayerUseAnims(playerid))
  716. {
  717. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  718. }
  719. ApplyAnimationEx(playerid, "CRACK", "crckidle1", 4.1, 0, 1, 1, 1, -1);
  720. return 1;
  721. }
  722. CMD:checktime(playerid, params[])
  723. {
  724. if(!PlayerUseAnims(playerid))
  725. {
  726. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  727. }
  728. ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_watch", 4.1, 0, 0, 0, 0, 0);
  729. return 1;
  730. }
  731. CMD:eatfood(playerid, params[])
  732. {
  733. if(!PlayerUseAnims(playerid))
  734. {
  735. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  736. }
  737. ApplyAnimationEx(playerid, "FOOD", "EAT_Burger", 4.1, 1, 0, 0, 0, 0);
  738. return 1;
  739. }
  740. CMD:drinkwater(playerid, params[])
  741. {
  742. if(!PlayerUseAnims(playerid))
  743. {
  744. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  745. }
  746. ApplyAnimationEx(playerid, "BAR", "dnk_stndF_loop", 4.1, 1, 0, 0, 0, 0);
  747. return 1;
  748. }
  749. CMD:opendoor(playerid, params[])
  750. {
  751. if(!PlayerUseAnims(playerid))
  752. {
  753. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  754. }
  755. ApplyAnimationEx(playerid, "AIRPORT", "thrw_barl_thrw", 4.1, 0, 0, 0, 0, 0);
  756. return 1;
  757. }
  758. CMD:box(playerid, params[])
  759. {
  760. if(!PlayerUseAnims(playerid))
  761. {
  762. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  763. }
  764. ApplyAnimationEx(playerid, "GYMNASIUM", "GYMshadowbox", 4.1, 1, 0, 0, 0, 0);
  765. return 1;
  766. }
  767. CMD:wavedown(playerid, params[])
  768. {
  769. if(!PlayerUseAnims(playerid))
  770. {
  771. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  772. }
  773. ApplyAnimationEx(playerid, "BD_FIRE", "BD_Panic_01", 4.1, 0, 0, 0, 0, 0);
  774. return 1;
  775. }
  776. CMD:goggles(playerid, params[])
  777. {
  778. if(!PlayerUseAnims(playerid))
  779. {
  780. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  781. }
  782. ApplyAnimationEx(playerid, "goggles", "goggles_put_on", 4.1, 0, 0, 0, 0, 0);
  783. return 1;
  784. }
  785. CMD:snatch(playerid, params[])
  786. {
  787. if(!PlayerUseAnims(playerid))
  788. {
  789. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  790. }
  791. switch(strval(params))
  792. {
  793. case 1: ApplyAnimationEx(playerid, "PED", "BIKE_elbowL", 4.1, 0, 0, 0, 0, 0);
  794. case 2: ApplyAnimationEx(playerid, "PED", "BIKE_elbowR", 4.1, 0, 0, 0, 0, 0);
  795. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /snatch [1-2]");
  796. }
  797. return 1;
  798. }
  799. CMD:copa(playerid, params[])
  800. {
  801. if(!PlayerUseAnims(playerid))
  802. {
  803. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  804. }
  805. switch(strval(params))
  806. {
  807. case 1: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Away", 4.1, 0, 0, 0, 0, 0);
  808. case 2: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Come", 4.1, 0, 0, 0, 0, 0);
  809. case 3: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Left", 4.1, 0, 0, 0, 0, 0);
  810. case 4: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Stop", 4.1, 0, 0, 0, 0, 0);
  811. case 5: ApplyAnimationEx(playerid, "POLICE", "Cop_move_FWD", 4.1, 1, 1, 1, 1, 1);
  812. case 6: ApplyAnimationEx(playerid, "POLICE", "crm_drgbst_01", 4.1, 0, 0, 0, 1, 5000);
  813. case 7: ApplyAnimationEx(playerid, "POLICE", "Door_Kick", 4.1, 0, 1, 1, 0, 1);
  814. case 8: ApplyAnimationEx(playerid, "POLICE", "plc_drgbst_01", 4.1, 0, 0, 0, 0, 5000);
  815. case 9: ApplyAnimationEx(playerid, "POLICE", "plc_drgbst_02", 4.1, 0, 0, 0, 0, 0);
  816. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /copa [1-9]");
  817. }
  818. return 1;
  819. }
  820. CMD:swata(playerid, params[])
  821. {
  822. if(!PlayerUseAnims(playerid))
  823. {
  824. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  825. }
  826. switch(strval(params))
  827. {
  828. case 1: ApplyAnimationEx(playerid, "SWAT", "JMP_Wall1m_180", 4.1, 0, 1, 1, 1, 0);
  829. case 2: ApplyAnimationEx(playerid, "SWAT", "Rail_fall", 4.1, 0, 1, 1, 1, 0);
  830. case 3: ApplyAnimationEx(playerid, "SWAT", "Rail_fall_crawl", 4.1, 0, 1, 1, 1, 0);
  831. case 4: ApplyAnimationEx(playerid, "SWAT", "swt_breach_01", 4.1, 0, 1, 1, 1, 0);
  832. case 5: ApplyAnimationEx(playerid, "SWAT", "swt_breach_02", 4.1, 0, 1, 1, 1, 0);
  833. case 6: ApplyAnimationEx(playerid, "SWAT", "swt_breach_03", 4.1, 0, 1, 1, 1, 0);
  834. case 7: ApplyAnimationEx(playerid, "SWAT", "swt_go", 4.1, 0, 0, 0, 0, 0);
  835. case 8: ApplyAnimationEx(playerid, "SWAT", "swt_lkt", 4.1, 0, 0, 0, 0, 0);
  836. case 9: ApplyAnimationEx(playerid, "SWAT", "swt_sty", 4.1, 0, 0, 0, 0, 0);
  837. case 10: ApplyAnimationEx(playerid, "SWAT", "swt_vent_01", 4.1, 0, 1, 1, 0, 0);
  838. case 11: ApplyAnimationEx(playerid, "SWAT", "swt_vent_02", 4.1, 0, 1, 1, 0, 0);
  839. case 12: ApplyAnimationEx(playerid, "SWAT", "swt_vnt_sht_in", 4.1, 0, 1, 1, 1, 0);
  840. case 13: ApplyAnimationEx(playerid, "SWAT", "swt_wllpk_L", 4.1, 0, 1, 1, 1, 0);
  841. case 14: ApplyAnimationEx(playerid, "SWAT", "swt_wllpk_R", 4.1, 0, 1, 1, 1, 0);
  842. case 15: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_in_L", 4.1, 0, 1, 1, 1, 0);
  843. case 16: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_in_R", 4.1, 0, 1, 1, 1, 0);
  844. case 17: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_out_L", 4.1, 0, 1, 1, 0, 0);
  845. case 18: ApplyAnimationEx(playerid, "SWAT", "swt_wllshoot_out_R", 4.1, 0, 1, 1, 0, 0);
  846. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /swata [1-18]");
  847. }
  848. return 1;
  849. }
  850. CMD:strip(playerid, params[])
  851. {
  852. if(!PlayerUseAnims(playerid))
  853. {
  854. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  855. }
  856. switch(strval(params))
  857. {
  858. case 1: ApplyAnimationEx(playerid, "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
  859. case 2: ApplyAnimationEx(playerid, "STRIP", "strip_G", 4.1, 1, 0, 0, 0, 0);
  860. case 3: ApplyAnimationEx(playerid, "STRIP", "STR_A2B", 4.1, 1, 0, 0, 0, 0);
  861. case 4: ApplyAnimationEx(playerid, "STRIP", "STR_Loop_A", 4.1, 1, 0, 0, 0, 0);
  862. case 5: ApplyAnimationEx(playerid, "STRIP", "STR_Loop_B", 4.1, 1, 0, 0, 0, 0);
  863. case 6: ApplyAnimationEx(playerid, "STRIP", "STR_Loop_C", 4.1, 1, 0, 0, 0, 0);
  864. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /strip [1-6]");
  865. }
  866. return 1;
  867. }
  868. CMD:holdcue(playerid, params[])
  869. {
  870. if(!PlayerUseAnims(playerid))
  871. {
  872. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  873. }
  874. switch(strval(params))
  875. {
  876. case 1: ApplyAnimationEx(playerid, "POOL", "POOL_ChalkCue", 4.1, 0, 1, 1, 1, 1);
  877. case 2: ApplyAnimationEx(playerid, "POOL", "POOL_Idle_Stance", 4.1, 0, 1, 1, 1, 1);
  878. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /holdcue [1-2]");
  879. }
  880. return 1;
  881. }
  882. CMD:idle(playerid, params[])
  883. {
  884. if(!PlayerUseAnims(playerid))
  885. {
  886. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  887. }
  888. switch(strval(params))
  889. {
  890. case 1: ApplyAnimationEx(playerid, "PLAYIDLES", "shift", 4.1, 1, 1, 1, 1, 0);
  891. case 2: ApplyAnimationEx(playerid, "PLAYIDLES", "shldr", 4.1, 1, 1, 1, 1, 1);
  892. case 3: ApplyAnimationEx(playerid, "PLAYIDLES", "stretch", 4.1, 1, 1, 1, 1, 1);
  893. case 4: ApplyAnimationEx(playerid, "PLAYIDLES", "strleg", 4.1, 1, 1, 1, 1, 1);
  894. case 5: ApplyAnimationEx(playerid, "PLAYIDLES", "time", 4.1, 1, 1, 1, 1, 1);
  895. case 6: ApplyAnimationEx(playerid, "COP_AMBIENT", "Copbrowse_loop", 4.1, 1, 0, 0, 0, 0);
  896. case 7: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 1, 0, 0, 0, 0);
  897. case 8: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_shake", 4.1, 1, 0, 0, 0, 0);
  898. case 9: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_think", 4.1, 1, 0, 0, 0, 0);
  899. case 10: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_watch", 4.1, 1, 0, 0, 0, 0);
  900. case 11: ApplyAnimationEx(playerid, "PED", "roadcross", 4.1, 1, 0, 0, 0, 0);
  901. case 12: ApplyAnimationEx(playerid, "PED", "roadcross_female", 4.1, 1, 0, 0, 0, 0);
  902. case 13: ApplyAnimationEx(playerid, "PED", "roadcross_gang", 4.1, 1, 0, 0, 0, 0);
  903. case 14: ApplyAnimationEx(playerid, "PED", "roadcross_old", 4.1, 1, 0, 0, 0, 0);
  904. case 15: ApplyAnimationEx(playerid, "PED", "woman_idlestance", 4.1, 1, 0, 0, 0, 0);
  905. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /idle [1-15]");
  906. }
  907. return 1;
  908. }
  909. CMD:face(playerid, params[])
  910. {
  911. if(!PlayerUseAnims(playerid))
  912. {
  913. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  914. }
  915. switch(strval(params))
  916. {
  917. case 1: ApplyAnimationEx(playerid, "PED", "facanger", 4.1, 0, 0, 0, 1, 1, 0);
  918. case 2: ApplyAnimationEx(playerid, "PED", "facanger", 4.1, 0, 0, 0, 1, 1, 0);
  919. case 3: ApplyAnimationEx(playerid, "PED", "facgum", 4.1, 1, 0, 0, 1, 1, 0);
  920. case 4: ApplyAnimationEx(playerid, "PED", "facsurp", 4.1, 0, 0, 0, 1, 1, 0);
  921. case 5: ApplyAnimationEx(playerid, "PED", "facsurpm", 4.1, 0, 0, 0, 1, 1, 0);
  922. case 6: ApplyAnimationEx(playerid, "PED", "factalk", 4.1, 1, 0, 0, 1, 1, 0);
  923. case 7: ApplyAnimationEx(playerid, "PED", "facurios", 4.1, 0, 0, 0, 1, 1, 0);
  924. case 8: ApplyAnimationEx(playerid, "PED", "Idle_Gang1", 4.1, 0, 0, 0, 1, 1, 0);
  925. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /face [1-8]");
  926. }
  927. return 1;
  928. }
  929. CMD:bar(playerid, params[])
  930. {
  931. if(!PlayerUseAnims(playerid))
  932. {
  933. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  934. }
  935. switch(strval(params))
  936. {
  937. case 1: ApplyAnimationEx(playerid, "BAR", "Barcustom_get", 4.1, 0, 1, 0, 0, 0);
  938. case 2: ApplyAnimationEx(playerid, "BAR", "Barserve_bottle", 4.1, 0, 0, 0, 0, 0);
  939. case 3: ApplyAnimationEx(playerid, "BAR", "Barserve_give", 4.1, 0, 0, 0, 0, 0);
  940. case 4: ApplyAnimationEx(playerid, "BAR", "dnk_stndM_loop", 4.1, 0, 0, 0, 0, 0);
  941. case 5: ApplyAnimationEx(playerid, "BAR", "BARman_idle", 4.1, 1, 0, 0, 0, 0);
  942. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bar [1-5]");
  943. }
  944. return 1;
  945. }
  946. CMD:tag(playerid, params[])
  947. {
  948. if(!PlayerUseAnims(playerid))
  949. {
  950. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  951. }
  952. switch(strval(params))
  953. {
  954. case 1: ApplyAnimationEx(playerid, "GRAFFITI", "graffiti_Chkout", 4.1, 1, 0, 0, 0, 0);
  955. case 2: ApplyAnimationEx(playerid, "GRAFFITI", "spraycan_fire", 4.1, 1, 0, 0, 0, 0);
  956. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /tag [1-2]");
  957. }
  958. return 1;
  959. }
  960. CMD:bat(playerid, params[])
  961. {
  962. if(!PlayerUseAnims(playerid))
  963. {
  964. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  965. }
  966. switch(strval(params))
  967. {
  968. case 1: ApplyAnimationEx(playerid, "BASEBALL", "Bat_IDLE", 4.1, 1, 0, 0, 0, 0);
  969. case 2: ApplyAnimationEx(playerid, "BASEBALL", "Bat_M", 4.1, 1, 0, 0, 0, 0);
  970. case 3: ApplyAnimationEx(playerid, "BASEBALL", "BAT_PART", 4.1, 1, 0, 0, 0, 0);
  971. case 4: ApplyAnimationEx(playerid, "CRACK", "Bbalbat_Idle_01", 4.1, 1, 0, 0, 0, 0);
  972. case 5: ApplyAnimationEx(playerid, "CRACK", "Bbalbat_Idle_02", 4.1, 1, 0, 0, 0, 0);
  973. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bat [1-5]");
  974. }
  975. return 1;
  976. }
  977. CMD:smoke(playerid, params[])
  978. {
  979. if(!PlayerUseAnims(playerid))
  980. {
  981. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  982. }
  983. switch(strval(params))
  984. {
  985. case 1: ApplyAnimationEx(playerid, "SMOKING", "M_smk_in", 4.1, 0, 0, 0, 0, 0);
  986. case 2: ApplyAnimationEx(playerid, "SMOKING", "M_smklean_loop", 4.1, 1, 0, 0, 0, 0);
  987. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /smoke [1-2]");
  988. }
  989. return 1;
  990. }
  991. CMD:gesture(playerid, params[])
  992. {
  993. if(!PlayerUseAnims(playerid))
  994. {
  995. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  996. }
  997. switch(strval(params))
  998. {
  999. case 1: ApplyAnimationEx(playerid, "GHANDS", "gsign1", 4.1, 0, 0, 0, 0, 0);
  1000. case 2: ApplyAnimationEx(playerid, "GHANDS", "gsign1LH", 4.1, 0, 0, 0, 0, 0);
  1001. case 3: ApplyAnimationEx(playerid, "GHANDS", "gsign2", 4.1, 0, 0, 0, 0, 0);
  1002. case 4: ApplyAnimationEx(playerid, "GHANDS", "gsign2LH", 4.1, 0, 0, 0, 0, 0);
  1003. case 5: ApplyAnimationEx(playerid, "GHANDS", "gsign3", 4.1, 0, 0, 0, 0, 0);
  1004. case 6: ApplyAnimationEx(playerid, "GHANDS", "gsign3LH", 4.1, 0, 0, 0, 0, 0);
  1005. case 7: ApplyAnimationEx(playerid, "GHANDS", "gsign4", 4.1, 0, 0, 0, 0, 0);
  1006. case 8: ApplyAnimationEx(playerid, "GHANDS", "gsign4LH", 4.1, 0, 0, 0, 0, 0);
  1007. case 9: ApplyAnimationEx(playerid, "GHANDS", "gsign5", 4.1, 0, 0, 0, 0, 0);
  1008. case 10: ApplyAnimationEx(playerid, "GHANDS", "gsign5", 4.1, 0, 0, 0, 0, 0);
  1009. case 11: ApplyAnimationEx(playerid, "GHANDS", "gsign5LH", 4.1, 0, 0, 0, 0, 0);
  1010. case 12: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkD", 4.1, 0, 0, 0, 0, 0);
  1011. case 13: ApplyAnimationEx(playerid, "GANGS", "smkcig_prtl", 4.1, 0, 0, 0, 0, 0);
  1012. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /gesture [1-13]");
  1013. }
  1014. return 1;
  1015. }
  1016. CMD:responses(playerid, params[])
  1017. {
  1018. if(!PlayerUseAnims(playerid))
  1019. {
  1020. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1021. }
  1022. switch(strval(params))
  1023. {
  1024. case 1: ApplyAnimationEx(playerid, "GANGS", "Invite_Yes", 4.1, 0, 1, 1, 1, 1);
  1025. case 2: ApplyAnimationEx(playerid, "GANGS", "Invite_No", 4.1, 0, 1, 1, 1, 1);
  1026. case 3: ApplyAnimationEx(playerid, "FOOD", "SHP_Thank", 4.1, 1, 0, 0, 0, 0);
  1027. case 4: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_nod", 4.1, 0, 0, 0, 0, 0);
  1028. case 5: ApplyAnimationEx(playerid, "PED", "endchat_01", 4.0999, 0, 1, 1, 1, 0, 0);
  1029. case 6: ApplyAnimationEx(playerid, "PED", "endchat_02", 4.0999, 0, 1, 1, 1, 0, 0);
  1030. case 7: ApplyAnimationEx(playerid, "MISC", "plyr_shkhead", 4.0999, 0, 1, 1, 0, 0, 0);
  1031. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /responses [1-7]");
  1032. }
  1033. return 1;
  1034. }
  1035. CMD:chat(playerid, params[])
  1036. {
  1037. if(!PlayerUseAnims(playerid))
  1038. {
  1039. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1040. }
  1041. switch(strval(params))
  1042. {
  1043. case 1: ApplyAnimationEx(playerid, "PED", "IDLE_CHAT", 4.1, 0, 0, 0, 0, 0);
  1044. case 2: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkA", 4.1, 0, 0, 0, 0, 0);
  1045. case 3: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkB", 4.1, 0, 0, 0, 0, 0);
  1046. case 4: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkE", 4.1, 0, 0, 0, 0, 0);
  1047. case 5: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkF", 4.1, 0, 0, 0, 0, 0);
  1048. case 6: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkG", 4.1, 0, 0, 0, 0, 0);
  1049. case 7: ApplyAnimationEx(playerid, "GANGS", "prtial_gngtlkH", 4.1, 0, 0, 0, 0, 0);
  1050. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /chat [1-7]");
  1051. }
  1052. return 1;
  1053. }
  1054. CMD:deal(playerid, params[])
  1055. {
  1056. if(!PlayerUseAnims(playerid))
  1057. {
  1058. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1059. }
  1060. switch(strval(params))
  1061. {
  1062. case 1: ApplyAnimationEx(playerid, "DEALER", "DEALER_DEAL", 4.1, 0, 0, 0, 0, 0);
  1063. case 2: ApplyAnimationEx(playerid, "DEALER", "shop_pay", 4.1, 0, 0, 0, 0, 0);
  1064. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /deal [1-2]");
  1065. }
  1066. return 1;
  1067. }
  1068. CMD:cheer(playerid, params[])
  1069. {
  1070. if(!PlayerUseAnims(playerid))
  1071. {
  1072. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1073. }
  1074. switch(strval(params))
  1075. {
  1076. case 1: ApplyAnimationEx(playerid, "ON_LOOKERS", "shout_01", 4.1, 0, 0, 0, 0, 0);
  1077. case 2: ApplyAnimationEx(playerid, "ON_LOOKERS", "shout_02", 4.1, 0, 0, 0, 0, 0);
  1078. case 3: ApplyAnimationEx(playerid, "ON_LOOKERS", "shout_in", 4.1, 0, 0, 0, 0, 0);
  1079. case 4: ApplyAnimationEx(playerid, "RIOT", "RIOT_ANGRY_B", 4.1, 1, 0, 0, 0, 0);
  1080. case 5: ApplyAnimationEx(playerid, "RIOT", "RIOT_CHANT", 4.1, 0, 0, 0, 0, 0);
  1081. case 6: ApplyAnimationEx(playerid, "RIOT", "RIOT_shout", 4.1, 0, 0, 0, 0, 0);
  1082. case 7: ApplyAnimationEx(playerid, "STRIP", "PUN_HOLLER", 4.1, 0, 0, 0, 0, 0);
  1083. case 8: ApplyAnimationEx(playerid, "OTB", "wtchrace_win", 4.1, 0, 0, 0, 0, 0);
  1084. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /cheer [1-8]");
  1085. }
  1086. return 1;
  1087. }
  1088. CMD:wave(playerid, params[])
  1089. {
  1090. if(!PlayerUseAnims(playerid))
  1091. {
  1092. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1093. }
  1094. switch(strval(params))
  1095. {
  1096. case 1: ApplyAnimationEx(playerid, "ON_LOOKERS", "wave_loop", 4.1, 1, 0, 0, 0, 0);
  1097. case 2: ApplyAnimationEx(playerid, "KISSING", "gfwave2", 4.1, 0, 0, 0, 0, 0);
  1098. case 3: ApplyAnimationEx(playerid, "PED", "endchat_03", 4.1, 0, 0, 0, 0, 0);
  1099. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /wave [1-3]");
  1100. }
  1101. return 1;
  1102. }
  1103. CMD:fallover(playerid, params[])
  1104. {
  1105. if(!PlayerUseAnims(playerid))
  1106. {
  1107. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1108. }
  1109. switch(strval(params))
  1110. {
  1111. case 1: ApplyAnimationEx(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.1, 0, 1, 1, 1, 0);
  1112. case 2: ApplyAnimationEx(playerid, "PED", "KO_shot_face", 4.1, 0, 1, 1, 1, 0, 0);
  1113. case 3: ApplyAnimationEx(playerid, "PED", "KO_shot_front", 4.1, 0, 1, 1, 1, 0, 0);
  1114. case 4: ApplyAnimationEx(playerid, "PED", "KO_shot_stom", 4.1, 0, 1, 1, 1, 0, 0);
  1115. case 5: ApplyAnimationEx(playerid, "PED", "KO_skid_back", 4.1, 0, 1, 1, 1, 0, 0);
  1116. case 6: ApplyAnimationEx(playerid, "PED", "KO_skid_front", 4.1, 1, 1, 1, 1, 0, 0);
  1117. case 7: ApplyAnimationEx(playerid, "PED", "BIKE_fallR", 4.1, 0, 1, 1, 0, 0);
  1118. case 8: ApplyAnimationEx(playerid, "PED", "FLOOR_hit_f", 4.1, 0, 1, 1, 1, 0, 1);
  1119. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /fallover [1-8]");
  1120. }
  1121. return 1;
  1122. }
  1123. CMD:lean(playerid, params[])
  1124. {
  1125. if(!PlayerUseAnims(playerid))
  1126. {
  1127. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1128. }
  1129. switch(strval(params))
  1130. {
  1131. case 1: ApplyAnimationEx(playerid, "GANGS", "leanIDLE", 4.1, 0, 0, 0, 1, 0);
  1132. case 2: ApplyAnimationEx(playerid, "MISC", "Plyrlean_loop", 4.1, 0, 0, 0, 1, 0);
  1133. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /lean [1-2]");
  1134. }
  1135. return 1;
  1136. }
  1137. CMD:signal(playerid, params[])
  1138. {
  1139. if(!PlayerUseAnims(playerid))
  1140. {
  1141. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1142. }
  1143. switch(strval(params))
  1144. {
  1145. case 1: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Away", 4.1, 0, 0, 0, 0, 0, 0);
  1146. case 2: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Come", 4.1, 0, 0, 0, 0, 0, 0);
  1147. case 3: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Left", 4.1, 0, 0, 0, 0, 0, 0);
  1148. case 4: ApplyAnimationEx(playerid, "POLICE", "CopTraf_Stop", 4.1, 0, 0, 0, 0, 0, 0);
  1149. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /signal [1-4]");
  1150. }
  1151. return 1;
  1152. }
  1153. CMD:dj(playerid, params[])
  1154. {
  1155. if(!PlayerUseAnims(playerid))
  1156. {
  1157. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1158. }
  1159. switch(strval(params))
  1160. {
  1161. case 1: ApplyAnimationEx(playerid, "SCRATCHING", "scdldlp", 4.1, 1, 0, 0, 0, 0);
  1162. case 2: ApplyAnimationEx(playerid, "SCRATCHING", "scdlulp", 4.1, 1, 0, 0, 0, 0);
  1163. case 3: ApplyAnimationEx(playerid, "SCRATCHING", "scdrdlp", 4.1, 1, 0, 0, 0, 0);
  1164. case 4:ApplyAnimationEx(playerid, "SCRATCHING", "scdrulp", 4.1, 1, 0, 0, 0, 0);
  1165. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /dj [1-4]");
  1166. }
  1167. return 1;
  1168. }
  1169. CMD:carchat(playerid, params[])
  1170. {
  1171. if(!PlayerUseAnims(playerid))
  1172. {
  1173. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1174. }
  1175. switch(strval(params))
  1176. {
  1177. case 1: ApplyAnimation(playerid, "CAR_CHAT", "carfone_in", 4.1, 0, 1, 1, 1, 1);
  1178. case 2: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopA", 4.1, 0, 1, 1, 1, 1);
  1179. case 3: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopA_to_B", 4.1, 0, 1, 1, 1, 1);
  1180. case 4: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopB", 4.1, 0, 1, 1, 1, 1);
  1181. case 5: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopB_to_A", 4.1, 0, 1, 1, 1, 1);
  1182. case 6: ApplyAnimation(playerid, "CAR_CHAT", "carfone_out", 4.1, 0, 1, 1, 1, 1);
  1183. case 7: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_BL", 4.1, 0, 1, 1, 1, 1);
  1184. case 8: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_BR", 4.1, 0, 1, 1, 1, 1);
  1185. case 9: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_FL", 4.1, 0, 1, 1, 1, 1);
  1186. case 10: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_FR", 4.1, 0, 1, 1, 1, 1);
  1187. case 11: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc2_FL", 4.1, 0, 1, 1, 1, 1);
  1188. case 12: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_BR", 4.1, 0, 1, 1, 1, 1);
  1189. case 13: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_FL", 4.1, 0, 1, 1, 1, 1);
  1190. case 14: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_FR", 4.1, 0, 1, 1, 1, 1);
  1191. case 15: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_BL", 4.1, 0, 1, 1, 1, 1);
  1192. case 16: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_BR", 4.1, 0, 1, 1, 1, 1);
  1193. case 17: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_FL", 4.1, 0, 1, 1, 1, 1);
  1194. case 18: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_FR", 4.1, 0, 1, 1, 1, 1);
  1195. case 19: ApplyAnimation(playerid, "CAR", "Sit_relaxed", 4.1, 0, 1, 1, 1, 1);
  1196. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /carchat [1-19]");
  1197. }
  1198. return 1;
  1199. }
  1200. CMD:sunbathe(playerid, params[])
  1201. {
  1202. if(!PlayerUseAnims(playerid))
  1203. {
  1204. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1205. }
  1206. switch(strval(params))
  1207. {
  1208. case 1: ApplyAnimationEx(playerid, "SUNBATHE", "batherdown", 4.1, 0, 1, 1, 1, 1);
  1209. case 2: ApplyAnimationEx(playerid, "SUNBATHE", "batherup", 4.1, 0, 1, 1, 1, 1);
  1210. case 3: ApplyAnimationEx(playerid, "SUNBATHE", "Lay_Bac_in", 4.1, 0, 1, 1, 1, 1);
  1211. case 4: ApplyAnimationEx(playerid, "SUNBATHE", "Lay_Bac_out", 4.1, 0, 1, 1, 1, 1);
  1212. case 5: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_IdleA", 4.1, 0, 1, 1, 1, 1);
  1213. case 6: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_IdleB", 4.1, 0, 1, 1, 1, 1);
  1214. case 7: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_IdleC", 4.1, 0, 1, 1, 1, 1);
  1215. case 8: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_in", 4.1, 0, 1, 1, 1, 1);
  1216. case 9: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_M_out", 4.1, 0, 1, 1, 1, 1);
  1217. case 10: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_idleA", 4.1, 0, 1, 1, 1, 1);
  1218. case 11: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_idleB", 4.1, 0, 1, 1, 1, 1);
  1219. case 12: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_idleC", 4.1, 0, 1, 1, 1, 1);
  1220. case 13: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_in", 4.1, 0, 1, 1, 1, 1);
  1221. case 14: ApplyAnimationEx(playerid, "SUNBATHE", "ParkSit_W_out", 4.1, 0, 1, 1, 1, 1);
  1222. case 15: ApplyAnimationEx(playerid, "SUNBATHE", "SBATHE_F_LieB2Sit", 4.1, 0, 1, 1, 1, 1);
  1223. case 16: ApplyAnimationEx(playerid, "SUNBATHE", "SBATHE_F_Out", 4.1, 0, 1, 1, 1, 1);
  1224. case 17: ApplyAnimationEx(playerid, "SUNBATHE", "SitnWait_in_W", 4.1, 0, 1, 1, 1, 1);
  1225. case 18: ApplyAnimationEx(playerid, "SUNBATHE", "SitnWait_out_W", 4.1, 0, 1, 1, 1, 1);
  1226. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /sunbathe [1-18]");
  1227. }
  1228. return 1;
  1229. }
  1230. CMD:handsup(playerid, params[])
  1231. {
  1232. if(!PlayerUseAnims(playerid))
  1233. {
  1234. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1235. }
  1236. SetPlayerSpecialAction(playerid, SPECIAL_ACTION_HANDSUP);
  1237. return 1;
  1238. }
  1239. CMD:dance(playerid, params[])
  1240. {
  1241. if(!PlayerUseAnims(playerid))
  1242. {
  1243. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1244. }
  1245. switch(strval(params))
  1246. {
  1247. case 1..4: SetPlayerSpecialAction(playerid, (SPECIAL_ACTION_DANCE1 + (strval(params) - 1)));
  1248. case 5: ApplyAnimationEx(playerid, "DANCING", "DAN_Down_A", 4.1, 1, 0, 0, 0, 0);
  1249. case 6: ApplyAnimationEx(playerid, "DANCING", "DAN_Left_A", 4.1, 1, 0, 0, 0, 0);
  1250. case 7: ApplyAnimationEx(playerid, "DANCING", "DAN_Loop_A", 4.1, 1, 0, 0, 0, 0);
  1251. case 8: ApplyAnimationEx(playerid, "DANCING", "DAN_Right_A", 4.1, 1, 0, 0, 0, 0);
  1252. case 9: ApplyAnimationEx(playerid, "DANCING", "DAN_Up_A", 4.1, 1, 0, 0, 0, 0);
  1253. case 10: ApplyAnimationEx(playerid, "DANCING", "dnce_M_a", 4.1, 1, 0, 0, 0, 0);
  1254. case 11: ApplyAnimationEx(playerid, "DANCING", "dnce_M_b", 4.1, 1, 0, 0, 0, 0);
  1255. case 12: ApplyAnimationEx(playerid, "DANCING", "dnce_M_c", 4.1, 1, 0, 0, 0, 0);
  1256. case 13: ApplyAnimationEx(playerid, "DANCING", "dnce_M_d", 4.1, 1, 0, 0, 0, 0);
  1257. case 14: ApplyAnimationEx(playerid, "DANCING", "dnce_M_e", 4.1, 1, 0, 0, 0, 0);
  1258. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /dance [1-14]");
  1259. }
  1260. return 1;
  1261. }
  1262. CMD:crossarms(playerid, params[])
  1263. {
  1264. if(!PlayerUseAnims(playerid))
  1265. {
  1266. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1267. }
  1268. switch(strval(params))
  1269. {
  1270. case 1: ApplyAnimationEx(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 0, 1, 1, 1, -1);
  1271. case 2: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE", 4.1, 0, 1, 1, 1, -1);
  1272. case 3: ApplyAnimationEx(playerid, "DEALER", "DEALER_IDLE_01", 4.1, 0, 1, 1, 1, -1);
  1273. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /crossarms [1-3]");
  1274. }
  1275. return 1;
  1276. }
  1277. CMD:getjiggy(playerid, params[])
  1278. {
  1279. if(!PlayerUseAnims(playerid))
  1280. {
  1281. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1282. }
  1283. switch(strval(params))
  1284. {
  1285. case 1: ApplyAnimationEx(playerid, "DANCING", "DAN_Down_A", 4.1, 1, 0, 0, 0, 0);
  1286. case 2: ApplyAnimationEx(playerid, "DANCING", "DAN_Left_A", 4.1, 1, 0, 0, 0, 0);
  1287. case 3: ApplyAnimationEx(playerid, "DANCING", "DAN_Loop_A", 4.1, 1, 0, 0, 0, 0);
  1288. case 4: ApplyAnimationEx(playerid, "DANCING", "DAN_Right_A", 4.1, 1, 0, 0, 0, 0);
  1289. case 5: ApplyAnimationEx(playerid, "DANCING", "DAN_Up_A", 4.1, 1, 0, 0, 0, 0);
  1290. case 6: ApplyAnimationEx(playerid, "DANCING", "dnce_M_a", 4.1, 1, 0, 0, 0, 0);
  1291. case 7: ApplyAnimationEx(playerid, "DANCING", "dnce_M_b", 4.1, 1, 0, 0, 0, 0);
  1292. case 8: ApplyAnimationEx(playerid, "DANCING", "dnce_M_c", 4.1, 1, 0, 0, 0, 0);
  1293. case 9: ApplyAnimationEx(playerid, "DANCING", "dnce_M_c", 4.1, 1, 0, 0, 0, 0);
  1294. case 10: ApplyAnimationEx(playerid, "DANCING", "dnce_M_d", 4.1, 1, 0, 0, 0, 0);
  1295. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /getjiggy [1-10]");
  1296. }
  1297. return 1;
  1298. }
  1299. CMD:siteat(playerid, params[])
  1300. {
  1301. if(!PlayerUseAnims(playerid))
  1302. {
  1303. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1304. }
  1305. switch(strval(params))
  1306. {
  1307. case 1: ApplyAnimationEx(playerid, "FOOD", "FF_Sit_Eat3", 4.1, 1, 0, 0, 0, 0);
  1308. case 2: ApplyAnimationEx(playerid, "FOOD", "FF_Sit_Eat2", 4.1, 1, 0, 0, 0, 0);
  1309. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /siteat [1-2]");
  1310. }
  1311. return 1;
  1312. }
  1313. CMD:exhausted(playerid, params[])
  1314. {
  1315. if(!PlayerUseAnims(playerid))
  1316. {
  1317. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1318. }
  1319. switch(strval(params))
  1320. {
  1321. case 1: ApplyAnimationEx(playerid, "PED", "IDLE_tired", 4.1, 1, 0, 0, 0, 0);
  1322. case 2: ApplyAnimationEx(playerid, "FAT", "IDLE_tired", 4.1, 1, 0, 0, 0, 0);
  1323. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /exhausted [1-2]");
  1324. }
  1325. return 1;
  1326. }
  1327. CMD:sit(playerid, params[])
  1328. {
  1329. if(!PlayerUseAnims(playerid))
  1330. {
  1331. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1332. }
  1333. switch(strval(params))
  1334. {
  1335. case 1: ApplyAnimationEx(playerid, "BEACH", "bather", 4.1, 1, 0, 0, 0, 0);
  1336. case 2: ApplyAnimationEx(playerid, "BEACH", "Lay_Bac_Loop", 4.1, 1, 0, 0, 0, 0);
  1337. case 3: ApplyAnimationEx(playerid, "BEACH", "ParkSit_W_loop", 4.1, 1, 0, 0, 0, 0);
  1338. case 4: ApplyAnimationEx(playerid, "BEACH", "SitnWait_loop_W", 4.1, 1, 0, 0, 0, 0);
  1339. case 5: ApplyAnimationEx(playerid, "BEACH", "ParkSit_M_loop", 4.1, 1, 0, 0, 0, 0);
  1340. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /sit [1-5]");
  1341. }
  1342. return 1;
  1343. }
  1344. CMD:sitonchair(playerid, params[])
  1345. return cmd_sitdown(playerid, params);
  1346. CMD:sitdown(playerid, params[])
  1347. {
  1348. if(!PlayerUseAnims(playerid))
  1349. {
  1350. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1351. }
  1352. switch(strval(params))
  1353. {
  1354. case 1: ApplyAnimationEx(playerid, "Attractors", "Stepsit_in", 4.1, 0, 0, 0, 1, 0);
  1355. case 2: ApplyAnimationEx(playerid, "CRIB", "PED_Console_Loop", 4.1, 1, 0, 0, 0, 0);
  1356. case 3: ApplyAnimationEx(playerid, "INT_HOUSE", "LOU_In", 4.1, 0, 0, 0, 1, 0);
  1357. case 4: ApplyAnimationEx(playerid, "MISC", "SEAT_LR", 4.1, 1, 0, 0, 0, 0);
  1358. case 5: ApplyAnimationEx(playerid, "MISC", "Seat_talk_01", 4.1, 1, 0, 0, 0, 0);
  1359. case 6: ApplyAnimationEx(playerid, "MISC", "Seat_talk_02", 4.1, 1, 0, 0, 0, 0);
  1360. case 7: ApplyAnimationEx(playerid, "ped", "SEAT_down", 4.1, 0, 0, 0, 1, 0);
  1361. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /sitdown [1-7]");
  1362. }
  1363. return 1;
  1364. }
  1365. CMD:walk(playerid, params[])
  1366. {
  1367. if(!PlayerUseAnims(playerid))
  1368. {
  1369. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1370. }
  1371. switch(strval(params))
  1372. {
  1373. case 1: ApplyAnimationEx(playerid, "PED", "JOG_femaleA", 4.1, 1, 1, 1, 1, 1);
  1374. case 2: ApplyAnimationEx(playerid, "PED", "JOG_maleA", 4.1, 1, 1, 1, 1, 1);
  1375. case 3: ApplyAnimationEx(playerid, "PED", "WOMAN_walkfatold", 4.1, 1, 1, 1, 1, 1);
  1376. case 4: ApplyAnimationEx(playerid, "PED", "run_fat", 4.1, 1, 1, 1, 1, 1);
  1377. case 5: ApplyAnimationEx(playerid, "PED", "run_fatold", 4.1, 1, 1, 1, 1, 1);
  1378. case 6: ApplyAnimationEx(playerid, "PED", "run_old", 4.1, 1, 1, 1, 1, 1);
  1379. case 7: ApplyAnimationEx(playerid, "PED", "Run_Wuzi", 4.1, 1, 1, 1, 1, 1);
  1380. case 8: ApplyAnimationEx(playerid, "PED", "swat_run", 4.1, 1, 1, 1, 1, 1);
  1381. case 9: ApplyAnimationEx(playerid, "PED", "WALK_fat", 4.1, 1, 1, 1, 1, 1);
  1382. case 10: ApplyAnimationEx(playerid, "PED", "WALK_fatold", 4.1, 1, 1, 1, 1, 1);
  1383. case 11: ApplyAnimationEx(playerid, "PED", "WALK_gang1", 4.1, 1, 1, 1, 1, 1);
  1384. case 12: ApplyAnimationEx(playerid, "PED", "WALK_gang2", 4.1, 1, 1, 1, 1, 1);
  1385. case 13: ApplyAnimationEx(playerid, "PED", "WALK_old", 4.1, 1, 1, 1, 1, 1);
  1386. case 14: ApplyAnimationEx(playerid, "PED", "WALK_shuffle", 4.1, 1, 1, 1, 1, 1);
  1387. case 15: ApplyAnimationEx(playerid, "PED", "woman_run", 4.1, 1, 1, 1, 1, 1);
  1388. case 16: ApplyAnimationEx(playerid, "PED", "WOMAN_runbusy", 4.1, 1, 1, 1, 1, 1);
  1389. case 17: ApplyAnimationEx(playerid, "PED", "WOMAN_runfatold", 4.1, 1, 1, 1, 1, 1);
  1390. case 18: ApplyAnimationEx(playerid, "PED", "woman_runpanic", 4.1, 1, 1, 1, 1, 1);
  1391. case 19: ApplyAnimationEx(playerid, "PED", "WOMAN_runsexy", 4.1, 1, 1, 1, 1, 1);
  1392. case 20: ApplyAnimationEx(playerid, "PED", "WOMAN_walkbusy", 4.1, 1, 1, 1, 1, 1);
  1393. case 21: ApplyAnimationEx(playerid, "PED", "WOMAN_walkfatold", 4.1, 1, 1, 1, 1, 1);
  1394. case 22: ApplyAnimationEx(playerid, "PED", "WOMAN_walknorm", 4.1, 1, 1, 1, 1, 1);
  1395. case 23: ApplyAnimationEx(playerid, "PED", "WOMAN_walkold", 4.1, 1, 1, 1, 1, 1);
  1396. case 24: ApplyAnimationEx(playerid, "PED", "WOMAN_walkpro", 4.1, 1, 1, 1, 1, 1);
  1397. case 25: ApplyAnimationEx(playerid, "PED", "WOMAN_walksexy", 4.1, 1, 1, 1, 1, 1);
  1398. case 26: ApplyAnimationEx(playerid, "PED", "WOMAN_walkshop", 4.1, 1, 1, 1, 1, 1);
  1399. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /walk [1-26]");
  1400. }
  1401. return 1;
  1402. }
  1403. CMD:rap(playerid, params[])
  1404. {
  1405. if(!PlayerUseAnims(playerid))
  1406. {
  1407. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1408. }
  1409. switch(strval(params))
  1410. {
  1411. case 1: ApplyAnimationEx(playerid, "RAPPING", "RAP_A_Loop", 4.1, 1, 1, 1, 1, 0);
  1412. case 2: ApplyAnimationEx(playerid, "RAPPING", "RAP_B_Loop", 4.1, 1, 1, 1, 1, 0);
  1413. case 3: ApplyAnimationEx(playerid, "RAPPING", "RAP_C_Loop", 4.1, 1, 1, 1, 1, 0);
  1414. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /rap [1-3]");
  1415. }
  1416. return 1;
  1417. }
  1418. CMD:reload(playerid, params[])
  1419. {
  1420. if(!PlayerUseAnims(playerid))
  1421. {
  1422. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1423. }
  1424. switch(strval(params))
  1425. {
  1426. case 1: ApplyAnimationEx(playerid, "COLT45", "colt45_reload", 4.1, 0, 0, 0, 0, 0);
  1427. case 2: ApplyAnimationEx(playerid, "COLT45", "sawnoff_reload", 4.1, 0, 0, 0, 0, 0);
  1428. case 3: ApplyAnimationEx(playerid, "BUDDY", "buddy_reload", 4.1, 0, 0, 0, 0, 0);
  1429. case 4: ApplyAnimationEx(playerid, "RIFLE", "RIFLE_load", 4.1, 0, 0, 0, 0, 0);
  1430. case 5: ApplyAnimationEx(playerid, "PYTHON", "python_reload", 4.1, 0, 0, 0, 0, 0);
  1431. case 6: ApplyAnimationEx(playerid, "SILENCED", "Silence_reload", 3.0, 0, 0, 0, 0, 0);
  1432. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /reload [1-6]");
  1433. }
  1434. return 1;
  1435. }
  1436. CMD:wank(playerid, params[])
  1437. {
  1438. if(!PlayerUseAnims(playerid))
  1439. {
  1440. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1441. }
  1442. switch(strval(params))
  1443. {
  1444. case 1: ApplyAnimationEx(playerid, "PAULNMAC", "wank_in", 4.1, 0, 1, 1, 0, 0);
  1445. case 2: ApplyAnimationEx(playerid, "PAULNMAC", "wank_loop", 4.1, 1, 1, 0, 0, 0);
  1446. case 3: ApplyAnimationEx(playerid, "PAULNMAC", "wank_out", 4.1, 0, 0, 0, 0, 0);
  1447. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /wank [1-3]");
  1448. }
  1449. return 1;
  1450. }
  1451. CMD:fuckme(playerid, params[])
  1452. {
  1453. if(!PlayerUseAnims(playerid))
  1454. {
  1455. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1456. }
  1457. switch(strval(params))
  1458. {
  1459. case 1: ApplyAnimationEx(playerid, "SNM", "SPANKING_IDLEW", 4.1, 0, 1, 1, 1, 0);
  1460. case 2: ApplyAnimationEx(playerid, "SNM", "SPANKING_IDLEP", 4.1, 0, 1, 1, 1, 0);
  1461. case 3: ApplyAnimationEx(playerid, "SNM", "SPANKINGW", 4.1, 0, 1, 1, 1, 0);
  1462. case 4: ApplyAnimationEx(playerid, "SNM", "SPANKINGP", 4.1, 0, 1, 1, 1, 0);
  1463. case 5: ApplyAnimationEx(playerid, "SNM", "SPANKEDW", 4.1, 0, 1, 1, 1, 0);
  1464. case 6: ApplyAnimationEx(playerid, "SNM", "SPANKEDP", 4.1, 0, 1, 1, 1, 0);
  1465. case 7: ApplyAnimationEx(playerid, "SNM", "SPANKING_ENDW", 4.1, 0, 1, 1, 1, 0);
  1466. case 8: ApplyAnimationEx(playerid, "SNM", "SPANKING_ENDP", 4.1, 0, 1, 1, 1, 0);
  1467. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /fuckme [1-8]");
  1468. }
  1469. return 1;
  1470. }
  1471. CMD:bj(playerid, params[])
  1472. {
  1473. if(!PlayerUseAnims(playerid))
  1474. {
  1475. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1476. }
  1477. switch(strval(params))
  1478. {
  1479. case 1: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_START_P", 4.1, 0, 1, 1, 1, 0);
  1480. case 2: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_START_W", 4.1, 0, 1, 1, 1, 0);
  1481. case 3: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.1, 0, 1, 1, 1, 0);
  1482. case 4: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.1, 0, 1, 1, 1, 0);
  1483. case 5: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_END_P", 4.1, 0, 1, 1, 1, 0);
  1484. case 6: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_COUCH_END_W", 4.1, 0, 1, 1, 1, 0);
  1485. case 7: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_START_P", 4.1, 0, 1, 1, 1, 0);
  1486. case 8: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_START_W", 4.1, 0, 1, 1, 1, 0);
  1487. case 9: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.1, 0, 1, 1, 1, 0);
  1488. case 10: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.1, 0, 1, 1, 1, 0);
  1489. case 11: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_END_P", 4.1, 0, 1, 1, 1, 0);
  1490. case 12: ApplyAnimationEx(playerid, "BLOWJOBZ", "BJ_STAND_END_W", 4.1, 0, 1, 1, 1, 0);
  1491. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /bj [1-12]");
  1492. }
  1493. return 1;
  1494. }
  1495. CMD:kiss(playerid, params[])
  1496. {
  1497. if(!PlayerUseAnims(playerid))
  1498. {
  1499. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1500. }
  1501. switch(strval(params))
  1502. {
  1503. case 1: ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_01",4.0,0,0,0,0,0);
  1504. case 2: ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_02",4.0,0,0,0,0,0);
  1505. case 3: ApplyAnimationEx(playerid,"KISSING","Grlfrd_Kiss_03",4.0,0,0,0,0,0);
  1506. case 4: ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_01",4.0,0,0,0,0,0);
  1507. case 5: ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_02",4.0,0,0,0,0,0);
  1508. case 6: ApplyAnimationEx(playerid,"KISSING","Playa_Kiss_03",4.0,0,0,0,0,0);
  1509. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /kiss [1-6]");
  1510. }
  1511. return 1;
  1512. }
  1513. CMD:dodge(playerid, params[])
  1514. {
  1515. if(!PlayerUseAnims(playerid))
  1516. {
  1517. return SendClientMessage(playerid, COLOR_ERROR, "You're currently unable to use animations at this moment.");
  1518. }
  1519. switch(strval(params))
  1520. {
  1521. case 1: ApplyAnimationEx(playerid, "DODGE", "Crush_Jump", 4.1, 0, 1, 1, 1, 0);
  1522. case 2: ApplyAnimationEx(playerid, "PED", "EV_dive", 4.1, 0, 1, 1, 1, 0);
  1523. case 3: ApplyAnimationEx(playerid, "MISC", "Run_Dive", 4.1, 0, 1, 1, 1, 0);
  1524. default: SendClientMessage(playerid, COLOR_ERROR, "Correct usage: /dodge [1-3]");
  1525. }
  1526. return 1;
  1527. }