Advertisement
Guest User

Untitled

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