Advertisement
unguru2009

Animatii!+500

Mar 7th, 2015
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.90 KB | None | 0 0
  1.  
  2.  
  3. /*
  4. Credits:
  5. (*) Jack Robertson (LSC-RP Owner - lsc-rp.net)
  6. Do whatever you want with is filterscript but please dont remove the credits thanks,
  7.  
  8. */
  9.  
  10. #define FILTERSCRIPT
  11.  
  12. #include <a_samp>
  13. #include <core>
  14. #include <float>
  15. #include <zcmd>
  16. #include <sscanf2>
  17.  
  18. #undef MAX_PLAYERS
  19. #define MAX_PLAYERS 1000
  20.  
  21.  
  22. #include "../include/gl_common.inc"
  23. #define COLOR_GRAD1 0xB4B5B7FF
  24. #define COLOR_GRAD2 0xBFC0C2FF
  25. #define COLOR_GRAD3 0xCBCCCEFF
  26. #define COLOR_GRAD4 0xD8D8D8FF
  27. #define COLOR_GRAD5 0xE3E3E3FF
  28. #define COLOR_GRAD6 0xF0F0F0FF
  29. #define COLOR_GREEN 0x33AA33AA
  30. #define COLOR_RED 0xFF0000FF
  31. #define COLOR_WHITE 0xFFFFFFAA
  32. #define DIALOG_SHOW_INFO 13337
  33.  
  34. new gPlayerUsingLoopingAnim[MAX_PLAYERS];
  35. new gPlayerAnimLibsPreloaded[MAX_PLAYERS];
  36.  
  37. new Text:txtAnimHelper;
  38.  
  39. //-------------------------------------------------
  40.  
  41. StopLoopingAnim(playerid)
  42. {
  43. gPlayerUsingLoopingAnim[playerid] = 0;
  44. ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0, 1);
  45. }
  46.  
  47. PreloadAnimLib(playerid, animlib[])
  48. {
  49. ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0,1);
  50. }
  51.  
  52.  
  53. //-------------------------------------------------
  54.  
  55. // ********** CALLBACKS **********
  56.  
  57. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  58. {
  59. if(GetPVarInt(playerid, "Injured") != 0) return;
  60. if(!gPlayerUsingLoopingAnim[playerid]) return;
  61.  
  62. if(IsKeyJustDown(KEY_SPRINT,newkeys,oldkeys))
  63. {
  64. StopLoopingAnim(playerid);
  65. TextDrawHideForPlayer(playerid,txtAnimHelper);
  66. }
  67. }
  68.  
  69. //------------------------------------------------
  70.  
  71. public OnPlayerDeath(playerid, killerid, reason)
  72. {
  73. if(gPlayerUsingLoopingAnim[playerid])
  74. {
  75. gPlayerUsingLoopingAnim[playerid] = 0;
  76. TextDrawHideForPlayer(playerid,txtAnimHelper);
  77. }
  78.  
  79. return 1;
  80. }
  81.  
  82. //-------------------------------------------------
  83. stock IsInLowRider(playerid) {
  84. new pveh = GetPlayerVehicleID(playerid);
  85. switch(GetVehicleModel(pveh)) {
  86. case 536, 575, 567: return 1;
  87. }
  88. return 0;
  89. }
  90.  
  91. public OnPlayerSpawn(playerid)
  92. {
  93. if(!gPlayerAnimLibsPreloaded[playerid])
  94. {
  95. PreloadAnimLib(playerid,"AIRPORT");
  96. PreloadAnimLib(playerid,"Attractors");
  97. PreloadAnimLib(playerid,"BAR");
  98. PreloadAnimLib(playerid,"BASEBALL");
  99. PreloadAnimLib(playerid,"BD_FIRE");
  100. PreloadAnimLib(playerid,"benchpress");
  101. PreloadAnimLib(playerid,"BF_injection");
  102. PreloadAnimLib(playerid,"BIKED");
  103. PreloadAnimLib(playerid,"BIKEH");
  104. PreloadAnimLib(playerid,"BIKELEAP");
  105. PreloadAnimLib(playerid,"BIKES");
  106. PreloadAnimLib(playerid,"BIKEV");
  107. PreloadAnimLib(playerid,"BIKE_DBZ");
  108. PreloadAnimLib(playerid,"BMX");
  109. PreloadAnimLib(playerid,"BOX");
  110. PreloadAnimLib(playerid,"BSKTBALL");
  111. PreloadAnimLib(playerid,"BUDDY");
  112. PreloadAnimLib(playerid,"BUS");
  113. PreloadAnimLib(playerid,"CAMERA");
  114. PreloadAnimLib(playerid,"CAR");
  115. PreloadAnimLib(playerid,"CAR_CHAT");
  116. PreloadAnimLib(playerid,"CASINO");
  117. PreloadAnimLib(playerid,"CHAINSAW");
  118. PreloadAnimLib(playerid,"CHOPPA");
  119. PreloadAnimLib(playerid,"CLOTHES");
  120. PreloadAnimLib(playerid,"COACH");
  121. PreloadAnimLib(playerid,"COLT45");
  122. PreloadAnimLib(playerid,"COP_DVBYZ");
  123. PreloadAnimLib(playerid,"CRIB");
  124. PreloadAnimLib(playerid,"DAM_JUMP");
  125. PreloadAnimLib(playerid,"DANCING");
  126. PreloadAnimLib(playerid,"DILDO");
  127. PreloadAnimLib(playerid,"DODGE");
  128. PreloadAnimLib(playerid,"DOZER");
  129. PreloadAnimLib(playerid,"DRIVEBYS");
  130. PreloadAnimLib(playerid,"FAT");
  131. PreloadAnimLib(playerid,"FIGHT_B");
  132. PreloadAnimLib(playerid,"FIGHT_C");
  133. PreloadAnimLib(playerid,"FIGHT_D");
  134. PreloadAnimLib(playerid,"FIGHT_E");
  135. PreloadAnimLib(playerid,"FINALE");
  136. PreloadAnimLib(playerid,"FINALE2");
  137. PreloadAnimLib(playerid,"Flowers");
  138. PreloadAnimLib(playerid,"FOOD");
  139. PreloadAnimLib(playerid,"Freeweights");
  140. PreloadAnimLib(playerid,"GANGS");
  141. PreloadAnimLib(playerid,"GHANDS");
  142. PreloadAnimLib(playerid,"GHETTO_DB");
  143. PreloadAnimLib(playerid,"goggles");
  144. PreloadAnimLib(playerid,"GRAFFITI");
  145. PreloadAnimLib(playerid,"GRAVEYARD");
  146. PreloadAnimLib(playerid,"GRENADE");
  147. PreloadAnimLib(playerid,"GYMNASIUM");
  148. PreloadAnimLib(playerid,"HAIRCUTS");
  149. PreloadAnimLib(playerid,"HEIST9");
  150. PreloadAnimLib(playerid,"INT_HOUSE");
  151. PreloadAnimLib(playerid,"INT_OFFICE");
  152. PreloadAnimLib(playerid,"INT_SHOP");
  153. PreloadAnimLib(playerid,"JST_BUISNESS");
  154. PreloadAnimLib(playerid,"KART");
  155. PreloadAnimLib(playerid,"KISSING");
  156. PreloadAnimLib(playerid,"KNIFE");
  157. PreloadAnimLib(playerid,"LAPDAN1");
  158. PreloadAnimLib(playerid,"LAPDAN2");
  159. PreloadAnimLib(playerid,"LAPDAN3");
  160. PreloadAnimLib(playerid,"LOWRIDER");
  161. PreloadAnimLib(playerid,"MD_CHASE");
  162. PreloadAnimLib(playerid,"MEDIC");
  163. PreloadAnimLib(playerid,"MD_END");
  164. PreloadAnimLib(playerid,"MISC");
  165. PreloadAnimLib(playerid,"MTB");
  166. PreloadAnimLib(playerid,"MUSCULAR");
  167. PreloadAnimLib(playerid,"NEVADA");
  168. PreloadAnimLib(playerid,"ON_LOOKERS");
  169. PreloadAnimLib(playerid,"OTB");
  170. PreloadAnimLib(playerid,"PARACHUTE");
  171. PreloadAnimLib(playerid,"PARK");
  172. PreloadAnimLib(playerid,"PAULNMAC");
  173. PreloadAnimLib(playerid,"PED");
  174. PreloadAnimLib(playerid,"PLAYER_DVBYS");
  175. PreloadAnimLib(playerid,"PLAYIDLES");
  176. PreloadAnimLib(playerid,"POLICE");
  177. PreloadAnimLib(playerid,"POOL");
  178. PreloadAnimLib(playerid,"POOR");
  179. PreloadAnimLib(playerid,"PYTHON");
  180. PreloadAnimLib(playerid,"QUAD");
  181. PreloadAnimLib(playerid,"QUAD_DBZ");
  182. PreloadAnimLib(playerid,"RIFLE");
  183. PreloadAnimLib(playerid,"RIOT");
  184. PreloadAnimLib(playerid,"ROB_BANK");
  185. PreloadAnimLib(playerid,"ROCKET");
  186. PreloadAnimLib(playerid,"RUSTLER");
  187. PreloadAnimLib(playerid,"RYDER");
  188. PreloadAnimLib(playerid,"SCRATCHING");
  189. PreloadAnimLib(playerid,"SHAMAL");
  190. PreloadAnimLib(playerid,"SHOTGUN");
  191. PreloadAnimLib(playerid,"SILENCED");
  192. PreloadAnimLib(playerid,"SKATE");
  193. PreloadAnimLib(playerid,"SPRAYCAN");
  194. PreloadAnimLib(playerid,"STRIP");
  195. PreloadAnimLib(playerid,"SUNBATHE");
  196. PreloadAnimLib(playerid,"SWAT");
  197. PreloadAnimLib(playerid,"SWEET");
  198. PreloadAnimLib(playerid,"SWIM");
  199. PreloadAnimLib(playerid,"SWORD");
  200. PreloadAnimLib(playerid,"TANK");
  201. PreloadAnimLib(playerid,"TATTOOS");
  202. PreloadAnimLib(playerid,"TEC");
  203. PreloadAnimLib(playerid,"TRAIN");
  204. PreloadAnimLib(playerid,"TRUCK");
  205. PreloadAnimLib(playerid,"UZI");
  206. PreloadAnimLib(playerid,"VAN");
  207. PreloadAnimLib(playerid,"VENDING");
  208. PreloadAnimLib(playerid,"VORTEX");
  209. PreloadAnimLib(playerid,"WAYFARER");
  210. PreloadAnimLib(playerid,"WEAPONS");
  211. PreloadAnimLib(playerid,"WUZI");
  212. PreloadAnimLib(playerid,"SNM");
  213. PreloadAnimLib(playerid,"BLOWJOBZ");
  214. PreloadAnimLib(playerid,"SEX");
  215. PreloadAnimLib(playerid,"BOMBER");
  216. PreloadAnimLib(playerid,"RAPPING");
  217. PreloadAnimLib(playerid,"SHOP");
  218. PreloadAnimLib(playerid,"BEACH");
  219. PreloadAnimLib(playerid,"SMOKING");
  220. PreloadAnimLib(playerid,"FOOD");
  221. PreloadAnimLib(playerid,"ON_LOOKERS");
  222. PreloadAnimLib(playerid,"DEALER");
  223. PreloadAnimLib(playerid,"CRACK");
  224. PreloadAnimLib(playerid,"CARRY");
  225. PreloadAnimLib(playerid,"COP_AMBIENT");
  226. PreloadAnimLib(playerid,"PARK");
  227. PreloadAnimLib(playerid,"INT_HOUSE");
  228. PreloadAnimLib(playerid,"FOOD");
  229. gPlayerAnimLibsPreloaded[playerid] = 1;
  230. }
  231. return 1;
  232. }
  233.  
  234. //-------------------------------------------------
  235.  
  236. public OnPlayerConnect(playerid)
  237. {
  238. gPlayerUsingLoopingAnim[playerid] = 0;
  239. gPlayerAnimLibsPreloaded[playerid] = 0;
  240.  
  241. return 1;
  242. }
  243.  
  244. //-------------------------------------------------
  245.  
  246. public OnFilterScriptInit()
  247. {
  248. txtAnimHelper = TextDrawCreate(630.0, 420.0,
  249. "~r~~k~~PED_SPRINT~ ~w~to stop the animation");
  250. TextDrawUseBox(txtAnimHelper, 0);
  251. TextDrawFont(txtAnimHelper, 2);
  252. TextDrawSetShadow(txtAnimHelper,0);
  253. TextDrawSetOutline(txtAnimHelper,1);
  254. TextDrawBackgroundColor(txtAnimHelper,0x000000FF);
  255. TextDrawColor(txtAnimHelper,0xFFFFFFFF);
  256. TextDrawAlignment(txtAnimHelper,3);
  257. }
  258.  
  259. CMD:animlist(playerid, params[])// 24/02/2014
  260. {
  261. new str[3500];
  262. strcat(str, "/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup\n");
  263. strcat(str, "/basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay\n");
  264. strcat(str, "/deal - /crack - /smokeanim - /groundsit - /chat - /chat2 - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload\n");
  265. strcat(str, "/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat\n");
  266. strcat(str, "/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - /finger\n");
  267. strcat(str, "/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim\n");
  268. strcat(str, "/pee - /lean - /run - /poli - /surrender - /sit - /breathless - /seat - /rap - /cross - /ped - /jiggy - /gesture\n");
  269. strcat(str, "/sleep - /smoke - /urinate - /chora - /relax - /crabs - /stop - /wash - /mourn - /fuck - /tosteal\n");
  270. strcat(str, "/followme - /greeting - /still - /hitch - /palmbitch - /cpranim - /giftgiving - /slap2 - /pump - /cheer\n");
  271. strcat(str, "/dj - /entrenar - /foodeat - /wave - /slapass - /dealer - /dealstance - /gwalk - /inbedright - /inbedleft\n");
  272. strcat(str, "/wank - /sexy - /bj - /getup - /follow - /stand - /slapped - /slapass - /yes - /celebrate - /win - /checkout\n");
  273. strcat(str, "/thankyou - /invite1 - /scratch - /nod - /cry - /carsmoke - /benddown - /shakehead - /angry\n");
  274. strcat(str, "/cockgun - /bar - /liftup - /putdown - /die - /joint - /bed - /lranim\n");
  275. ShowPlayerDialog(playerid, DIALOG_SHOW_INFO, DIALOG_STYLE_MSGBOX, "{FFFFFF}Animations", str, "Ok", "Cancel");
  276. return 1;
  277. }
  278.  
  279. CMD:animhelp(playerid, params[])
  280. {
  281. return cmd_animlist(playerid, params);
  282. }
  283.  
  284.  
  285. CMD:surrender(playerid,params[])
  286. {
  287. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && GetPVarInt(playerid, "Injured") == 0)
  288. {
  289. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  290. return 1;
  291. }
  292. else return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  293. }
  294.  
  295. CMD:sit(playerid,params[])
  296. {
  297. new anim;
  298.  
  299. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /sit [1-5]");
  300. switch(anim){
  301. case 1: ApplyAnimation(playerid,"BEACH","bather",4.1, 0, 1, 1, 1, 1, 1);
  302. case 2: ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1, 0, 1, 1, 1, 1, 1);
  303. case 3: ApplyAnimation(playerid,"BEACH","ParkSit_W_loop",4.1, 0, 1, 1, 1, 1, 1);
  304. case 4: ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1, 0, 1, 1, 1, 1, 1);
  305. case 5: ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1, 0, 1, 1, 1, 1, 1);
  306. case 6: ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.1, 0, 1, 1, 1, 1, 1);
  307. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /sit [1-5]");
  308. }
  309. return 1;
  310. }
  311.  
  312. CMD:sleep(playerid,params[])
  313. {
  314. new anim;
  315.  
  316. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /sleep [1-2]");
  317. switch(anim){
  318. case 1: ApplyAnimation(playerid,"CRACK","crckdeth4",4.1, 0, 1, 1, 1, 1, 1);
  319. case 2: ApplyAnimation(playerid,"CRACK","crckidle2",4.1, 0, 1, 1, 1, 1, 1);
  320. }
  321. return 1;
  322. }
  323. CMD:cheer(playerid,params[])
  324. {
  325. new anim;
  326.  
  327. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /cheer [1-8]");
  328. switch(anim){
  329. case 1: ApplyAnimation(playerid,"ON_LOOKERS","shout_01",4.1, 0, 1, 1, 1, 1, 1);
  330. case 2: ApplyAnimation(playerid,"ON_LOOKERS","shout_02",4.1, 0, 1, 1, 1, 1, 1);
  331. case 3: ApplyAnimation(playerid,"ON_LOOKERS","shout_in",4.1, 0, 1, 1, 1, 1, 1);
  332. case 4: ApplyAnimation(playerid,"RIOT","RIOT_ANGRY_B",4.1, 0, 1, 1, 1, 1, 1);
  333. case 5: ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1, 0, 1, 1, 1, 1, 1);
  334. case 6: ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1, 0, 1, 1, 1, 1, 1);
  335. case 7: ApplyAnimation(playerid,"STRIP","PUN_HOLLER",4.1, 0, 1, 1, 1, 1, 1);
  336. case 8: ApplyAnimation(playerid,"OTB","wtchrace_win",4.1, 0, 1, 1, 1, 1, 1);
  337. }
  338. return 1;
  339. }
  340.  
  341. CMD:urinate(playerid,params[]){
  342.  
  343. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  344. SetPlayerSpecialAction(playerid, 68);
  345. return 1;
  346. }
  347.  
  348. CMD:dj(playerid,params[]){
  349. new anim;
  350.  
  351. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /dj [1-4]");
  352. switch(anim){
  353. case 1: ApplyAnimation(playerid,"SCRATCHING","scdldlp",4.1, 0, 1, 1, 1, 1, 1);
  354. case 2: ApplyAnimation(playerid,"SCRATCHING","scdlulp",4.1, 0, 1, 1, 1, 1, 1);
  355. case 3: ApplyAnimation(playerid,"SCRATCHING","scdrdlp",4.1, 0, 1, 1, 1, 1, 1);
  356. case 4: ApplyAnimation(playerid,"SCRATCHING","scdrulp",4.1, 0, 1, 1, 1, 1, 1);
  357. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /dj [1-4]");
  358. }
  359. return 1;
  360. }
  361.  
  362. CMD:breathless(playerid,params[]){
  363. new anim;
  364.  
  365. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /breathless [1-2]");
  366. switch(anim){
  367. case 1: ApplyAnimation(playerid,"PED","IDLE_tired",4.1, 0, 1, 1, 1, 1, 1);
  368. case 2: ApplyAnimation(playerid,"FAT","IDLE_tired",4.1, 0, 1, 1, 1, 1, 1);
  369. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /breathless [1-2]");
  370. }
  371. return 1;
  372. }
  373.  
  374. CMD:poli(playerid,params[]){
  375. new anim;
  376.  
  377. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /poli [1-2]");
  378. switch(anim){
  379. case 1:ApplyAnimation(playerid,"POLICE","CopTraf_Come",4.1, 0, 1, 1, 1, 1, 1);
  380. case 2:ApplyAnimation(playerid,"POLICE","CopTraf_Stop",4.1, 0, 1, 1, 1, 1, 1);
  381. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /poli [1-2]");
  382. }
  383. return 1;
  384. }
  385.  
  386. CMD:seat(playerid,params[]){
  387. new anim;
  388.  
  389. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /seat [1-7]");
  390. if(anim < 1 || anim > 7) return SendClientMessage(playerid,COLOR_WHITE,"USE: /seat [1-7]");
  391. switch(anim){
  392. case 1: ApplyAnimation(playerid,"Attractors","Stepsit_in",4.1, 0, 1, 1, 1, 1, 1);// Not looping
  393. case 2: ApplyAnimation(playerid,"CRIB","PED_Console_Loop",4.1, 0, 1, 1, 1, 1, 1);
  394. case 3: ApplyAnimation(playerid,"INT_HOUSE","LOU_In",4.1, 0, 1, 1, 1, 1, 1); // Not looping
  395. case 4: ApplyAnimation(playerid,"MISC","SEAT_LR",4.1, 0, 1, 1, 1, 1, 1);
  396. case 5: ApplyAnimation(playerid,"MISC","Seat_talk_01",4.1, 0, 1, 1, 1, 1, 1);
  397. case 6: ApplyAnimation(playerid,"MISC","Seat_talk_02",4.1, 0, 1, 1, 1, 1, 1);
  398. case 7: ApplyAnimation(playerid,"ped","SEAT_down",4.1, 0, 1, 1, 1, 1, 1); // Not looping
  399. }
  400. return 1;
  401. }
  402.  
  403. CMD:dance(playerid,params[]){
  404. new dancestyle;
  405. if(sscanf(params, "d", dancestyle)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /dance [1-3]");
  406. switch(dancestyle){
  407. case 1: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE1);
  408. case 2: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE2);
  409. case 3: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE3);
  410. case 4: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE4);
  411. }
  412. return 1;
  413. }
  414.  
  415. CMD:cross(playerid,params[]){
  416. new anim;
  417. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /cross [1-5]");
  418.  
  419. switch(anim){
  420. case 1: ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 0, 1, 1, 1, 1, 1);
  421. case 2: ApplyAnimation(playerid, "DEALER", "DEALER_IDLE", 4.1, 0, 1, 1, 1, 1, 1);
  422. case 3: ApplyAnimation(playerid, "DEALER", "DEALER_IDLE_01", 4.1, 0, 1, 1, 1, 1, 1);
  423. case 4: ApplyAnimation(playerid,"GRAVEYARD","mrnM_loop",4.1, 0, 1, 1, 1, 1, 1);
  424. case 5: ApplyAnimation(playerid,"GRAVEYARD","prst_loopa",4.1, 0, 1, 1, 1, 1, 1);
  425. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /cross [1-5]");
  426. }
  427. return 1;
  428. }
  429.  
  430. CMD:jiggy(playerid,params[])
  431. {
  432. new anim;
  433. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /jiggy [1-10]");
  434. switch(anim){
  435. case 1: ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1, 0, 1, 1, 1, 1, 1);
  436. case 2: ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1, 0, 1, 1, 1, 1, 1);
  437. case 3: ApplyAnimation(playerid,"DANCING","DAN_Loop_A",4.1, 0, 1, 1, 1, 1, 1);
  438. case 4: ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.1, 0, 1, 1, 1, 1, 1);
  439. case 5: ApplyAnimation(playerid,"DANCING","DAN_Up_A",4.1, 0, 1, 1, 1, 1, 1);
  440. case 6: ApplyAnimation(playerid,"DANCING","dnce_M_a",4.1, 0, 1, 1, 1, 1, 1);
  441. case 7: ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1, 0, 1, 1, 1, 1, 1);
  442. case 8: ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1, 0, 1, 1, 1, 1, 1);
  443. case 9: ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1, 0, 1, 1, 1, 1, 1);
  444. case 10: ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1, 0, 1, 1, 1, 1, 1);
  445. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /jiggy [1-10]");
  446. }
  447. return 1;
  448. }
  449.  
  450. CMD:ped(playerid,params[]){
  451. new anim;
  452. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /ped [1-26]");
  453. switch(anim){
  454. case 1: ApplyAnimation(playerid,"PED","JOG_femaleA",4.1, 0, 1, 1, 1, 1, 1);
  455. case 2: ApplyAnimation(playerid,"PED","JOG_maleA",4.1, 0, 1, 1, 1, 1, 1);
  456. case 3: ApplyAnimation(playerid,"PED","WOMAN_walkfatold",4.1, 0, 1, 1, 1, 1, 1);
  457. case 4: ApplyAnimation(playerid,"PED","run_fat",4.1, 0, 1, 1, 1, 1, 1);
  458. case 5: ApplyAnimation(playerid,"PED","run_fatold",4.1, 0, 1, 1, 1, 1, 1);
  459. case 6: ApplyAnimation(playerid,"PED","run_old",4.1, 0, 1, 1, 1, 1, 1);
  460. case 7: ApplyAnimation(playerid,"PED","Run_Wuzi",4.1, 0, 1, 1, 1, 1, 1);
  461. case 8: ApplyAnimation(playerid,"PED","swat_run",4.1, 0, 1, 1, 1, 1, 1);
  462. case 9: ApplyAnimation(playerid,"PED","WALK_fat",4.1, 0, 1, 1, 1, 1, 1);
  463. case 10: ApplyAnimation(playerid,"PED","WALK_fatold",4.1, 0, 1, 1, 1, 1, 1);
  464. case 11: ApplyAnimation(playerid,"PED","WALK_gang1",4.1, 0, 1, 1, 1, 1, 1);
  465. case 12: ApplyAnimation(playerid,"PED","WALK_gang2",4.1, 0, 1, 1, 1, 1, 1);
  466. case 13: ApplyAnimation(playerid,"PED","WALK_old",4.1, 0, 1, 1, 1, 1, 1);
  467. case 14: ApplyAnimation(playerid,"PED","WALK_shuffle",4.1, 0, 1, 1, 1, 1, 1);
  468. case 15: ApplyAnimation(playerid,"PED","woman_run",4.1, 0, 1, 1, 1, 1, 1);
  469. case 16: ApplyAnimation(playerid,"PED","WOMAN_runbusy",4.1, 0, 1, 1, 1, 1, 1);
  470. case 17: ApplyAnimation(playerid,"PED","WOMAN_runfatold",4.1, 0, 1, 1, 1, 1, 1);
  471. case 18: ApplyAnimation(playerid,"PED","woman_runpanic",4.1, 0, 1, 1, 1, 1, 1);
  472. case 19: ApplyAnimation(playerid,"PED","WOMAN_runsexy",4.1, 0, 1, 1, 1, 1, 1);
  473. case 20: ApplyAnimation(playerid,"PED","WOMAN_walkbusy",4.1, 0, 1, 1, 1, 1, 1);
  474. case 21: ApplyAnimation(playerid,"PED","WOMAN_walkfatold",4.1, 0, 1, 1, 1, 1, 1);
  475. case 22: ApplyAnimation(playerid,"PED","WOMAN_walknorm",4.1, 0, 1, 1, 1, 1, 1);
  476. case 23: ApplyAnimation(playerid,"PED","WOMAN_walkold",4.1, 0, 1, 1, 1, 1, 1);
  477. case 24: ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.1, 0, 1, 1, 1, 1, 1);
  478. case 25: ApplyAnimation(playerid,"PED","WOMAN_walksexy",4.1, 0, 1, 1, 1, 1, 1);
  479. case 26: ApplyAnimation(playerid,"PED","WOMAN_walkshop",4.1, 0, 1, 1, 1, 1, 1);
  480. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /ped [1-26]");
  481. }
  482. return 1;
  483. }
  484.  
  485. CMD:rap(playerid,params[]){
  486. new rapstyle;
  487. if(sscanf(params, "d", rapstyle)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /rap [1-3]");
  488. switch(rapstyle){
  489. case 1: ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.1, 0, 1, 1, 1, 1, 1);
  490. case 2: ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.1, 0, 1, 1, 1, 1, 1);
  491. case 3: ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.1, 0, 1, 1, 1, 1, 1);
  492. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /rap [1-3]");
  493. }
  494. return 1;
  495. }
  496.  
  497. CMD:gesture(playerid,params[]){
  498. new gesture;
  499. if(sscanf(params, "d", gesture)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /gesture [1-15]");
  500. switch(gesture){
  501. case 1: ApplyAnimation(playerid,"GHANDS","gsign1",4.1, 0, 1, 1, 1, 1, 1);
  502. case 2: ApplyAnimation(playerid,"GHANDS","gsign1LH",4.1, 0, 1, 1, 1, 1, 1);
  503. case 3: ApplyAnimation(playerid,"GHANDS","gsign2",4.1, 0, 1, 1, 1, 1, 1);
  504. case 4: ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1, 0, 1, 1, 1, 1, 1);
  505. case 5: ApplyAnimation(playerid,"GHANDS","gsign3",4.1, 0, 1, 1, 1, 1, 1);
  506. case 6: ApplyAnimation(playerid,"GHANDS","gsign3LH",4.1, 0, 1, 1, 1, 1, 1);
  507. case 7: ApplyAnimation(playerid,"GHANDS","gsign4",4.1, 0, 1, 1, 1, 1, 1);
  508. case 8: ApplyAnimation(playerid,"GHANDS","gsign4LH",4.1, 0, 1, 1, 1, 1, 1);
  509. case 9: ApplyAnimation(playerid,"GHANDS","gsign5",4.1, 0, 1, 1, 1, 1, 1);
  510. case 10: ApplyAnimation(playerid,"GHANDS","gsign5",4.1, 0, 1, 1, 1, 1, 1);
  511. case 11: ApplyAnimation(playerid,"GHANDS","gsign5LH",4.1, 0, 1, 1, 1, 1, 1);
  512. case 12: ApplyAnimation(playerid,"GANGS","Invite_No",4.1, 0, 1, 1, 1, 1, 1);
  513. case 13: ApplyAnimation(playerid,"GANGS","Invite_Yes",4.1, 0, 1, 1, 1, 1, 1);
  514. case 14: ApplyAnimation(playerid,"GANGS","prtial_gngtlkD",4.1, 0, 1, 1, 1, 1, 1);
  515. case 15: ApplyAnimation(playerid,"GANGS","smkcig_prtl",4.1, 0, 1, 1, 1, 1, 1);
  516. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /gesture [1-15]");
  517. }
  518. return 1;
  519. }
  520.  
  521. CMD:smoke(playerid,params[]){
  522. new gesture;
  523.  
  524. if(sscanf(params, "d", gesture)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /smoke [1-2]");
  525. switch(gesture){
  526. case 1: ApplyAnimation(playerid,"SMOKING","M_smk_in",4.1, 0, 1, 1, 1, 1, 1);
  527. case 2: ApplyAnimation(playerid,"SMOKING","M_smklean_loop",4.1, 0, 1, 1, 1, 1, 1);
  528. default: return SendClientMessage(playerid, COLOR_WHITE, "USE: /smoke [1-2]");
  529. }
  530. return 1;
  531. }
  532.  
  533. CMD:chora(playerid,params[]) { ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_watch",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  534. CMD:relax(playerid,params[]) { ApplyAnimation(playerid, "CRACK", "crckidle1",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  535. CMD:crabs(playerid,params[]) { ApplyAnimation(playerid,"MISC","Scratchballs_01",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  536. CMD:greeting(playerid,params[]) { ApplyAnimation(playerid,"ON_LOOKERS","Pointup_loop",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  537. CMD:stop(playerid,params[]) { ApplyAnimation(playerid,"PED","endchat_01",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  538. CMD:wash(playerid,params[]) { ApplyAnimation(playerid,"BD_FIRE","wash_up",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  539. CMD:mourn(playerid,params[]) { ApplyAnimation(playerid,"GRAVEYARD","mrnF_loop",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  540. CMD:followme(playerid,params[]) { ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  541. CMD:still(playerid,params[]) { ApplyAnimation(playerid,"WUZI","Wuzi_stand_loop", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  542. CMD:hitch(playerid,params[]) { ApplyAnimation(playerid,"MISC","Hiker_Pose", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  543. CMD:palmbitch(playerid,params[]) { ApplyAnimation(playerid,"MISC","bitchslap",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  544. CMD:cpranim(playerid,params[]) { ApplyAnimation(playerid,"MEDIC","CPR",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  545. CMD:giftgiving(playerid,params[]) { ApplyAnimation(playerid,"KISSING","gift_give",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  546. CMD:slap2(playerid,params[]) { ApplyAnimation(playerid,"SWEET","sweet_ass_slap",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  547. CMD:drunk(playerid,params[]) { ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  548. CMD:pump(playerid,params[]) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  549. CMD:tosteal(playerid,params[]) { ApplyAnimation(playerid,"ped", "ARRESTgun", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  550. CMD:laugh(playerid,params[]) { ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  551. CMD:lookout(playerid,params[]) { ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  552. CMD:robman(playerid,params[]) { ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  553. CMD:hide(playerid,params[]) { ApplyAnimation(playerid, "ped", "cower",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  554. CMD:vomit(playerid,params[]) { ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  555. CMD:eat(playerid,params[]) { ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  556. CMD:crack(playerid,params[]) { ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  557. CMD:fuck(playerid,params[]) { ApplyAnimation(playerid,"PED","fucku",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  558. CMD:taichi(playerid,params[]) { ApplyAnimation(playerid,"PARK","Tai_Chi_Loop", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  559. CMD:entrenar(playerid,params[]) { ApplyAnimation(playerid,"PARK","Tai_Chi_Loop", 4.1, 0, 1, 1, 1, 1, 1); return 1; } // amin para magos
  560. CMD:kiss(playerid,params[]) { ApplyAnimation(playerid,"KISSING","Playa_Kiss_01",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  561. CMD:carjacked1(playerid, params[])//17, 12:58pm, 4/27/2012
  562. {
  563. ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.1, 0, 1, 1, 1, 1, 1);
  564. return 1;
  565. }
  566. CMD:carjacked2(playerid, params[])//18, 12:59pm, 4/27/2012
  567. {
  568. ApplyAnimation(playerid,"PED","CAR_jackedRHS",4.1, 0, 1, 1, 1, 1, 1);
  569. return 1;
  570. }
  571. CMD:handsup(playerid, params[])//19 1:00 pm , 4/27/2012
  572. {
  573. //SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  574. ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr",4.1, 0, 1, 1, 1, 1, 1);
  575. return 1;
  576. }
  577. CMD:cellin(playerid, params[])// 20 1:01 pm, 4/27/2012
  578. {
  579. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  580. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
  581. return 1;
  582. }
  583. CMD:cellout(playerid, params[])//21 1:02 pm , 4/27/2012
  584. {
  585. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  586. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
  587. return 1;
  588. }
  589. CMD:bomb(playerid, params[])//23 4/27/2012
  590. {
  591. ClearAnimations(playerid);
  592. ApplyAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.1, 0, 1, 1, 1, 1, 1); // Place Bomb
  593. return 1;
  594. }
  595. CMD:getarrested(playerid, params[])//24 4/27/2012
  596. {
  597. ApplyAnimation(playerid,"ped", "ARRESTgun", 4.1, 0, 1, 1, 1, 1, 1); // Gun Arrest
  598. return 1;
  599. }
  600. CMD:crossarms(playerid, params[])//28
  601. {
  602. ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 0, 1, 1, 1, 1, 1); // Arms crossed
  603. return 1;
  604. }
  605.  
  606. CMD:lay(playerid, params[])//29
  607. {
  608. ApplyAnimation(playerid,"BEACH", "bather",4.1, 0, 1, 1, 1, 1, 1); // Lay down
  609. return 1;
  610. }
  611.  
  612. CMD:foodeat(playerid, params[])//32
  613. {
  614. ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.1, 0, 1, 1, 1, 1, 1); // Eat Burger
  615. return 1;
  616. }
  617.  
  618. CMD:wave(playerid, params[])//33
  619. {
  620. ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.1, 0, 1, 1, 1, 1, 1); // Wave
  621. return 1;
  622. }
  623.  
  624. CMD:slapass(playerid, params[])//34
  625. {
  626. ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.1, 0, 1, 1, 1, 1, 1); // Ass Slapping
  627. return 1;
  628. }
  629.  
  630. CMD:dealer(playerid, params[])//35
  631. {
  632. ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.1, 0, 1, 1, 1, 1, 1); // Deal Drugs
  633. return 1;
  634. }
  635.  
  636. CMD:groundsit(playerid, params[])//38
  637. {
  638. ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.1, 0, 1, 1, 1, 1, 1); // Sit
  639. return 1;
  640. }
  641.  
  642. CMD:chat(playerid, params[])//39
  643. {
  644. new num;
  645. if(sscanf(params, "i", num)) return SendClientMessage(playerid, COLOR_GRAD1, " USAGE: /chat [1-2]");
  646. if(num > 2 || num < 1) { SendClientMessage(playerid, COLOR_GRAD1, " USAGE: /chat [1-2]"); }
  647. if(num == 1) { ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1, 0, 1, 1, 1, 1, 1); }
  648. if(num == 2) { ApplyAnimation(playerid,"MISC","Idle_Chat_02",4.1, 0, 1, 1, 1, 1, 1); }
  649. return 1;
  650. }
  651.  
  652. CMD:fucku(playerid, params[])//40
  653. {
  654. ApplyAnimation(playerid,"PED","fucku",4.1, 0, 1, 1, 1, 1, 1);
  655. return 1;
  656. }
  657.  
  658. CMD:chairsit(playerid, params[])//42
  659. {
  660. ApplyAnimation(playerid,"PED","SEAT_idle",4.1, 0, 1, 1, 1, 1, 1);
  661. return 1;
  662. }
  663.  
  664. CMD:fall(playerid, params[])//43
  665. {
  666. ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0, 1, 1, 1, 1, 1);
  667. return 1;
  668. }
  669.  
  670. CMD:fallback(playerid, params[])//44
  671. {
  672. ApplyAnimation(playerid, "PED","FLOOR_hit_f", 4.1, 0, 1, 1, 1, 1, 1);
  673. return 1;
  674. }
  675.  
  676. CMD:injured(playerid, params[])//46
  677. {
  678. ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.1, 0, 1, 1, 1, 1, 1);
  679. return 1;
  680. }
  681.  
  682. CMD:sup(playerid, params[])//47
  683. {
  684. new number;
  685. if(sscanf(params, "i", number)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /sup [1-3]");
  686. if(number < 1 || number > 3) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /sup [1-3]"); }
  687. if(number == 1) { ApplyAnimation(playerid,"GANGS","hndshkba",4.1, 0, 1, 1, 1, 1, 1); }
  688. if(number == 2) { ApplyAnimation(playerid,"GANGS","hndshkda",4.1, 0, 1, 1, 1, 1, 1); }
  689. if(number == 3) { ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.1, 0, 1, 1, 1, 1, 1); }
  690. return 1;
  691. }
  692.  
  693. CMD:push(playerid, params[])// 49
  694. {
  695. ApplyAnimation(playerid,"GANGS","shake_cara",4.1, 0, 1, 1, 1, 1, 1);
  696. return 1;
  697. }
  698.  
  699. CMD:akick(playerid, params)// 50
  700. {
  701. ApplyAnimation(playerid,"POLICE","Door_Kick",4.1, 0, 1, 1, 1, 1, 1);
  702. return 1;
  703. }
  704.  
  705. CMD:lowbodypush(playerid, params[])// 51
  706. {
  707. ApplyAnimation(playerid,"GANGS","shake_carSH",4.1, 0, 1, 1, 1, 1, 1);
  708. return 1;
  709. }
  710.  
  711. CMD:spray(playerid, params[])// 52
  712. {
  713. ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.1, 0, 1, 1, 1, 1, 1);
  714. return 1;
  715. }
  716.  
  717. CMD:headbutt(playerid, params[])//53
  718. {
  719. ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.1, 0, 1, 1, 1, 1, 1);
  720. return 1;
  721. }
  722.  
  723. CMD:medic(playerid, params[])//54
  724. {
  725. ApplyAnimation(playerid,"MEDIC","CPR",4.1, 0, 1, 1, 1, 1, 1);
  726. return 1;
  727. }
  728.  
  729. CMD:koface(playerid, params[])//55
  730. {
  731. ApplyAnimation(playerid,"PED","KO_shot_face",4.1, 0, 1, 1, 1, 1, 1);
  732. return 1;
  733. }
  734.  
  735. CMD:kostomach(playerid, params[])//56
  736. {
  737. ApplyAnimation(playerid,"PED","KO_shot_stom",4.1, 0, 1, 1, 1, 1, 1);
  738. return 1;
  739. }
  740.  
  741. CMD:lifejump(playerid, params[])//57
  742. {
  743. ApplyAnimation(playerid,"PED","EV_dive",4.1, 0, 1, 1, 1, 1, 1);
  744. return 1;
  745. }
  746.  
  747. CMD:exhaust(playerid, params[])//58
  748. {
  749. ApplyAnimation(playerid,"PED","IDLE_tired",4.1, 0, 1, 1, 1, 1, 1);
  750. return 1;
  751. }
  752.  
  753. CMD:leftslap(playerid, params[])//59
  754. {
  755. ApplyAnimation(playerid,"PED","BIKE_elbowL",4.1, 0, 1, 1, 1, 1, 1);
  756. return 1;
  757. }
  758.  
  759. CMD:rollfall(playerid, params[])//60
  760. {
  761. ApplyAnimation(playerid,"PED","BIKE_fallR",4.1, 0, 1, 1, 1, 1, 1);
  762. return 1;
  763. }
  764.  
  765. CMD:carlock(playerid, params[])//61
  766. {
  767. ApplyAnimation(playerid,"PED","CAR_doorlocked_LHS",4.1, 0, 1, 1, 1, 1, 1);
  768. return 1;
  769. }
  770.  
  771. CMD:rcarjack1(playerid, params[])//62
  772. {
  773. ApplyAnimation(playerid,"PED","CAR_pulloutL_LHS",4.1, 0, 1, 1, 1, 1, 1);
  774. return 1;
  775. }
  776.  
  777. CMD:lcarjack1(playerid, params[])//63
  778. {
  779. ApplyAnimation(playerid,"PED","CAR_pulloutL_RHS",4.1, 0, 1, 1, 1, 1, 1);
  780. return 1;
  781. }
  782. CMD:rcarjack2(playerid, params[])//64
  783. {
  784. ApplyAnimation(playerid,"PED","CAR_pullout_LHS",4.1, 0, 1, 1, 1, 1, 1);
  785. return 1;
  786. }
  787.  
  788. CMD:lcarjack2(playerid, params[])//65
  789. {
  790. ApplyAnimation(playerid,"PED","CAR_pullout_RHS",4.1, 0, 1, 1, 1, 1, 1);
  791. return 1;
  792. }
  793.  
  794. CMD:hoodfrisked(playerid, params[])//66
  795. {
  796. ApplyAnimation(playerid,"POLICE","crm_drgbst_01",4.1, 0, 1, 1, 1, 1, 1);
  797. return 1;
  798. }
  799.  
  800. CMD:lightcig(playerid, params[])//67
  801. {
  802. ApplyAnimation(playerid,"SMOKING","M_smk_in",4.1, 0, 1, 1, 1, 1, 1);
  803. return 1;
  804. }
  805.  
  806. CMD:tapcig(playerid, params[])//68
  807. {
  808. ApplyAnimation(playerid,"SMOKING","M_smk_tap",4.1, 0, 1, 1, 1, 1, 1);
  809. return 1;
  810. }
  811.  
  812. CMD:bat(playerid, params[])//69
  813. {
  814. ApplyAnimation(playerid,"BASEBALL","Bat_IDLE",4.1, 0, 1, 1, 1, 1, 1);
  815. return 1;
  816. }
  817.  
  818. CMD:box(playerid, params[])//70
  819. {
  820. ApplyAnimation(playerid,"GYMNASIUM","GYMshadowbox",4.1, 0, 1, 1, 1, 1, 1);
  821. return 1;
  822. }
  823.  
  824. CMD:lay2(playerid, params[])//71
  825. {
  826. ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_in",4.1, 0, 1, 1, 1, 1, 1);
  827. return 1;
  828. }
  829.  
  830. CMD:chant(playerid, params[])//72
  831. {
  832. ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1, 0, 1, 1, 1, 1, 1);
  833. return 1;
  834. }
  835.  
  836. CMD:finger(playerid, params[])//73
  837. {
  838. ApplyAnimation(playerid,"RIOT","RIOT_FUKU",4.1, 0, 1, 1, 1, 1, 1);
  839. return 1;
  840. }
  841.  
  842. CMD:shouting(playerid, params[])//74
  843. {
  844. ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1, 0, 1, 1, 1, 1, 1);
  845. return 1;
  846. }
  847.  
  848. CMD:cop(playerid,params[])//75
  849. {
  850. ApplyAnimation(playerid,"SWORD","sword_block",4.1, 0, 1, 1, 1, 1, 1);
  851. return 1;
  852. }
  853.  
  854. CMD:elbow(playerid, params[])//76
  855. {
  856. ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.1, 0, 1, 1, 1, 1, 1);
  857. return 1;
  858. }
  859.  
  860. CMD:kneekick(playerid, params[])//77
  861. {
  862. ApplyAnimation(playerid,"FIGHT_D","FightD_2",4.1, 0, 1, 1, 1, 1, 1);
  863. return 1;
  864. }
  865.  
  866. CMD:fstance(playerid, params[])//78
  867. {
  868. ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.1, 0, 1, 1, 1, 1, 1);
  869. return 1;
  870. }
  871.  
  872. CMD:gpunch(playerid, params[])//79
  873. {
  874. ApplyAnimation(playerid,"FIGHT_B","FightB_G",4.1, 0, 1, 1, 1, 1, 1);
  875. return 1;
  876. }
  877.  
  878. CMD:airkick(playerid, params[])//80
  879. {
  880. ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.1, 0, 1, 1, 1, 1, 1);
  881. return 1;
  882. }
  883.  
  884. CMD:gkick(playerid, params[])//81
  885. {
  886. ApplyAnimation(playerid,"FIGHT_D","FightD_G",4.1, 0, 1, 1, 1, 1, 1);
  887. return 1;
  888. }
  889.  
  890. CMD:lowthrow(playerid, params[])//82
  891. {
  892. ApplyAnimation(playerid,"GRENADE","WEAPON_throwu",4.1, 0, 1, 1, 1, 1, 1);
  893. return 1;
  894. }
  895.  
  896. CMD:highthrow(playerid, params[])//83
  897. {
  898. ApplyAnimation(playerid,"GRENADE","WEAPON_throw",4.1, 0, 1, 1, 1, 1, 1);
  899. return 1;
  900. }
  901.  
  902. CMD:dealstance(playerid, params[])//84
  903. {
  904. ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.1, 0, 1, 1, 1, 1, 1);
  905. return 1;
  906. }
  907.  
  908. CMD:pee(playerid, params[])//85
  909. {
  910. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  911. SetPlayerSpecialAction(playerid, 68);
  912. return 1;
  913. }
  914.  
  915. CMD:knife(playerid, params[])//86
  916. {
  917. new nbr;
  918. if(sscanf(params, "i", nbr)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /knife [1-4]");
  919. if(nbr < 1 || nbr > 4) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /knife [1-4]");
  920. switch(nbr)
  921. {
  922. case 1: { ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.1, 0, 1, 1, 1, 1, 1); }
  923. case 2: { ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.1, 0, 1, 1, 1, 1, 1); }
  924. case 3: { ApplyAnimation(playerid,"KNIFE","KILL_Knife_Player",4.1, 0, 1, 1, 1, 1, 1); }
  925. case 4: { ApplyAnimation(playerid,"KNIFE","KILL_Partial",4.1, 0, 1, 1, 1, 1, 1); }
  926. }
  927. return 1;
  928. }
  929.  
  930. CMD:basket(playerid, params[])//87
  931. {
  932. new ddr;
  933. if (sscanf(params, "i", ddr)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /basket [1-6]");
  934. if(ddr < 1 || ddr > 6) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /basket [1-6]");
  935. switch(ddr)
  936. {
  937. case 1: { ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.1, 0, 1, 1, 1, 1, 1); }
  938. case 2: { ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot",4.1, 0, 1, 1, 1, 1, 1); }
  939. case 3: { ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.1, 0, 1, 1, 1, 1, 1); }
  940. case 4: { ApplyAnimation(playerid,"BSKTBALL","BBALL_run",4.1, 0, 1, 1, 1, 1, 1); }
  941. case 5: { ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.1, 0, 1, 1, 1, 1, 1); }
  942. case 6: { ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk",4.1, 0, 1, 1, 1, 1, 1); }
  943. }
  944. return 1;
  945. }
  946.  
  947. CMD:reload(playerid, params[])//88
  948. {
  949. new result[128];
  950. if(sscanf(params, "s[24]", result)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /reload [deagle/smg/ak/m4]");
  951. if(strcmp(result,"deagle", true) == 0)
  952. {
  953. ApplyAnimation(playerid,"COLT45","colt45_reload",4.1, 0, 1, 1, 1, 1, 1);
  954. }
  955. else if(strcmp(result,"smg", true) == 0)
  956. {
  957. ApplyAnimation(playerid,"UZI","UZI_reload",4.1, 0, 1, 1, 1, 1, 1);
  958. }
  959. else if(strcmp(result,"ak", true) == 0)
  960. {
  961. ApplyAnimation(playerid,"UZI","UZI_reload",4.1, 0, 1, 1, 1, 1, 1);
  962. }
  963. else if(strcmp(result,"m4", true) == 0)
  964. {
  965. ApplyAnimation(playerid,"UZI","UZI_reload",4.1, 0, 1, 1, 1, 1, 1);
  966. }
  967. else { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /reload [deagle/smg/ak/m4]"); }
  968. return 1;
  969. }
  970.  
  971. CMD:gwalk(playerid, params[])//89
  972. {
  973. new ssr;
  974. if(sscanf(params, "i", ssr)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /gwalk [1/2]");
  975. if(ssr < 1 || ssr > 2) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /gwalk [1/2]"); }
  976. if (ssr == 1) { ApplyAnimation(playerid,"PED","WALK_gang1",4.1, 0, 1, 1, 1, 1, 1); }
  977. if (ssr == 2) { ApplyAnimation(playerid,"PED","WALK_gang2",4.1, 0, 1, 1, 1, 1, 1); }
  978. return 1;
  979. }
  980.  
  981. CMD:aim(playerid, params[])//90
  982. {
  983. new lmb;
  984. if(sscanf(params, "i", lmb)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /aim [1-3]");
  985. if(lmb == 1) { ApplyAnimation(playerid,"PED","gang_gunstand",4.1, 0, 1, 1, 1, 1, 1); }
  986. if(lmb == 2) { ApplyAnimation(playerid,"PED","Driveby_L",4.1, 0, 1, 1, 1, 1, 1); }
  987. if(lmb == 3) { ApplyAnimation(playerid,"PED","Driveby_R",4.1, 0, 1, 1, 1, 1, 1); }
  988. else { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /aim [1-3]"); }
  989. return 1;
  990. }
  991.  
  992. CMD:lean(playerid, params[])//91
  993. {
  994. new mj;
  995. if(sscanf(params, "i", mj)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /lean [1-2]");
  996. if(mj < 1 || mj > 2) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /lean [1-2]"); }
  997. if(mj == 1) { ApplyAnimation(playerid,"GANGS","leanIDLE",4.1, 0, 1, 1, 1, 1, 1); }
  998. if(mj == 2) { ApplyAnimation(playerid,"MISC","Plyrlean_loop",4.1, 0, 1, 1, 1, 1, 1); }
  999. return 1;
  1000. }
  1001.  
  1002. CMD:clearanim(playerid, params[])//92
  1003. {
  1004. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  1005. ApplyAnimation(playerid, "CARRY", "crry_prtial", 1.0, 0, 0, 0, 0, 0);
  1006. return 1;
  1007. }
  1008.  
  1009. CMD:strip(playerid, params[])//93
  1010. {
  1011. new kj;
  1012. if(sscanf(params, "i", kj)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /strip [1-7]");
  1013. if(kj < 1 || kj > 7) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /strip [1-7]"); }
  1014. if(kj == 1) { ApplyAnimation(playerid,"STRIP", "strip_A", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1015. if(kj == 2) { ApplyAnimation(playerid,"STRIP", "strip_B", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1016. if(kj == 3) { ApplyAnimation(playerid,"STRIP", "strip_C", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1017. if(kj == 4) { ApplyAnimation(playerid,"STRIP", "strip_D", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1018. if(kj == 5) { ApplyAnimation(playerid,"STRIP", "strip_E", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1019. if(kj == 6) { ApplyAnimation(playerid,"STRIP", "strip_F", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1020. if(kj == 7) { ApplyAnimation(playerid,"STRIP", "strip_G", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1021. return 1;
  1022. }
  1023.  
  1024. CMD:inbedright(playerid, params[])//94
  1025. {
  1026. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_R",4.1, 0, 1, 1, 1, 1, 1);
  1027. return 1;
  1028. }
  1029.  
  1030. CMD:inbedleft(playerid, params[])//95
  1031. {
  1032. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_L",4.1, 0, 1, 1, 1, 1, 1);
  1033. return 1;
  1034. }
  1035.  
  1036. CMD:wank(playerid, params[])
  1037. {
  1038. new choice[32];
  1039. if(sscanf(params, "s[32]", choice))
  1040. {
  1041. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wank [1-2]");
  1042. return 1;
  1043. }
  1044. if(strcmp(choice, "1", true) == 0)
  1045. {
  1046. ApplyAnimation(playerid,"PAULNMAC","wank_in",4.1, 0, 1, 1, 1, 1, 1);
  1047. SetPVarInt(playerid, "UsingAnim", 1);
  1048. }
  1049. if(strcmp(choice, "2", true) == 0)
  1050. {
  1051. ApplyAnimation(playerid,"PAULNMAC","wank_loop",4.1, 0, 1, 1, 1, 1, 1);
  1052. SetPVarInt(playerid, "UsingAnim", 1);
  1053. }
  1054. return 1;
  1055. }
  1056. CMD:sexy(playerid, params[])
  1057. {
  1058. new choice[32];
  1059. if(sscanf(params, "s[32]", choice))
  1060. {
  1061. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sexy [1-8]");
  1062. return 1;
  1063. }
  1064. if(strcmp(choice, "1", true) == 0)
  1065. {
  1066. ApplyAnimation(playerid,"SNM","SPANKING_IDLEW",4.1, 0, 1, 1, 1, 1, 1);
  1067. SetPVarInt(playerid, "UsingAnim", 1);
  1068. }
  1069. if(strcmp(choice, "2", true) == 0)
  1070. {
  1071. ApplyAnimation(playerid,"SNM","SPANKING_IDLEP",4.1, 0, 1, 1, 1, 1, 1);
  1072. SetPVarInt(playerid, "UsingAnim", 1);
  1073. }
  1074. if(strcmp(choice, "3", true) == 0)
  1075. {
  1076. ApplyAnimation(playerid,"SNM","SPANKINGW",4.1, 0, 1, 1, 1, 1, 1);
  1077. SetPVarInt(playerid, "UsingAnim", 1);
  1078. }
  1079. if(strcmp(choice, "4", true) == 0)
  1080. {
  1081. ApplyAnimation(playerid,"SNM","SPANKINGP",4.1, 0, 1, 1, 1, 1, 1);
  1082. SetPVarInt(playerid, "UsingAnim", 1);
  1083. }
  1084. if(strcmp(choice, "5", true) == 0)
  1085. {
  1086. ApplyAnimation(playerid,"SNM","SPANKEDW",4.1, 0, 1, 1, 1, 1, 1);
  1087. SetPVarInt(playerid, "UsingAnim", 1);
  1088. }
  1089. if(strcmp(choice, "6", true) == 0)
  1090. {
  1091. ApplyAnimation(playerid,"SNM","SPANKEDP",4.1, 0, 1, 1, 1, 1, 1);
  1092. SetPVarInt(playerid, "UsingAnim", 1);
  1093. }
  1094. if(strcmp(choice, "7", true) == 0)
  1095. {
  1096. ApplyAnimation(playerid,"SNM","SPANKING_ENDW",4.1, 0, 1, 1, 1, 1, 1);
  1097. SetPVarInt(playerid, "UsingAnim", 1);
  1098. }
  1099. if(strcmp(choice, "8", true) == 0)
  1100. {
  1101. ApplyAnimation(playerid,"SNM","SPANKING_ENDP",4.1, 0, 1, 1, 1, 1, 1);
  1102. SetPVarInt(playerid, "UsingAnim", 1);
  1103. }
  1104. return 1;
  1105. }
  1106.  
  1107. CMD:bj(playerid, params[])
  1108. {
  1109. new choice[32];
  1110. if(sscanf(params, "s[32]", choice))
  1111. {
  1112. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bj [1-4]");
  1113. return 1;
  1114. }
  1115. if(strcmp(choice, "1", true) == 0)
  1116. {
  1117. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_START_P",4.1, 0, 1, 1, 1, 1, 1);
  1118. SetPVarInt(playerid, "UsingAnim", 1);
  1119. }
  1120. if(strcmp(choice, "2", true) == 0)
  1121. {
  1122. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_START_W",4.1, 0, 1, 1, 1, 1, 1);
  1123. SetPVarInt(playerid, "UsingAnim", 1);
  1124. }
  1125. if(strcmp(choice, "3", true) == 0)
  1126. {
  1127. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_P",4.1, 0, 1, 1, 1, 1, 1);
  1128. SetPVarInt(playerid, "UsingAnim", 1);
  1129. }
  1130. if(strcmp(choice, "4", true) == 0)
  1131. {
  1132. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1, 0, 1, 1, 1, 1, 1);
  1133. SetPVarInt(playerid, "UsingAnim", 1);
  1134. }
  1135. return 1;
  1136. }
  1137.  
  1138. CMD:stand(playerid, params[])
  1139. {
  1140. ApplyAnimation(playerid,"WUZI","Wuzi_stand_loop", 4.1, 0, 1, 1, 1, 1, 1);
  1141. SetPVarInt(playerid, "UsingAnim", 1);
  1142. return 1;
  1143. }
  1144.  
  1145. CMD:follow(playerid, params[])
  1146. {
  1147. ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.1, 0, 1, 1, 1, 1, 1);
  1148. SetPVarInt(playerid, "UsingAnim", 1);
  1149. return 1;
  1150. }
  1151.  
  1152. CMD:getup(playerid, params[])
  1153. {
  1154. ApplyAnimation(playerid,"PED","getup",4.1, 0, 1, 1, 1, 1, 1);
  1155. SetPVarInt(playerid, "UsingAnim", 1);
  1156. return 1;
  1157. }
  1158. CMD:slapped(playerid, params[])
  1159. {
  1160. ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.1, 0, 1, 1, 1, 1, 1);
  1161. SetPVarInt(playerid, "UsingAnim", 1);
  1162. return 1;
  1163. }
  1164.  
  1165. CMD:win(playerid, params[])
  1166. {
  1167. new choice[32];
  1168. if(sscanf(params, "s[32]", choice))
  1169. {
  1170. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /win [1-2]");
  1171. return 1;
  1172. }
  1173. if(strcmp(choice, "1", true) == 0)
  1174. {
  1175. ApplyAnimation(playerid,"CASINO","cards_win", 4.1, 0, 1, 1, 1, 1, 1);
  1176. SetPVarInt(playerid, "UsingAnim", 1);
  1177. }
  1178. if(strcmp(choice, "2", true) == 0)
  1179. {
  1180. ApplyAnimation(playerid,"CASINO","Roulette_win", 4.1, 0, 1, 1, 1, 1, 1);
  1181. SetPVarInt(playerid, "UsingAnim", 1);
  1182. }
  1183. return 1;
  1184. }
  1185.  
  1186. CMD:celebrate(playerid, params[])
  1187. {
  1188. new choice[32];
  1189. if(sscanf(params, "s[32]", choice))
  1190. {
  1191. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /celebrate [1-2]");
  1192. return 1;
  1193. }
  1194. if(strcmp(choice, "1", true) == 0)
  1195. {
  1196. ApplyAnimation(playerid,"benchpress","gym_bp_celebrate", 4.1, 0, 1, 1, 1, 1, 1);
  1197. SetPVarInt(playerid, "UsingAnim", 1);
  1198. }
  1199. if(strcmp(choice, "2", true) == 0)
  1200. {
  1201. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_celebrate", 4.1, 0, 1, 1, 1, 1, 1);
  1202. SetPVarInt(playerid, "UsingAnim", 1);
  1203. }
  1204. return 1;
  1205. }
  1206.  
  1207. CMD:yes(playerid, params[])
  1208. {
  1209. ApplyAnimation(playerid,"CLOTHES","CLO_Buy", 4.1, 0, 1, 1, 1, 1, 1);
  1210. SetPVarInt(playerid, "UsingAnim", 1);
  1211. return 1;
  1212. }
  1213.  
  1214. CMD:deal(playerid, params[])
  1215. {
  1216. new choice[32];
  1217. if(sscanf(params, "s[32]", choice))
  1218. {
  1219. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deal [1-2]");
  1220. return 1;
  1221. }
  1222. if(strcmp(choice, "1", true) == 0)
  1223. {
  1224. ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.1, 0, 1, 1, 1, 1, 1);
  1225. SetPVarInt(playerid, "UsingAnim", 1);
  1226. }
  1227. if(strcmp(choice, "2", true) == 0)
  1228. {
  1229. ApplyAnimation(playerid,"DEALER","DRUGS_BUY", 4.1, 0, 1, 1, 1, 1, 1);
  1230. SetPVarInt(playerid, "UsingAnim", 1);
  1231. }
  1232. return 1;
  1233. }
  1234.  
  1235. CMD:thankyou(playerid, params[])
  1236. {
  1237. ApplyAnimation(playerid,"FOOD","SHP_Thank", 4.1, 0, 1, 1, 1, 1, 1);
  1238. SetPVarInt(playerid, "UsingAnim", 1);
  1239. return 1;
  1240. }
  1241.  
  1242. CMD:invite1(playerid, params[])
  1243. {
  1244. new choice[32];
  1245. if(sscanf(params, "s[32]", choice))
  1246. {
  1247. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /invite1 [1-2]");
  1248. return 1;
  1249. }
  1250. if(strcmp(choice, "1", true) == 0)
  1251. {
  1252. ApplyAnimation(playerid,"GANGS","Invite_Yes",4.1, 0, 1, 1, 1, 1, 1);
  1253. SetPVarInt(playerid, "UsingAnim", 1);
  1254. }
  1255. if(strcmp(choice, "2", true) == 0)
  1256. {
  1257. ApplyAnimation(playerid,"GANGS","Invite_No",4.1, 0, 1, 1, 1, 1, 1);
  1258. SetPVarInt(playerid, "UsingAnim", 1);
  1259. }
  1260. return 1;
  1261. }
  1262.  
  1263. CMD:scratch(playerid, params[])
  1264. {
  1265. ApplyAnimation(playerid,"MISC","Scratchballs_01", 4.1, 0, 1, 1, 1, 1, 1);
  1266. SetPVarInt(playerid, "UsingAnim", 1);
  1267. return 1;
  1268. }
  1269. CMD:checkout(playerid, params[])
  1270. {
  1271. ApplyAnimation(playerid, "GRAFFITI", "graffiti_Chkout", 4.1, 0, 1, 1, 1, 1, 1);
  1272. SetPVarInt(playerid, "UsingAnim", 1);
  1273. return 1;
  1274. }
  1275. CMD:nod(playerid, params[])
  1276. {
  1277. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_nod",4.1, 0, 1, 1, 1, 1, 1);
  1278. SetPVarInt(playerid, "UsingAnim", 1);
  1279. return 1;
  1280. }
  1281. CMD:cry(playerid, params[])
  1282. {
  1283. new choice[32];
  1284. if(sscanf(params, "s[32]", choice))
  1285. {
  1286. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cry [1-2]");
  1287. return 1;
  1288. }
  1289. if(strcmp(choice, "1", true) == 0)
  1290. {
  1291. ApplyAnimation(playerid,"GRAVEYARD","mrnF_loop", 4.1, 0, 1, 1, 1, 1, 1);
  1292. SetPVarInt(playerid, "UsingAnim", 1);
  1293. }
  1294. if(strcmp(choice, "2", true) == 0)
  1295. {
  1296. ApplyAnimation(playerid,"GRAVEYARD","mrnM_loop", 4.1, 0, 1, 1, 1, 1, 1);
  1297. SetPVarInt(playerid, "UsingAnim", 1);
  1298. }
  1299. return 1;
  1300. }
  1301. CMD:bed(playerid, params[])
  1302. {
  1303. new choice[32];
  1304. if(sscanf(params, "s[32]", choice))
  1305. {
  1306. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bed [1-2]");
  1307. return 1;
  1308. }
  1309. if(strcmp(choice, "1", true) == 0)
  1310. {
  1311. ApplyAnimation(playerid,"INT_HOUSE","BED_In_L",4.1, 0, 1, 1, 1, 1, 1);
  1312. SetPVarInt(playerid, "UsingAnim", 1);
  1313. }
  1314. if(strcmp(choice, "2", true) == 0)
  1315. {
  1316. ApplyAnimation(playerid,"INT_HOUSE","BED_In_R",4.1, 0, 1, 1, 1, 1, 1);
  1317. SetPVarInt(playerid, "UsingAnim", 1);
  1318. }
  1319. if(strcmp(choice, "3", true) == 0)
  1320. {
  1321. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_L", 4.1, 0, 1, 1, 1, 1, 1);
  1322. SetPVarInt(playerid, "UsingAnim", 1);
  1323. }
  1324. if(strcmp(choice, "4", true) == 0)
  1325. {
  1326. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_R", 4.1, 0, 1, 1, 1, 1, 1);
  1327. SetPVarInt(playerid, "UsingAnim", 1);
  1328. }
  1329. return 1;
  1330. }
  1331. CMD:carsmoke(playerid, params[])
  1332. {
  1333. ApplyAnimation(playerid,"PED","Smoke_in_car", 4.1, 0, 1, 1, 1, 1, 1);
  1334. SetPVarInt(playerid, "UsingAnim", 1);
  1335. return 1;
  1336. }
  1337.  
  1338. CMD:angry(playerid, params[])
  1339. {
  1340. ApplyAnimation(playerid,"RIOT","RIOT_ANGRY",4.1, 0, 1, 1, 1, 1, 1);
  1341. SetPVarInt(playerid, "UsingAnim", 1);
  1342. return 1;
  1343. }
  1344. CMD:benddown(playerid, params[])
  1345. {
  1346. ApplyAnimation(playerid, "BAR", "Barserve_bottle", 4.1, 0, 1, 1, 1, 1, 1);
  1347. SetPVarInt(playerid, "UsingAnim", 1);
  1348. return 1;
  1349. }
  1350. CMD:shakehead(playerid, params[])
  1351. {
  1352. ApplyAnimation(playerid, "MISC", "plyr_shkhead", 4.1, 0, 1, 1, 1, 1, 1);
  1353. SetPVarInt(playerid, "UsingAnim", 1);
  1354. return 1;
  1355. }
  1356. CMD:cockgun(playerid, params[])
  1357. {
  1358. ApplyAnimation(playerid, "SILENCED", "Silence_reload", 4.1, 0, 1, 1, 1, 1, 1);
  1359. SetPVarInt(playerid, "UsingAnim", 1);
  1360. return 1;
  1361. }
  1362. CMD:bar(playerid, params[])
  1363. {
  1364. new choice[32];
  1365. if(sscanf(params, "s[32]", choice))
  1366. {
  1367. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bar [1-4]");
  1368. return 1;
  1369. }
  1370. if(strcmp(choice, "1", true) == 0)
  1371. {
  1372. ApplyAnimation(playerid, "BAR", "Barcustom_get", 4.1, 0, 1, 1, 1, 1, 1);
  1373. SetPVarInt(playerid, "UsingAnim", 1);
  1374. }
  1375. if(strcmp(choice, "2", true) == 0)
  1376. {
  1377. ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1, 0, 1, 1, 1, 1, 1);
  1378. SetPVarInt(playerid, "UsingAnim", 1);
  1379. }
  1380. if(strcmp(choice, "2", true) == 0)
  1381. {
  1382. ApplyAnimation(playerid, "BAR", "Barcustom_order", 4.1, 0, 1, 1, 1, 1, 1);
  1383. SetPVarInt(playerid, "UsingAnim", 1);
  1384. }
  1385. if(strcmp(choice, "3", true) == 0)
  1386. {
  1387. ApplyAnimation(playerid, "BAR", "Barserve_give", 4.1, 0, 1, 1, 1, 1, 1);
  1388. SetPVarInt(playerid, "UsingAnim", 1);
  1389. }
  1390. if(strcmp(choice, "4", true) == 0)
  1391. {
  1392. ApplyAnimation(playerid, "BAR", "Barserve_glass", 4.1, 0, 1, 1, 1, 1, 1);
  1393. SetPVarInt(playerid, "UsingAnim", 1);
  1394. }
  1395. return 1;
  1396. }
  1397. CMD:liftup(playerid, params[])
  1398. {
  1399. ApplyAnimation(playerid, "CARRY", "liftup", 4.1, 0, 1, 1, 1, 1, 1);
  1400. SetPVarInt(playerid, "UsingAnim", 1);
  1401. return 1;
  1402. }
  1403.  
  1404. CMD:putdown(playerid, params[])
  1405. {
  1406. ApplyAnimation(playerid, "CARRY", "putdwn", 4.1, 0, 1, 1, 1, 1, 1);
  1407. SetPVarInt(playerid, "UsingAnim", 1);
  1408. return 1;
  1409. }
  1410.  
  1411. CMD:joint(playerid, params[])
  1412. {
  1413. ApplyAnimation(playerid,"GANGS","smkcig_prtl",4.1, 0, 1, 1, 1, 1, 1);
  1414. SetPVarInt(playerid, "UsingAnim", 1);
  1415. return 1;
  1416. }
  1417. CMD:die(playerid, params[])
  1418. {
  1419. new choice[32];
  1420. if(sscanf(params, "s[32]", choice))
  1421. {
  1422. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /die [1-2]");
  1423. return 1;
  1424. }
  1425. if(strcmp(choice, "1", true) == 0)
  1426. {
  1427. ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.1, 0, 1, 1, 1, 1, 1);
  1428. SetPVarInt(playerid, "UsingAnim", 1);
  1429. }
  1430. if(strcmp(choice, "2", true) == 0)
  1431. {
  1432. ApplyAnimation(playerid, "PARACHUTE", "FALL_skyDive_DIE", 4.1, 0, 1, 1, 1, 1, 1);
  1433. SetPVarInt(playerid, "UsingAnim", 1);
  1434. }
  1435. return 1;
  1436. }
  1437.  
  1438. CMD:lranim(playerid, params[])
  1439. {
  1440. if(IsInLowRider(playerid))
  1441. {
  1442. new choice;
  1443. if(sscanf(params, "i", choice))
  1444. {
  1445. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lranim");
  1446. SendClientMessage(playerid, COLOR_GRAD2, "Available options: 0-36");
  1447. return 1;
  1448. }
  1449. if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  1450. {
  1451. SendClientMessage(playerid, COLOR_GRAD2, " You cannot be the driver of the vehicle!");
  1452. return 1;
  1453. }
  1454. switch(choice)
  1455. {
  1456. case 0:
  1457. {
  1458. ApplyAnimation(playerid, "LOWRIDER", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1459. }
  1460. case 1:
  1461. {
  1462. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_bdbnce", 4.0, 0, 0, 0, 1, 0, 1);
  1463. }
  1464. case 2:
  1465. {
  1466. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_hair", 4.0, 1, 0, 0, 0, 0, 1);
  1467. }
  1468. case 3:
  1469. {
  1470. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_hurry", 4.0, 1, 0, 0, 0, 0, 1);
  1471. }
  1472. case 4:
  1473. {
  1474. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_idleloop", 4.0, 1, 0, 0, 0, 0, 1);
  1475. }
  1476. case 5:
  1477. {
  1478. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_idle_to_l0", 4.0, 0, 0, 0, 1, 0, 1);
  1479. }
  1480. case 6:
  1481. {
  1482. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l0_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1483. }
  1484. case 7:
  1485. {
  1486. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l0_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1487. }
  1488. case 8:
  1489. {
  1490. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l0_to_l1", 4.0, 0, 0, 0, 1, 0, 1);
  1491. }
  1492. case 9:
  1493. {
  1494. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l12_to_l0", 4.0, 0, 0, 0, 1, 0, 1);
  1495. }
  1496. case 10:
  1497. {
  1498. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l1_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1499. }
  1500. case 11:
  1501. {
  1502. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l1_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1503. }
  1504. case 12:
  1505. {
  1506. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l1_to_l2", 4.0, 1, 0, 0, 0, 0, 1);
  1507. }
  1508. case 13:
  1509. {
  1510. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l2_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1511. }
  1512. case 14:
  1513. {
  1514. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l2_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1515. }
  1516. case 15:
  1517. {
  1518. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l2_to_l3", 4.0, 0, 0, 0, 1, 0, 1);
  1519. }
  1520. case 16:
  1521. {
  1522. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l345_to_l1", 4.0, 0, 0, 0, 1, 0, 1);
  1523. }
  1524. case 17:
  1525. {
  1526. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l3_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1527. }
  1528. case 18:
  1529. {
  1530. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l3_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1531. }
  1532. case 19:
  1533. {
  1534. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l3_to_l4", 4.0, 1, 0, 0, 0, 0, 1);
  1535. }
  1536. case 20:
  1537. {
  1538. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l4_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1539. }
  1540. case 21:
  1541. {
  1542. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l4_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1543. }
  1544. case 22:
  1545. {
  1546. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l4_to_l5", 4.0, 0, 0, 0, 1, 0, 1);
  1547. }
  1548. case 23:
  1549. {
  1550. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l5_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1551. }
  1552. case 24:
  1553. {
  1554. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l5_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1555. }
  1556. case 25:
  1557. {
  1558. ApplyAnimation(playerid, "LOWRIDER", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1559. }
  1560. case 26:
  1561. {
  1562. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkB", 4.0, 1, 0, 0, 0, 0, 1);
  1563. }
  1564. case 27:
  1565. {
  1566. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkC", 4.0, 1, 0, 0, 0, 0, 1);
  1567. }
  1568. case 28:
  1569. {
  1570. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkD", 4.0, 1, 0, 0, 0, 0, 1);
  1571. }
  1572. case 29:
  1573. {
  1574. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkF", 4.0, 1, 0, 0, 0, 0, 1);
  1575. }
  1576. case 30:
  1577. {
  1578. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkG", 4.0, 1, 0, 0, 0, 0, 1);
  1579. }
  1580. case 31:
  1581. {
  1582. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkH", 4.0, 1, 0, 0, 0, 0, 1);
  1583. }
  1584. case 32:
  1585. {
  1586. ApplyAnimation(playerid, "LOWRIDER", "RAP_A_Loop", 4.0, 1, 0, 0, 0, 0, 1);
  1587. }
  1588. case 33:
  1589. {
  1590. ApplyAnimation(playerid, "LOWRIDER", "RAP_B_Loop", 4.0, 1, 0, 0, 0, 0, 1);
  1591. }
  1592. case 34:
  1593. {
  1594. ApplyAnimation(playerid, "LOWRIDER", "RAP_C_Loop", 4.0, 1, 0, 0, 0, 0, 1);
  1595. }
  1596. case 35:
  1597. {
  1598. ApplyAnimation(playerid, "LOWRIDER", "Sit_relaxed", 4.0, 1, 0, 0, 0, 0, 1);
  1599. }
  1600. case 36:
  1601. {
  1602. ApplyAnimation(playerid, "LOWRIDER", "Tap_hand", 4.0, 1, 0, 0, 0, 0, 1);
  1603. }
  1604. }
  1605. }
  1606. else
  1607. {
  1608. SendClientMessage(playerid, COLOR_GRAD2, " You must be in a compatible lowrider to use this command!");
  1609. }
  1610. return 1;
  1611. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement