animations.inc 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212
  1. /*
  2. file: animations.inc
  3. description: All SARP animation commands in a seperate file
  4. .. using ZCMD instead of strcmp.
  5. author: Jay Cortez
  6. started: 14 november 2017
  7. ended: /
  8. */
  9. CMD:animations(playerid, params[])
  10. return cmd_animhelp(playerid, params);
  11. CMD:animlist(playerid, params[])
  12. return cmd_animhelp(playerid, params);
  13. CMD:animhelp(playerid, params[])
  14. {
  15. SendClientMessage(playerid, COLOR_WHITE, "Available Animations:");
  16. SendClientMessage(playerid, COLOR_GRAD1, "/shakehand, /handsup, /drunk, /cry, /bomb, /wank, /lookout, /hitch, /crabs, /rap /showoff, /dance");
  17. SendClientMessage(playerid, COLOR_GRAD1, "/dj, /what, /lean, /vomit, /getjiggy, /robman, /greet, /fuckme, /cheer, /cpr, /kiss, /gift, /stand");
  18. SendClientMessage(playerid, COLOR_GRAD2, "/fallover, /taichi, /pedmove, /slapass, /laugh, /bj, /piss, /stop, /crack, /nobreath, /signal, /followme");
  19. SendClientMessage(playerid, COLOR_GRAD3, "/gesture /hide, /rob, /wave, /hurt, /smoke, /washhands, /salute, /crossarms, /sitdown, /relax, /sit, /dive");
  20. SendClientMessage(playerid, COLOR_GRAD3, "/deal, /sleep, /bitchslap, /reload, /checktime, /siteat, /eatfood, /chat, /drinkwater, /bat, /opendoor");
  21. SendClientMessage(playerid, COLOR_GRAD4, "/wavedown, /box, /tag, /goggles, /throw, /robbed, /bar, /idle, /carchat, /slapass, /sunbathe, /snatch");
  22. SendClientMessage(playerid, COLOR_GRAD5, "/sneak, /copa, /strip, /holdcue, /misc, /trunkput, /lowbarge, /airkick /elbow, /runcuffed");
  23. SendClientMessage(playerid, COLOR_GRAD6, "/sitonchair");
  24. SendClientMessage(playerid, COLOR_WHITE, "Type /stopani to force-stop an animation.");
  25. return 1;
  26. }
  27. CMD:trunkput(playerid, params[]) {
  28. if(!AnimationCheck(playerid, false))
  29. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  30. OnePlayAnim(playerid, "GANGS", "shake_cara", 4.1, 0, 0, 0, 0, 0);
  31. return 1;
  32. }
  33. CMD:lowbarge(playerid, params[]) {
  34. if(!AnimationCheck(playerid, false))
  35. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  36. OnePlayAnim(playerid, "GANGS", "shake_carSH", 4.1, 0, 0, 0, 0, 0);
  37. return 1;
  38. }
  39. CMD:piss(playerid, params[]) {
  40. if(!AnimationCheck(playerid, false))
  41. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  42. SetPlayerSpecialAction(playerid, 68);
  43. return 1;
  44. }
  45. CMD:throw(playerid, params[]) {
  46. if(!AnimationCheck(playerid, false))
  47. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  48. OnePlayAnim(playerid, "GRENADE", "WEAPON_throw", 4.0, 0, 0, 0, 0, 0);
  49. return 1;
  50. }
  51. CMD:robbed(playerid, params[]) {
  52. if(!AnimationCheck(playerid, false))
  53. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  54. LoopingAnim(playerid, "SHOP", "SHP_Rob_GiveCash", 4.0, 1, 0, 0, 0, 0);
  55. return 1;
  56. }
  57. CMD:sneak(playerid, params[]) {
  58. if(!AnimationCheck(playerid, false))
  59. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  60. LoopingAnim(playerid, "PED", "Player_Sneak", 4.1, 1, 1, 1, 1, 1);
  61. return 1;
  62. }
  63. CMD:runcuffed(playerid, params[]) {
  64. if(!AnimationCheck(playerid, false))
  65. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  66. LoopingAnim(playerid, "SWORD", "sword_block", 4.1, 0, 1, 1, 1, 1);
  67. return 1;
  68. }
  69. CMD:airkick(playerid, params[]) {
  70. if(!AnimationCheck(playerid, false))
  71. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  72. OnePlayAnim(playerid, "FIGHT_C", "FightC_M", 4.1, 0, 1, 1, 0, 0);
  73. return 1;
  74. }
  75. CMD:elbow(playerid, params[]) {
  76. if(!AnimationCheck(playerid, false))
  77. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  78. OnePlayAnim(playerid, "FIGHT_D", "FightD_3", 4.1, 0, 1, 1, 0, 0);
  79. return 1;
  80. }
  81. CMD:taichi(playerid, params[]) {
  82. if(!AnimationCheck(playerid, false))
  83. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  84. LoopingAnim(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
  85. return 1;
  86. }
  87. CMD:fucku(playerid, params[]) {
  88. if(!AnimationCheck(playerid, false))
  89. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  90. OnePlayAnim(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
  91. return 1;
  92. }
  93. CMD:crack(playerid, params[]) {
  94. if(!AnimationCheck(playerid, false))
  95. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  96. LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  97. return 1;
  98. }
  99. CMD:vomit(playerid, params[]) {
  100. if(!AnimationCheck(playerid, false))
  101. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  102. OnePlayAnim(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  103. return 1;
  104. }
  105. CMD:hide(playerid, params[]) {
  106. if(!AnimationCheck(playerid, false))
  107. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  108. LoopingAnim(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  109. return 1;
  110. }
  111. CMD:robman(playerid, params[]) {
  112. if(!AnimationCheck(playerid, false))
  113. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  114. LoopingAnim(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  115. return 1;
  116. }
  117. CMD:lookout(playerid, params[]) {
  118. if(!AnimationCheck(playerid, false))
  119. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  120. OnePlayAnim(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
  121. return 1;
  122. }
  123. CMD:laugh(playerid, params[]) {
  124. if(!AnimationCheck(playerid, false))
  125. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  126. OnePlayAnim(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
  127. return 1;
  128. }
  129. CMD:rob(playerid, params[]) {
  130. if(!AnimationCheck(playerid, false))
  131. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  132. LoopingAnim(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, 0);
  133. return 1;
  134. }
  135. CMD:bomb(playerid, params[]) {
  136. if(!AnimationCheck(playerid, false))
  137. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  138. OnePlayAnim(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
  139. return 1;
  140. }
  141. CMD:drunk(playerid, params[]) {
  142. if(!AnimationCheck(playerid, false))
  143. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  144. LoopingAnim(playerid, "PED", "WALK_DRUNK", 4.1, 1, 1, 1, 1, 1);
  145. return 1;
  146. }
  147. CMD:slapass(playerid, params[]) {
  148. if(!AnimationCheck(playerid, false))
  149. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  150. OnePlayAnim(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
  151. return 1;
  152. }
  153. CMD:gift(playerid, params[]) {
  154. if(!AnimationCheck(playerid, false))
  155. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  156. OnePlayAnim(playerid, "KISSING", "gift_give", 4.0, 0, 0, 0, 0, 0);
  157. return 1;
  158. }
  159. CMD:cpr(playerid, params[]) {
  160. if(!AnimationCheck(playerid, false))
  161. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  162. OnePlayAnim(playerid, "MEDIC", "CPR", 4.0, 0, 0, 0, 0, 0);
  163. return 1;
  164. }
  165. CMD:bitchslap(playerid, params[]) {
  166. if(!AnimationCheck(playerid, false))
  167. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  168. OnePlayAnim(playerid, "MISC", "bitchslap", 4.0, 0, 0, 0, 0, 0);
  169. return 1;
  170. }
  171. CMD:hitch(playerid, params[]) {
  172. if(!AnimationCheck(playerid, false))
  173. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  174. LoopingAnim(playerid, "MISC", "Hiker_Pose", 4.0, 1, 0, 0, 0, 0);
  175. return 1;
  176. }
  177. CMD:stand(playerid, params[]) {
  178. if(!AnimationCheck(playerid, false))
  179. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  180. LoopingAnim(playerid, "WUZI", "Wuzi_stand_loop", 4.0, 1, 0, 0, 0, 0);
  181. return 1;
  182. }
  183. CMD:greet(playerid, params[]) {
  184. if(!AnimationCheck(playerid, false))
  185. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  186. OnePlayAnim(playerid, "WUZI", "Wuzi_Greet_Wuzi", 4.0, 0, 0, 0, 0, 0);
  187. return 1;
  188. }
  189. CMD:followme(playerid, params[]) {
  190. if(!AnimationCheck(playerid, false))
  191. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  192. OnePlayAnim(playerid, "WUZI", "Wuzi_follow", 4.0, 0, 0, 0, 0, 0);
  193. return 1;
  194. }
  195. CMD:what(playerid, params[]) {
  196. if(!AnimationCheck(playerid, false))
  197. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  198. LoopingAnim(playerid, "RIOT", "RIOT_ANGRY", 4.0, 0, 0, 0, 0, 0);
  199. return 1;
  200. }
  201. CMD:cry(playerid, params[]) {
  202. if(!AnimationCheck(playerid, false))
  203. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  204. LoopingAnim(playerid, "GRAVEYARD", "mrnF_loop", 4.0, 1, 0, 0, 0, 0);
  205. return 1;
  206. }
  207. CMD:washhands(playerid, params[]) {
  208. if(!AnimationCheck(playerid, false))
  209. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  210. OnePlayAnim(playerid, "BD_FIRE", "wash_up", 4.0, 0, 0, 0, 0, 0);
  211. return 1;
  212. }
  213. CMD:stop(playerid, params[]) {
  214. if(!AnimationCheck(playerid, false))
  215. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  216. OnePlayAnim(playerid, "PED", "endchat_01", 4.0, 0, 0, 0, 0, 0);
  217. return 1;
  218. }
  219. CMD:salute(playerid, params[]) {
  220. if(!AnimationCheck(playerid, false))
  221. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  222. OnePlayAnim(playerid, "ON_LOOKERS", "Pointup_loop", 4.0, 0, 0, 0, 0, 0);
  223. return 1;
  224. }
  225. CMD:crabs(playerid, params[]) {
  226. if(!AnimationCheck(playerid, false))
  227. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  228. OnePlayAnim(playerid, "MISC", "Scratchballs_01", 4.0, 0, 0, 0, 0, 0);
  229. return 1;
  230. }
  231. CMD:showoff(playerid, params[]) {
  232. if(!AnimationCheck(playerid, false))
  233. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  234. OnePlayAnim(playerid, "Freeweights", "gym_free_celebrate", 4.0, 0, 0, 0, 0, 0);
  235. return 1;
  236. }
  237. CMD:dive(playerid, params[]) {
  238. if(!AnimationCheck(playerid, false))
  239. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  240. LoopingAnim(playerid, "DODGE", "Crush_Jump", 4.0, 0, 1, 1, 1, 0);
  241. return 1;
  242. }
  243. CMD:relax(playerid, params[]) {
  244. if(!AnimationCheck(playerid, false))
  245. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  246. LoopingAnim(playerid, "CRACK", "crckidle1", 4.0, 0, 1, 1, 1, -1);
  247. return 1;
  248. }
  249. CMD:checktime(playerid, params[]) {
  250. if(!AnimationCheck(playerid, false))
  251. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  252. OnePlayAnim(playerid, "COP_AMBIENT", "Coplook_watch", 4.0, 0, 0, 0, 0, 0);
  253. return 1;
  254. }
  255. CMD:eatfood(playerid, params[]) {
  256. if(!AnimationCheck(playerid, false))
  257. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  258. LoopingAnim(playerid, "FOOD", "EAT_Burger", 4.0, 1, 0, 0, 0, 0);
  259. return 1;
  260. }
  261. CMD:drinkwater(playerid, params[]) {
  262. if(!AnimationCheck(playerid, false))
  263. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  264. OnePlayAnim(playerid, "BAR", "dnk_stndF_loop", 4.0, 1, 0, 0, 0, 0);
  265. return 1;
  266. }
  267. CMD:opendoor(playerid, params[]) {
  268. if(!AnimationCheck(playerid, false))
  269. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  270. OnePlayAnim(playerid, "AIRPORT", "thrw_barl_thrw", 4.0, 0, 0, 0, 0, 0);
  271. return 1;
  272. }
  273. CMD:box(playerid, params[]) {
  274. if(!AnimationCheck(playerid, false))
  275. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  276. LoopingAnim(playerid, "GYMNASIUM", "GYMshadowbox", 4.0, 1, 0, 0, 0, 0);
  277. return 1;
  278. }
  279. CMD:wavedown(playerid, params[]) {
  280. if(!AnimationCheck(playerid, false))
  281. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  282. OnePlayAnim(playerid, "BD_FIRE", "BD_Panic_01", 4.0, 0, 0, 0, 0, 0);
  283. return 1;
  284. }
  285. CMD:goggles(playerid, params[]) {
  286. if(!AnimationCheck(playerid, false))
  287. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  288. OnePlayAnim(playerid, "goggles", "goggles_put_on", 4.0, 0, 0, 0, 0, 0);
  289. return 1;
  290. }
  291. CMD:snatch(playerid, params[]) {
  292. if(!AnimationCheck(playerid, false))
  293. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  294. new anumber = -1;
  295. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  296. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /snatch [1-2]");
  297. switch(anumber)
  298. {
  299. case 1: OnePlayAnim(playerid, "PED", "BIKE_elbowL", 4.1, 0, 0, 0, 0, 0);
  300. case 2: OnePlayAnim(playerid, "PED", "BIKE_elbowR", 4.1, 0, 0, 0, 0, 0);
  301. }
  302. return 1;
  303. }
  304. CMD:copa(playerid, params[]) {
  305. if(!AnimationCheck(playerid, false))
  306. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  307. new anumber = -1;
  308. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 9)
  309. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /copa [1-9]");
  310. switch(anumber)
  311. {
  312. case 1: OnePlayAnim(playerid, "POLICE", "CopTraf_Away", 4.1, 0, 0, 0, 0, 0);
  313. case 2: OnePlayAnim(playerid, "POLICE", "CopTraf_Come", 4.1, 0, 0, 0, 0, 0);
  314. case 3: OnePlayAnim(playerid, "POLICE", "CopTraf_Left", 4.1, 0, 0, 0, 0, 0);
  315. case 4: OnePlayAnim(playerid, "POLICE", "CopTraf_Stop", 4.1, 0, 0, 0, 0, 0);
  316. case 5: LoopingAnim(playerid, "POLICE", "Cop_move_FWD", 4.1, 1, 1, 1, 1, 1);
  317. case 6: LoopingAnim(playerid, "POLICE", "crm_drgbst_01", 4.1, 0, 0, 0, 1, 5000);
  318. case 7: OnePlayAnim(playerid, "POLICE", "Door_Kick", 4.1, 0, 1, 1, 1, 1);
  319. case 8: OnePlayAnim(playerid, "POLICE", "plc_drgbst_01", 4.1, 0, 0, 0, 0, 5000);
  320. case 9: OnePlayAnim(playerid, "POLICE", "plc_drgbst_02", 4.1, 0, 0, 0, 0, 0);
  321. }
  322. return 1;
  323. }
  324. CMD:strip(playerid, params[]) {
  325. if(!AnimationCheck(playerid, false))
  326. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  327. new anumber = -1;
  328. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 6)
  329. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /strip [1-6]");
  330. switch(anumber)
  331. {
  332. case 1: LoopingAnim(playerid, "STRIP", "strip_E", 4.1, 1, 0, 0, 0, 0);
  333. case 2: LoopingAnim(playerid, "STRIP", "strip_G", 4.1, 1, 0, 0, 0, 0);
  334. case 3: LoopingAnim(playerid, "STRIP", "STR_A2B", 4.1, 1, 0, 0, 0, 0);
  335. case 4: LoopingAnim(playerid, "STRIP", "STR_Loop_A", 4.1, 1, 0, 0, 0, 0);
  336. case 5: LoopingAnim(playerid, "STRIP", "STR_Loop_B", 4.1, 1, 0, 0, 0, 0);
  337. case 6: LoopingAnim(playerid, "STRIP", "STR_Loop_C", 4.1, 1, 0, 0, 0, 0);
  338. }
  339. return 1;
  340. }
  341. CMD:holdcue(playerid, params[]) {
  342. if(!AnimationCheck(playerid, false))
  343. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  344. new anumber = -1;
  345. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  346. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /holdcue [1-2]");
  347. switch(anumber)
  348. {
  349. case 1: LoopingAnim(playerid, "POOL", "POOL_ChalkCue", 4.1, 0, 1, 1, 1, 1);
  350. case 2: LoopingAnim(playerid, "POOL", "POOL_Idle_Stance", 4.1, 0, 1, 1, 1, 1);
  351. }
  352. return 1;
  353. }
  354. CMD:misc(playerid, params[]) {
  355. if(!AnimationCheck(playerid, false))
  356. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  357. new anumber = -1;
  358. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 3)
  359. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /misc [1-3]");
  360. switch(anumber)
  361. {
  362. case 1: LoopingAnim(playerid, "CAR", "Fixn_Car_Loop", 4.1, 1, 0, 0, 0, 0);
  363. case 2: OnePlayAnim(playerid, "CAR", "flag_drop", 4.1, 0, 0, 0, 0, 0);
  364. case 3: OnePlayAnim(playerid, "PED", "bomber", 4.1, 0, 0, 0, 0, 0);
  365. }
  366. return 1;
  367. }
  368. CMD:idle(playerid, params[]) {
  369. if(!AnimationCheck(playerid, false))
  370. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  371. new anumber = -1;
  372. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 15)
  373. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /idle [1-15]");
  374. switch(anumber)
  375. {
  376. case 1: OnePlayAnim(playerid, "PLAYIDLES", "shift", 4.1, 1, 1, 1, 1, 0);
  377. case 2: OnePlayAnim(playerid, "PLAYIDLES", "shldr", 4.1, 1, 1, 1, 1, 1);
  378. case 3: OnePlayAnim(playerid, "PLAYIDLES", "stretch", 4.1, 1, 1, 1, 1, 1);
  379. case 4: OnePlayAnim(playerid, "PLAYIDLES", "strleg", 4.1, 1, 1, 1, 1, 1);
  380. case 5: OnePlayAnim(playerid, "PLAYIDLES", "time", 4.1, 1, 1, 1, 1, 1);
  381. case 6: LoopingAnim(playerid, "COP_AMBIENT", "Copbrowse_loop", 4.1, 1, 0, 0, 0, 0);
  382. case 7: LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 1, 0, 0, 0, 0);
  383. case 8: OnePlayAnim(playerid, "COP_AMBIENT", "Coplook_shake", 4.1, 1, 0, 0, 0, 0);
  384. case 9: OnePlayAnim(playerid, "COP_AMBIENT", "Coplook_think", 4.1, 1, 0, 0, 0, 0);
  385. case 10: OnePlayAnim(playerid, "COP_AMBIENT", "Coplook_watch", 4.1, 1, 0, 0, 0, 0);
  386. case 11: OnePlayAnim(playerid, "PED", "roadcross", 4.1, 1, 0, 0, 0, 0);
  387. case 12: OnePlayAnim(playerid, "PED", "roadcross_female", 4.1, 1, 0, 0, 0, 0);
  388. case 13: OnePlayAnim(playerid, "PED", "roadcross_gang", 4.1, 1, 0, 0, 0, 0);
  389. case 14: OnePlayAnim(playerid, "PED", "roadcross_old", 4.1, 1, 0, 0, 0, 0);
  390. case 15: OnePlayAnim(playerid, "PED", "woman_idlestance", 4.1, 1, 0, 0, 0, 0);
  391. }
  392. return 1;
  393. }
  394. CMD:bar(playerid, params[]) {
  395. if(!AnimationCheck(playerid, false))
  396. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  397. new anumber = -1;
  398. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 5)
  399. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /bar [1-5]");
  400. switch(anumber)
  401. {
  402. case 1: OnePlayAnim(playerid, "BAR", "Barcustom_get", 4.0, 0, 1, 0, 0, 0);
  403. case 2: OnePlayAnim(playerid, "BAR", "Barserve_bottle", 4.0, 0, 0, 0, 0, 0);
  404. case 3: OnePlayAnim(playerid, "BAR", "Barserve_give", 4.0, 0, 0, 0, 0, 0);
  405. case 4: OnePlayAnim(playerid, "BAR", "dnk_stndM_loop", 4.0, 0, 0, 0, 0, 0);
  406. case 5: LoopingAnim(playerid, "BAR", "BARman_idle", 4.0, 1, 0, 0, 0, 0);
  407. }
  408. return 1;
  409. }
  410. CMD:tag(playerid, params[]) {
  411. if(!AnimationCheck(playerid, false))
  412. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  413. new anumber = -1;
  414. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  415. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /tag [1-2]");
  416. switch(anumber)
  417. {
  418. case 1: LoopingAnim(playerid, "GRAFFITI", "graffiti_Chkout", 4.0, 1, 0, 0, 0, 0);
  419. case 2: LoopingAnim(playerid, "GRAFFITI", "spraycan_fire", 4.0, 1, 0, 0, 0, 0);
  420. }
  421. return 1;
  422. }
  423. CMD:bat(playerid, params[]) {
  424. if(!AnimationCheck(playerid, false))
  425. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  426. new anumber = -1;
  427. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 3)
  428. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /bat [1-3]");
  429. switch(anumber)
  430. {
  431. case 1: LoopingAnim(playerid, "BASEBALL", "Bat_IDLE", 4.0, 1, 0, 0, 0, 0);
  432. case 2: LoopingAnim(playerid, "CRACK", "Bbalbat_Idle_01", 4.0, 1, 0, 0, 0, 0);
  433. case 3: LoopingAnim(playerid, "CRACK", "Bbalbat_Idle_02", 4.0, 1, 0, 0, 0, 0);
  434. }
  435. return 1;
  436. }
  437. CMD:hurt(playerid, params[]) {
  438. if(!AnimationCheck(playerid, false))
  439. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  440. new anumber = -1;
  441. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  442. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /hurt [1-2]");
  443. switch(anumber)
  444. {
  445. case 1: LoopingAnim(playerid, "SWAT", "gnstwall_injurd", 4.0, 1, 0, 0, 0, 0);
  446. case 2: LoopingAnim(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
  447. }
  448. return 1;
  449. }
  450. CMD:smoke(playerid, params[]) {
  451. if(!AnimationCheck(playerid, false))
  452. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  453. new anumber = -1;
  454. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  455. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /smoke [1-2]");
  456. switch(anumber)
  457. {
  458. case 1: OnePlayAnim(playerid, "SMOKING", "M_smk_in", 4.0, 0, 0, 0, 0, 0);
  459. case 2: LoopingAnim(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  460. }
  461. return 1;
  462. }
  463. CMD:gesture(playerid, params[]) {
  464. if(!AnimationCheck(playerid, false))
  465. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  466. new anumber = -1;
  467. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 15)
  468. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /gesture [1-15]");
  469. switch(anumber)
  470. {
  471. case 1: OnePlayAnim(playerid, "GHANDS", "gsign1", 4.0, 0, 0, 0, 0, 0);
  472. case 2: OnePlayAnim(playerid, "GHANDS", "gsign1LH", 4.0, 0, 0, 0, 0, 0);
  473. case 3: OnePlayAnim(playerid, "GHANDS", "gsign2", 4.0, 0, 0, 0, 0, 0);
  474. case 4: OnePlayAnim(playerid, "GHANDS", "gsign2LH", 4.0, 0, 0, 0, 0, 0);
  475. case 5: OnePlayAnim(playerid, "GHANDS", "gsign3", 4.0, 0, 0, 0, 0, 0);
  476. case 6: OnePlayAnim(playerid, "GHANDS", "gsign3LH", 4.0, 0, 0, 0, 0, 0);
  477. case 7: OnePlayAnim(playerid, "GHANDS", "gsign4", 4.0, 0, 0, 0, 0, 0);
  478. case 8: OnePlayAnim(playerid, "GHANDS", "gsign4LH", 4.0, 0, 0, 0, 0, 0);
  479. case 9: OnePlayAnim(playerid, "GHANDS", "gsign5", 4.0, 0, 0, 0, 0, 0);
  480. case 10: OnePlayAnim(playerid, "GHANDS", "gsign5", 4.0, 0, 0, 0, 0, 0);
  481. case 11: OnePlayAnim(playerid, "GHANDS", "gsign5LH", 4.0, 0, 0, 0, 0, 0);
  482. case 12: OnePlayAnim(playerid, "GANGS", "Invite_No", 4.0, 0, 0, 0, 0, 0);
  483. case 13: OnePlayAnim(playerid, "GANGS", "Invite_Yes", 4.0, 0, 0, 0, 0, 0);
  484. case 14: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkD", 4.0, 0, 0, 0, 0, 0);
  485. case 15: OnePlayAnim(playerid, "GANGS", "smkcig_prtl", 4.0, 0, 0, 0, 0, 0);
  486. }
  487. return 1;
  488. }
  489. CMD:chat(playerid, params[]) {
  490. if(!AnimationCheck(playerid, false))
  491. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  492. new anumber = -1;
  493. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 7)
  494. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /chat [1-7]");
  495. switch(anumber)
  496. {
  497. case 1: OnePlayAnim(playerid, "PED", "IDLE_CHAT", 4.0, 0, 0, 0, 0, 0);
  498. case 2: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkA", 4.0, 0, 0, 0, 0, 0);
  499. case 3: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkB", 4.0, 0, 0, 0, 0, 0);
  500. case 4: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkE", 4.0, 0, 0, 0, 0, 0);
  501. case 5: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkF", 4.0, 0, 0, 0, 0, 0);
  502. case 6: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkG", 4.0, 0, 0, 0, 0, 0);
  503. case 7: OnePlayAnim(playerid, "GANGS", "prtial_gngtlkH", 4.0, 0, 0, 0, 0, 0);
  504. }
  505. return 1;
  506. }
  507. CMD:deal(playerid, params[]) {
  508. if(!AnimationCheck(playerid, false))
  509. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  510. new anumber = -1;
  511. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  512. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /deal [1-2]");
  513. switch(anumber)
  514. {
  515. case 1: OnePlayAnim(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
  516. case 2: OnePlayAnim(playerid, "DEALER", "shop_pay", 4.0, 0, 0, 0, 0, 0);
  517. }
  518. return 1;
  519. }
  520. CMD:cheer(playerid, params[]) {
  521. if(!AnimationCheck(playerid, false))
  522. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  523. new anumber = -1;
  524. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 8)
  525. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /cheer [1-8]");
  526. switch(anumber)
  527. {
  528. case 1: OnePlayAnim(playerid, "ON_LOOKERS", "shout_01", 4.0, 0, 0, 0, 0, 0);
  529. case 2: OnePlayAnim(playerid, "ON_LOOKERS", "shout_02", 4.0, 0, 0, 0, 0, 0);
  530. case 3: OnePlayAnim(playerid, "ON_LOOKERS", "shout_in", 4.0, 0, 0, 0, 0, 0);
  531. case 4: LoopingAnim(playerid, "RIOT", "RIOT_ANGRY_B", 4.0, 1, 0, 0, 0, 0);
  532. case 5: OnePlayAnim(playerid, "RIOT", "RIOT_CHANT", 4.0, 0, 0, 0, 0, 0);
  533. case 6: OnePlayAnim(playerid, "RIOT", "RIOT_shout", 4.0, 0, 0, 0, 0, 0);
  534. case 7: OnePlayAnim(playerid, "STRIP", "PUN_HOLLER", 4.0, 0, 0, 0, 0, 0);
  535. case 8: OnePlayAnim(playerid, "OTB", "wtchrace_win", 4.0, 0, 0, 0, 0, 0);
  536. }
  537. return 1;
  538. }
  539. CMD:wave(playerid, params[]) {
  540. if(!AnimationCheck(playerid, false))
  541. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  542. new anumber = -1;
  543. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 3)
  544. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /wave [1-3]");
  545. switch(anumber)
  546. {
  547. case 1: LoopingAnim(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
  548. case 2: OnePlayAnim(playerid, "KISSING", "gfwave2", 4.0, 0, 0, 0, 0, 0);
  549. case 3: OnePlayAnim(playerid, "PED", "endchat_03", 4.0, 0, 0, 0, 0, 0);
  550. }
  551. return 1;
  552. }
  553. CMD:fallover(playerid, params[]) {
  554. if(!AnimationCheck(playerid, false))
  555. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  556. new anumber = -1;
  557. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 4)
  558. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /fallover [1-4]");
  559. switch(anumber)
  560. {
  561. case 1: LoopingAnim(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0);
  562. case 2: LoopingAnim(playerid, "PED", "KO_shot_face", 4.0, 0, 1, 1, 1, 0);
  563. case 3: LoopingAnim(playerid, "PED", "KO_shot_stom", 4.0, 0, 1, 1, 1, 0);
  564. case 4: LoopingAnim(playerid, "PED", "BIKE_fallR", 4.0, 0, 1, 1, 0, 0);
  565. //case 5: LoopingAnim(playerid, "PED", "FLOOR_hit_f", 4.0, 0, 1, 1, 1, 0, 1);
  566. }
  567. return 1;
  568. }
  569. CMD:sleep(playerid, params[]) {
  570. if(!AnimationCheck(playerid, false))
  571. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  572. new anumber = -1;
  573. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  574. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /sleep [1-2]");
  575. switch(anumber)
  576. {
  577. case 1: LoopingAnim(playerid, "CRACK", "crckdeth4", 4.0, 0, 0, 0, 1, 0);
  578. case 2: LoopingAnim(playerid, "CRACK", "crckidle2", 4.0, 0, 0, 0, 1, 0);
  579. }
  580. return 1;
  581. }
  582. CMD:lean(playerid, params[]) {
  583. if(!AnimationCheck(playerid, false))
  584. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  585. new anumber = -1;
  586. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  587. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /lean [1-2]");
  588. switch(anumber)
  589. {
  590. case 1: LoopingAnim(playerid, "GANGS", "leanIDLE", 4.1, 0, 0, 0, 1, 0);
  591. case 2: LoopingAnim(playerid, "MISC", "Plyrlean_loop", 4.1, 0, 0, 0, 1, 0);
  592. }
  593. return 1;
  594. }
  595. CMD:signal(playerid, params[]) {
  596. if(!AnimationCheck(playerid, false))
  597. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  598. new anumber = -1;
  599. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  600. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /signal [1-2]");
  601. switch(anumber)
  602. {
  603. case 1: LoopingAnim(playerid, "POLICE", "CopTraf_Come", 4.0, 0, 0, 0, 0, 0);
  604. case 2: LoopingAnim(playerid, "POLICE", "CopTraf_Stop", 4.0, 0, 0, 0, 0, 0);
  605. }
  606. return 1;
  607. }
  608. CMD:dj(playerid, params[]) {
  609. if(!AnimationCheck(playerid, false))
  610. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  611. new anumber = -1;
  612. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 4)
  613. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /dj [1-4]");
  614. switch(anumber)
  615. {
  616. case 1: LoopingAnim(playerid, "SCRATCHING", "scdldlp", 4.0, 1, 0, 0, 0, 0);
  617. case 2: LoopingAnim(playerid, "SCRATCHING", "scdlulp", 4.0, 1, 0, 0, 0, 0);
  618. case 3: LoopingAnim(playerid, "SCRATCHING", "scdrdlp", 4.0, 1, 0, 0, 0, 0);
  619. case 4:LoopingAnim(playerid, "SCRATCHING", "scdrulp", 4.0, 1, 0, 0, 0, 0);
  620. }
  621. return 1;
  622. }
  623. CMD:carchat(playerid, params[])
  624. {
  625. if(!AnimationCheck(playerid, true))
  626. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  627. if(!IsPlayerInAnyVehicle(playerid))
  628. return SendClientMessage(playerid, COLOR_GREY, "You are not in a vehicle.");
  629. new anumber = -1;
  630. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 19)
  631. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /carchat [1-19]");
  632. switch(anumber)
  633. {
  634. case 1: ApplyAnimation(playerid, "CAR_CHAT", "carfone_in", 4.1, 0, 1, 1, 1, 1);
  635. case 2: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopA", 4.1, 0, 1, 1, 1, 1);
  636. case 3: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopA_to_B", 4.1, 0, 1, 1, 1, 1);
  637. case 4: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopB", 4.1, 0, 1, 1, 1, 1);
  638. case 5: ApplyAnimation(playerid, "CAR_CHAT", "carfone_loopB_to_A", 4.1, 0, 1, 1, 1, 1);
  639. case 6: ApplyAnimation(playerid, "CAR_CHAT", "carfone_out", 4.1, 0, 1, 1, 1, 1);
  640. case 7: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_BL", 4.1, 0, 1, 1, 1, 1);
  641. case 8: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_BR", 4.1, 0, 1, 1, 1, 1);
  642. case 9: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_FL", 4.1, 0, 1, 1, 1, 1);
  643. case 10: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc1_FR", 4.1, 0, 1, 1, 1, 1);
  644. case 11: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc2_FL", 4.1, 0, 1, 1, 1, 1);
  645. case 12: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_BR", 4.1, 0, 1, 1, 1, 1);
  646. case 13: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_FL", 4.1, 0, 1, 1, 1, 1);
  647. case 14: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc3_FR", 4.1, 0, 1, 1, 1, 1);
  648. case 15: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_BL", 4.1, 0, 1, 1, 1, 1);
  649. case 16: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_BR", 4.1, 0, 1, 1, 1, 1);
  650. case 17: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_FL", 4.1, 0, 1, 1, 1, 1);
  651. case 18: ApplyAnimation(playerid, "CAR_CHAT", "CAR_Sc4_FR", 4.1, 0, 1, 1, 1, 1);
  652. case 19: ApplyAnimation(playerid, "CAR", "Sit_relaxed", 4.1, 0, 1, 1, 1, 1);
  653. }
  654. return 1;
  655. }
  656. CMD:sunbathe(playerid, params[])
  657. {
  658. if(!AnimationCheck(playerid, false))
  659. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  660. new anumber = -1;
  661. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 18)
  662. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /sunbathe [1-18]");
  663. switch(anumber)
  664. {
  665. case 1: LoopingAnim(playerid, "SUNBATHE", "batherdown", 4.1, 0, 1, 1, 1, 1);
  666. case 2: LoopingAnim(playerid, "SUNBATHE", "batherup", 4.1, 0, 1, 1, 1, 1);
  667. case 3: LoopingAnim(playerid, "SUNBATHE", "Lay_Bac_in", 4.1, 0, 1, 1, 1, 1);
  668. case 4: LoopingAnim(playerid, "SUNBATHE", "Lay_Bac_out", 4.1, 0, 1, 1, 1, 1);
  669. case 5: LoopingAnim(playerid, "SUNBATHE", "ParkSit_M_IdleA", 4.1, 0, 1, 1, 1, 1);
  670. case 6: LoopingAnim(playerid, "SUNBATHE", "ParkSit_M_IdleB", 4.1, 0, 1, 1, 1, 1);
  671. case 7: LoopingAnim(playerid, "SUNBATHE", "ParkSit_M_IdleC", 4.1, 0, 1, 1, 1, 1);
  672. case 8: LoopingAnim(playerid, "SUNBATHE", "ParkSit_M_in", 4.1, 0, 1, 1, 1, 1);
  673. case 9: LoopingAnim(playerid, "SUNBATHE", "ParkSit_M_out", 4.1, 0, 1, 1, 1, 1);
  674. case 10: LoopingAnim(playerid, "SUNBATHE", "ParkSit_W_idleA", 4.1, 0, 1, 1, 1, 1);
  675. case 11: LoopingAnim(playerid, "SUNBATHE", "ParkSit_W_idleB", 4.1, 0, 1, 1, 1, 1);
  676. case 12: LoopingAnim(playerid, "SUNBATHE", "ParkSit_W_idleC", 4.1, 0, 1, 1, 1, 1);
  677. case 13: LoopingAnim(playerid, "SUNBATHE", "ParkSit_W_in", 4.1, 0, 1, 1, 1, 1);
  678. case 14: LoopingAnim(playerid, "SUNBATHE", "ParkSit_W_out", 4.1, 0, 1, 1, 1, 1);
  679. case 15: LoopingAnim(playerid, "SUNBATHE", "SBATHE_F_LieB2Sit", 4.1, 0, 1, 1, 1, 1);
  680. case 16: LoopingAnim(playerid, "SUNBATHE", "SBATHE_F_Out", 4.1, 0, 1, 1, 1, 1);
  681. case 17: LoopingAnim(playerid, "SUNBATHE", "SitnWait_in_W", 4.1, 0, 1, 1, 1, 1);
  682. case 18: LoopingAnim(playerid, "SUNBATHE", "SitnWait_out_W", 4.1, 0, 1, 1, 1, 1);
  683. }
  684. return 1;
  685. }
  686. CMD:handsup(playerid, params[])
  687. {
  688. if(!AnimationCheck(playerid, false))
  689. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  690. SetPlayerSpecialAction(playerid, SPECIAL_ACTION_HANDSUP);
  691. return 1;
  692. }
  693. CMD:dance(playerid, params[])
  694. {
  695. if(!AnimationCheck(playerid, false))
  696. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  697. new anumber = -1;
  698. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 4)
  699. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /dance [1-4]");
  700. switch(anumber) {
  701. case 1: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE1);
  702. case 2: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE2);
  703. case 3: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE3);
  704. case 4: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE4);
  705. }
  706. return 1;
  707. }
  708. CMD:crossarms(playerid, params[])
  709. {
  710. if(!AnimationCheck(playerid, false))
  711. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  712. new anumber = -1;
  713. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 5)
  714. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /crossarms [1-5]");
  715. switch(anumber) {
  716. case 1: LoopingAnim(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  717. case 2: LoopingAnim(playerid, "DEALER", "DEALER_IDLE", 4.0, 0, 1, 1, 1, -1);
  718. case 3: LoopingAnim(playerid, "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
  719. case 4: LoopingAnim(playerid, "GRAVEYARD", "mrnM_loop", 4.0, 1, 0, 0, 0, 0);
  720. case 5: LoopingAnim(playerid, "GRAVEYARD", "prst_loopa", 4.0, 1, 0, 0, 0, 0);
  721. }
  722. return 1;
  723. }
  724. CMD:getjiggy(playerid, params[])
  725. {
  726. if(!AnimationCheck(playerid, false))
  727. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  728. new anumber = -1;
  729. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 10)
  730. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /getjiggy [1-10]");
  731. switch(anumber) {
  732. case 1: LoopingAnim(playerid, "DANCING", "DAN_Down_A", 4.0, 1, 0, 0, 0, 0);
  733. case 2: LoopingAnim(playerid, "DANCING", "DAN_Left_A", 4.0, 1, 0, 0, 0, 0);
  734. case 3: LoopingAnim(playerid, "DANCING", "DAN_Loop_A", 4.0, 1, 0, 0, 0, 0);
  735. case 4: LoopingAnim(playerid, "DANCING", "DAN_Right_A", 4.0, 1, 0, 0, 0, 0);
  736. case 5: LoopingAnim(playerid, "DANCING", "DAN_Up_A", 4.0, 1, 0, 0, 0, 0);
  737. case 6: LoopingAnim(playerid, "DANCING", "dnce_M_a", 4.0, 1, 0, 0, 0, 0);
  738. case 7: LoopingAnim(playerid, "DANCING", "dnce_M_b", 4.0, 1, 0, 0, 0, 0);
  739. case 8: LoopingAnim(playerid, "DANCING", "dnce_M_c", 4.0, 1, 0, 0, 0, 0);
  740. case 9: LoopingAnim(playerid, "DANCING", "dnce_M_c", 4.0, 1, 0, 0, 0, 0);
  741. case 10: LoopingAnim(playerid, "DANCING", "dnce_M_d", 4.0, 1, 0, 0, 0, 0);
  742. }
  743. return 1;
  744. }
  745. CMD:siteat(playerid, params[])
  746. {
  747. if(!AnimationCheck(playerid, false))
  748. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  749. new anumber = -1;
  750. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  751. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /siteat [1-2]");
  752. switch(anumber) {
  753. case 1: LoopingAnim(playerid, "FOOD", "FF_Sit_Eat3", 4.0, 1, 0, 0, 0, 0);
  754. case 2: LoopingAnim(playerid, "FOOD", "FF_Sit_Eat2", 4.0, 1, 0, 0, 0, 0);
  755. }
  756. return 1;
  757. }
  758. CMD:nobreath(playerid, params[])
  759. {
  760. if(!AnimationCheck(playerid, false))
  761. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  762. new anumber = -1;
  763. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 2)
  764. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /nobreath [1-2]");
  765. switch(anumber) {
  766. case 1: LoopingAnim(playerid, "PED", "IDLE_tired", 4.0, 1, 0, 0, 0, 0);
  767. case 2: LoopingAnim(playerid, "FAT", "IDLE_tired", 4.0, 1, 0, 0, 0, 0);
  768. }
  769. return 1;
  770. }
  771. CMD:sit(playerid, params[])
  772. {
  773. if(!AnimationCheck(playerid, false))
  774. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  775. new anumber = -1;
  776. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 5)
  777. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /sit [1-5]");
  778. switch(anumber) {
  779. case 1: LoopingAnim(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
  780. case 2: LoopingAnim(playerid, "BEACH", "Lay_Bac_Loop", 4.0, 1, 0, 0, 0, 0);
  781. case 3: LoopingAnim(playerid, "BEACH", "ParkSit_W_loop", 4.0, 1, 0, 0, 0, 0);
  782. case 4: LoopingAnim(playerid, "BEACH", "SitnWait_loop_W", 4.0, 1, 0, 0, 0, 0);
  783. case 5: LoopingAnim(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
  784. }
  785. return 1;
  786. }
  787. CMD:sitonchair(playerid, params[])
  788. return cmd_sitdown(playerid, params);
  789. CMD:sitdown(playerid, params[])
  790. {
  791. if(!AnimationCheck(playerid, false))
  792. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  793. new anumber = -1;
  794. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 7)
  795. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /sitdown [1-7]");
  796. switch(anumber) {
  797. case 1: LoopingAnim(playerid, "Attractors", "Stepsit_in", 4.0, 0, 0, 0, 1, 0);
  798. case 2: LoopingAnim(playerid, "CRIB", "PED_Console_Loop", 4.0, 1, 0, 0, 0, 0);
  799. case 3: LoopingAnim(playerid, "INT_HOUSE", "LOU_In", 4.0, 0, 0, 0, 1, 0);
  800. case 4: LoopingAnim(playerid, "MISC", "SEAT_LR", 4.0, 1, 0, 0, 0, 0);
  801. case 5: LoopingAnim(playerid, "MISC", "Seat_talk_01", 4.0, 1, 0, 0, 0, 0);
  802. case 6: LoopingAnim(playerid, "MISC", "Seat_talk_02", 4.0, 1, 0, 0, 0, 0);
  803. case 7: LoopingAnim(playerid, "ped", "SEAT_down", 4.0, 0, 0, 0, 1, 0);
  804. }
  805. return 1;
  806. }
  807. CMD:pedmove(playerid, params[])
  808. {
  809. if(!AnimationCheck(playerid, false))
  810. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  811. new anumber = -1;
  812. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 26)
  813. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /pedmove [1-26]");
  814. switch(anumber) {
  815. case 1: LoopingAnim(playerid, "PED", "JOG_femaleA", 4.0, 1, 1, 1, 1, 1);
  816. case 2: LoopingAnim(playerid, "PED", "JOG_maleA", 4.0, 1, 1, 1, 1, 1);
  817. case 3: LoopingAnim(playerid, "PED", "WOMAN_walkfatold", 4.0, 1, 1, 1, 1, 1);
  818. case 4: LoopingAnim(playerid, "PED", "run_fat", 4.0, 1, 1, 1, 1, 1);
  819. case 5: LoopingAnim(playerid, "PED", "run_fatold", 4.0, 1, 1, 1, 1, 1);
  820. case 6: LoopingAnim(playerid, "PED", "run_old", 4.0, 1, 1, 1, 1, 1);
  821. case 7: LoopingAnim(playerid, "PED", "Run_Wuzi", 4.0, 1, 1, 1, 1, 1);
  822. case 8: LoopingAnim(playerid, "PED", "swat_run", 4.0, 1, 1, 1, 1, 1);
  823. case 9: LoopingAnim(playerid, "PED", "WALK_fat", 4.0, 1, 1, 1, 1, 1);
  824. case 10: LoopingAnim(playerid, "PED", "WALK_fatold", 4.0, 1, 1, 1, 1, 1);
  825. case 11: LoopingAnim(playerid, "PED", "WALK_gang1", 4.0, 1, 1, 1, 1, 1);
  826. case 12: LoopingAnim(playerid, "PED", "WALK_gang2", 4.0, 1, 1, 1, 1, 1);
  827. case 13: LoopingAnim(playerid, "PED", "WALK_old", 4.0, 1, 1, 1, 1, 1);
  828. case 14: LoopingAnim(playerid, "PED", "WALK_shuffle", 4.0, 1, 1, 1, 1, 1);
  829. case 15: LoopingAnim(playerid, "PED", "woman_run", 4.0, 1, 1, 1, 1, 1);
  830. case 16: LoopingAnim(playerid, "PED", "WOMAN_runbusy", 4.0, 1, 1, 1, 1, 1);
  831. case 17: LoopingAnim(playerid, "PED", "WOMAN_runfatold", 4.0, 1, 1, 1, 1, 1);
  832. case 18: LoopingAnim(playerid, "PED", "woman_runpanic", 4.0, 1, 1, 1, 1, 1);
  833. case 19: LoopingAnim(playerid, "PED", "WOMAN_runsexy", 4.0, 1, 1, 1, 1, 1);
  834. case 20: LoopingAnim(playerid, "PED", "WOMAN_walkbusy", 4.0, 1, 1, 1, 1, 1);
  835. case 21: LoopingAnim(playerid, "PED", "WOMAN_walkfatold", 4.0, 1, 1, 1, 1, 1);
  836. case 22: LoopingAnim(playerid, "PED", "WOMAN_walknorm", 4.0, 1, 1, 1, 1, 1);
  837. case 23: LoopingAnim(playerid, "PED", "WOMAN_walkold", 4.0, 1, 1, 1, 1, 1);
  838. case 24: LoopingAnim(playerid, "PED", "WOMAN_walkpro", 4.0, 1, 1, 1, 1, 1);
  839. case 25: LoopingAnim(playerid, "PED", "WOMAN_walksexy", 4.0, 1, 1, 1, 1, 1);
  840. case 26: LoopingAnim(playerid, "PED", "WOMAN_walkshop", 4.0, 1, 1, 1, 1, 1);
  841. }
  842. return 1;
  843. }
  844. CMD:rap(playerid, params[])
  845. {
  846. if(!AnimationCheck(playerid, false))
  847. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  848. new anumber = -1;
  849. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 3)
  850. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /rap [1-3]");
  851. switch(anumber) {
  852. case 1: LoopingAnim(playerid, "RAPPING", "RAP_A_Loop", 4.0, 1, 1, 1, 1, 0);
  853. case 2: LoopingAnim(playerid, "RAPPING", "RAP_B_Loop", 4.0, 1, 1, 1, 1, 0);
  854. case 3: LoopingAnim(playerid, "RAPPING", "RAP_C_Loop", 4.0, 1, 1, 1, 1, 0);
  855. }
  856. return 1;
  857. }
  858. CMD:reload(playerid, params[])
  859. {
  860. if(!AnimationCheck(playerid, false))
  861. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  862. new anumber = -1;
  863. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 5)
  864. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /reload [1-5]");
  865. switch(anumber) {
  866. case 1: ApplyAnimationEx(playerid, "COLT45", "colt45_reload", 4.0, 0, 0, 0, 0, 0);
  867. case 2: ApplyAnimationEx(playerid, "COLT45", "sawnoff_reload", 4.0, 0, 0, 0, 0, 0);
  868. case 3: ApplyAnimationEx(playerid, "BUDDY", "buddy_reload", 4.0, 0, 0, 0, 0, 0);
  869. case 4: ApplyAnimationEx(playerid, "RIFLE", "RIFLE_load", 4.0, 0, 0, 0, 0, 0);
  870. case 5: ApplyAnimationEx(playerid, "PYTHON", "python_reload", 4.0, 0, 0, 0, 0, 0);
  871. }
  872. return 1;
  873. }
  874. /*CMD:skate(playerid, params[])
  875. {
  876. if(!AnimationCheck(playerid, false))
  877. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  878. new anumber = -1;
  879. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 3)
  880. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /skate [1-3]");
  881. switch(anumber) {
  882. case 1: LoopingAnim(playerid, "SKATE", "skate_idle", 4.0, 1, 1, 1, 1, 1);
  883. case 2: LoopingAnim(playerid, "SKATE", "skate_run", 4.0, 1, 1, 1, 1, 1);
  884. case 3: LoopingAnim(playerid, "SKATE", "skate_sprint", 4.0, 1, 1, 1, 1, 1);
  885. }
  886. return 1;
  887. }*/
  888. CMD:wank(playerid, params[])
  889. {
  890. if(!AnimationCheck(playerid, false))
  891. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  892. new anumber = -1;
  893. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 3)
  894. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /wank [1-3]");
  895. switch(anumber) {
  896. case 1: OnePlayAnim(playerid, "PAULNMAC", "wank_in", 4.0, 0, 1, 1, 0, 0);
  897. case 2: LoopingAnim(playerid, "PAULNMAC", "wank_loop", 4.0, 1, 1, 0, 0, 0);
  898. case 3: OnePlayAnim(playerid, "PAULNMAC", "wank_out", 4.0, 0, 0, 0, 0, 0);
  899. }
  900. return 1;
  901. }
  902. CMD:fuckme(playerid, params[])
  903. {
  904. if(!AnimationCheck(playerid, false))
  905. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  906. new anumber = -1;
  907. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 8)
  908. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /fuckme [1-8]");
  909. switch(anumber) {
  910. case 1: LoopingAnim(playerid, "SNM", "SPANKING_IDLEW", 4.1, 0, 1, 1, 1, 0);
  911. case 2: LoopingAnim(playerid, "SNM", "SPANKING_IDLEP", 4.1, 0, 1, 1, 1, 0);
  912. case 3: LoopingAnim(playerid, "SNM", "SPANKINGW", 4.1, 0, 1, 1, 1, 0);
  913. case 4: LoopingAnim(playerid, "SNM", "SPANKINGP", 4.1, 0, 1, 1, 1, 0);
  914. case 5: LoopingAnim(playerid, "SNM", "SPANKEDW", 4.1, 0, 1, 1, 1, 0);
  915. case 6: LoopingAnim(playerid, "SNM", "SPANKEDP", 4.1, 0, 1, 1, 1, 0);
  916. case 7: LoopingAnim(playerid, "SNM", "SPANKING_ENDW", 4.1, 0, 1, 1, 1, 0);
  917. case 8: LoopingAnim(playerid, "SNM", "SPANKING_ENDP", 4.1, 0, 1, 1, 1, 0);
  918. }
  919. return 1;
  920. }
  921. CMD:bj(playerid, params[])
  922. {
  923. if(!AnimationCheck(playerid, false))
  924. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  925. new anumber = -1;
  926. if(sscanf(params, "i", anumber) || anumber < 1 || anumber > 12)
  927. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /bj [1-12]");
  928. switch(anumber) {
  929. case 1: LoopingAnim(playerid, "BLOWJOBZ", "BJ_COUCH_START_P", 4.1, 0, 1, 1, 1, 0);
  930. case 2: LoopingAnim(playerid, "BLOWJOBZ", "BJ_COUCH_START_W", 4.1, 0, 1, 1, 1, 0);
  931. case 3: LoopingAnim(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_P", 4.1, 0, 1, 1, 1, 0);
  932. case 4: LoopingAnim(playerid, "BLOWJOBZ", "BJ_COUCH_LOOP_W", 4.1, 0, 1, 1, 1, 0);
  933. case 5: LoopingAnim(playerid, "BLOWJOBZ", "BJ_COUCH_END_P", 4.1, 0, 1, 1, 1, 0);
  934. case 6: LoopingAnim(playerid, "BLOWJOBZ", "BJ_COUCH_END_W", 4.1, 0, 1, 1, 1, 0);
  935. case 7: LoopingAnim(playerid, "BLOWJOBZ", "BJ_STAND_START_P", 4.1, 0, 1, 1, 1, 0);
  936. case 8: LoopingAnim(playerid, "BLOWJOBZ", "BJ_STAND_START_W", 4.1, 0, 1, 1, 1, 0);
  937. case 9: LoopingAnim(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_P", 4.1, 0, 1, 1, 1, 0);
  938. case 10: LoopingAnim(playerid, "BLOWJOBZ", "BJ_STAND_LOOP_W", 4.1, 0, 1, 1, 1, 0);
  939. case 11: LoopingAnim(playerid, "BLOWJOBZ", "BJ_STAND_END_P", 4.1, 0, 1, 1, 1, 0);
  940. case 12: LoopingAnim(playerid, "BLOWJOBZ", "BJ_STAND_END_W", 4.1, 0, 1, 1, 1, 0);
  941. }
  942. return 1;
  943. }
  944. CMD:shakehand(playerid, params[])
  945. {
  946. if(!AnimationCheck(playerid, false))
  947. return SendClientMessage(playerid, COLOR_GREY, "You can't do that at this time.");
  948. new anumber = -1;
  949. new giveplayerid;
  950. if(sscanf(params, "ui", giveplayerid, anumber) || anumber < 1 || anumber > 6)
  951. return SendClientMessage(playerid, 0x00BFFFFF, "USAGE:{FFFFFF} /shakehand [playerid/PartOfName] [1-6]");
  952. if(!IsPlayerConnected(giveplayerid))
  953. return SendClientMessage(playerid, COLOR_GREY, "That player is offline.");
  954. if(giveplayerid == playerid)
  955. return cmd_me(playerid, "shakes their own hand.");
  956. if(!IsPlayerInRangeOfPlayer(2.0, playerid, giveplayerid))
  957. return SendClientMessage(playerid, COLOR_GREY, "You are not near this player.");
  958. if(!AnimationCheck(giveplayerid, false))
  959. return SendClientMessage(playerid, COLOR_GREY, "That player cannot shake your hand right now.");
  960. new shakeStr[128];
  961. format(shakeStr, sizeof(shakeStr), "* You offered to shake %s's hand.", PlayerICName(giveplayerid));
  962. SendClientMessage(playerid, COLOR_LIGHTBLUE, shakeStr);
  963. format(shakeStr, sizeof(shakeStr), "* %s has offered to shake your hand (type /accept handshake), to accept it.", PlayerICName(playerid));
  964. SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, shakeStr);
  965. HSHAKEOFFER[giveplayerid] = playerid;
  966. HShakeType[giveplayerid] = anumber;
  967. return 1;
  968. }
  969. ////////////////////////////////////////////////////
  970. stock AnimationCheck(playerid, bool:vehicleAllowed) {
  971. if( GetPlayerAnimationIndex(playerid) == 1461 ||
  972. GetPlayerAnimationIndex(playerid) == 1463 ||
  973. pDeathState[playerid] != PLAYER_STATE_NORMAL ||
  974. PlayerTied[playerid] != 0 ||
  975. PlayerCuffed[playerid] != 0 ||
  976. PlayerTazed[playerid] != 0 ||
  977. PlayerFrozen[playerid] != 0 ||
  978. IsFishing[playerid] != 0 ||
  979. (PlayerInfo[playerid][pJailed] != 0 && PlayerInfo[playerid][pJailed] != 2)
  980. ) return 0;
  981. if(!vehicleAllowed && IsPlayerInAnyVehicle(playerid))
  982. return 0;
  983. if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) return 0;
  984. return 1;
  985. }