nrgrpgbrasil

[FS] Animações

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