Advertisement
WeenSoares_

[FilterScript]Sistema de Animes

Jan 24th, 2012
2,278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 16.74 KB | None | 0 0
  1. /*
  2.  
  3.     FilterScript Sistema de Animes
  4.         Direito autoriais: WeenSoares
  5.         Contato: weensoares@live.com
  6.  
  7. */
  8. //=============== INCLUDES ================//
  9. #include <a_samp>
  10. #include <zcmd>
  11. #include <sscanf2>
  12. //=============== NEW ================//
  13. new anims[5];
  14. new strdialog[750];//Total de Células 737, arrendondei :)
  15. //=============== DEFINE ================//
  16. #define SPECIAL_ACTION_PISSING 68
  17. #define ANIMES 911
  18. //=============== ONFILTERSCRIPTINIT ================//
  19. public OnFilterScriptInit()
  20. {
  21.  
  22.     print("******************************************************");
  23.     print("*        [FilterScript] Sistema de Animes            *\n");
  24.     print("*                   Carregando...                    *\n\n");
  25.     print("*                  Carregado 100%.                   *");
  26.     print("******************************************************");
  27.     return 1;
  28. }
  29. //=============== ANIMAÇÕES ================//
  30.     CMD:animlist(playerid)
  31.     {
  32.         strcat(strdialog, "/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup\n");
  33.         strcat(strdialog, "/basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay\n");
  34.         strcat(strdialog, "/deal - /crack - /smoke - /groundsit - /chat - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload\n");
  35.         strcat(strdialog, "/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat\n");
  36.         strcat(strdialog, "/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger\n");
  37.         strcat(strdialog, "/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim\n");
  38.         strcat(strdialog, "/pee - /lean - /run\n");
  39.         strcat(strdialog, "-----------------------------------------------------------------------------------------------------------------------------------------");
  40.         ShowPlayerDialog(playerid, ANIMES, DIALOG_STYLE_MSGBOX, "-------------------------------------------------------- [ ANIMLIST ] ------------------------------------------------------------------", strdialog, "OK", "");
  41.         return 1;
  42.     }
  43.     CMD:carjacked1(playerid)
  44.     {
  45.         ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.0,0,1,1,1,0);
  46.         return 1;
  47.     }
  48.     CMD:carjacked2(playerid)
  49.     {
  50.         ApplyAnimation(playerid,"PED","CAR_jackedRHS",4.0,0,1,1,1,0);
  51.         return 1;
  52.     }
  53.     CMD:handsup(playerid)
  54.     {
  55.         ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
  56.         return 1;
  57.     }
  58.     CMD:cellin(playerid)
  59.     {
  60.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
  61.         return 1;
  62.     }
  63.     CMD:cellout(playerid)
  64.     {
  65.         SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
  66.         return 1;
  67.     }
  68.     CMD:drunk(playerid)
  69.     {
  70.         ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1,1,1,1,1,1);
  71.         return 1;
  72.     }
  73.     CMD:bomb(playerid)
  74.     {
  75.         ClearAnimations(playerid);
  76.         ApplyAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.0,1,0,0,1,0);
  77.         return 1;
  78.     }
  79.     CMD:getarrested(playerid)
  80.     {
  81.         ApplyAnimation(playerid,"ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
  82.         return 1;
  83.     }
  84.     CMD:laugh(playerid)
  85.     {
  86.         ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
  87.         return 1;
  88.     }
  89.     CMD:lookout(playerid)
  90.     {
  91.         ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
  92.         return 1;
  93.     }
  94.     CMD:robman(playerid)
  95.     {
  96.         ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
  97.         return 1;
  98.     }
  99.     CMD:crossarms(playerid)
  100.     {
  101.         ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
  102.         return 1;
  103.     }
  104.     CMD:lay(playerid)
  105.     {
  106.         ApplyAnimation(playerid,"BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
  107.         return 1;
  108.     }
  109.     CMD:hide(playerid)
  110.     {
  111.         ApplyAnimation(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
  112.         return 1;
  113.     }
  114.     CMD:vomit(playerid)
  115.     {
  116.         ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
  117.         return 1;
  118.     }
  119.     CMD:eat(playerid)
  120.     {
  121.         ApplyAnimation(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
  122.         return 1;
  123.     }
  124.     CMD:wave(playerid)
  125.     {
  126.         ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
  127.         return 1;
  128.     }
  129.     CMD:slapass(playerid)
  130.     {
  131.         ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
  132.         return 1;
  133.     }
  134.     CMD:deal(playerid)
  135.     {
  136.         ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
  137.         return 1;
  138.     }
  139.     CMD:crack(playerid)
  140.     {
  141.         ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
  142.         return 1;
  143.     }
  144.     CMD:gro(playerid)
  145.     {
  146.         ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); // Sit
  147.         return 1;
  148.     }
  149.     CMD:chat(playerid)
  150.     {
  151.         ApplyAnimation(playerid,"PED","IDLE_CHAT",4.0,1,0,0,1,1);
  152.         return 1;
  153.     }
  154.     CMD:fucku(playerid)
  155.     {
  156.         ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0);
  157.         return 1;
  158.     }
  159.     CMD:taichi(playerid)
  160.     {
  161.         ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
  162.         return 1;
  163.     }
  164.     CMD:chairsit(playerid)
  165.     {
  166.         ApplyAnimation(playerid,"PED","SEAT_down",4.1,0,1,1,1,0);
  167.         return 1;
  168.     }
  169.     CMD:fall(playerid)
  170.     {
  171.         ApplyAnimation(playerid,"PED","KO_skid_front",4.1,0,1,1,1,0);
  172.         return 1;
  173.     }
  174.     CMD:fallback(playerid)
  175.     {
  176.         ApplyAnimation(playerid, "PED","FLOOR_hit_f", 4.0, 1, 0, 0, 0, 0);
  177.         return 1;
  178.     }
  179.     CMD:kiss(playerid)
  180.     {
  181.         ApplyAnimation(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 1, 1, 1, 0);
  182.         return 1;
  183.     }
  184.     CMD:injured(playerid)
  185.     {
  186.         ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
  187.         return 1;
  188.     }
  189.     CMD:push(playerid)
  190.     {
  191.         ApplyAnimation(playerid,"GANGS","shake_cara",4.0,0,0,0,0,0);
  192.         return 1;
  193.     }
  194.     CMD:akick(playerid)
  195.     {
  196.         ApplyAnimation(playerid,"POLICE","Door_Kick",4.0,0,0,0,0,0);
  197.         return 1;
  198.     }
  199.     CMD:lowbodypush(playerid)
  200.     {
  201.         ApplyAnimation(playerid,"GANGS","shake_carSH",4.0,0,0,0,0,0);
  202.         return 1;
  203.     }
  204.     CMD:spray(playerid)
  205.     {
  206.         ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.0,0,0,0,0,0);
  207.         return 1;
  208.     }
  209.     CMD:headbutt(playerid)
  210.     {
  211.         ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.0,0,0,0,0,0);
  212.         return 1;
  213.     }
  214.     CMD:hoodfrisked(playerid)
  215.     {
  216.          ApplyAnimation(playerid,"POLICE","crm_drgbst_01",4.0,0,1,1,1,0);
  217.          return 1;
  218.     }
  219.     CMD:lightcig(playerid)
  220.     {
  221.          ApplyAnimation(playerid,"SMOKING","M_smk_in",3.0,0,0,0,0,0);
  222.          return 1;
  223.     }
  224.     CMD:tapcig(playerid)
  225.     {
  226.          ApplyAnimation(playerid,"SMOKING","M_smk_tap",3.0,0,0,0,0,0);
  227.          return 1;
  228.     }
  229.     CMD:bat(playerid)
  230.     {
  231.          ApplyAnimation(playerid,"BASEBALL","Bat_IDLE",4.0,1,1,1,1,0);
  232.          return 1;
  233.     }
  234.     CMD:box(playerid)
  235.     {
  236.          ApplyAnimation(playerid,"GYMNASIUM","GYMshadowbox",4.0,1,1,1,1,0);
  237.          return 1;
  238.     }
  239.     CMD:lay2(playerid)
  240.     {
  241.          ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_in",3.0,0,1,1,1,0);
  242.          return 1;
  243.     }
  244.     CMD:chant(playerid)
  245.     {
  246.          ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.0,1,1,1,1,0);
  247.          return 1;
  248.     }
  249.     CMD:finger(playerid)
  250.     {
  251.          ApplyAnimation(playerid,"RIOT","RIOT_FUKU",2.0,0,0,0,0,0);
  252.          return 1;
  253.     }
  254.     CMD:shouting(playerid)
  255.     {
  256.          ApplyAnimation(playerid,"RIOT","RIOT_shout",4.0,1,0,0,0,0);
  257.          return 1;
  258.     }
  259.     CMD:cop(playerid)
  260.     {
  261.          ApplyAnimation(playerid,"SWORD","sword_block",50.0,0,1,1,1,1);
  262.          return 1;
  263.     }
  264.     CMD:elbow(playerid)
  265.     {
  266.          ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.0,0,1,1,0,0);
  267.          return 1;
  268.     }
  269.     CMD:kneekick(playerid)
  270.     {
  271.          ApplyAnimation(playerid,"FIGHT_D","FightD_2",4.0,0,1,1,0,0);
  272.          return 1;
  273.     }
  274.     CMD:fstance(playerid)
  275.     {
  276.          ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.0,1,1,1,1,0);
  277.          return 1;
  278.     }
  279.     CMD:gpunch(playerid)
  280.     {
  281.          ApplyAnimation(playerid,"FIGHT_B","FightB_G",4.0,0,0,0,0,0);
  282.          return 1;
  283.     }
  284.     CMD:airkick(playerid)
  285.     {
  286.          ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.0,0,1,1,0,0);
  287.          return 1;
  288.     }
  289.     CMD:gkick(playerid)
  290.     {
  291.          ApplyAnimation(playerid,"FIGHT_D","FightD_G",4.0,0,0,0,0,0);
  292.          return 1;
  293.     }
  294.     CMD:lowthrow(playerid)
  295.     {
  296.          ApplyAnimation(playerid,"GRENADE","WEAPON_throwu",3.0,0,0,0,0,0);
  297.          return 1;
  298.     }
  299.     CMD:highthrow(playerid)
  300.     {
  301.          ApplyAnimation(playerid,"GRENADE","WEAPON_throw",4.0,0,0,0,0,0);
  302.          return 1;
  303.     }
  304.     CMD:dealstance(playerid)
  305.     {
  306.          ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.0,1,0,0,0,0);
  307.          return 1;
  308.     }
  309.     CMD:pee(playerid)
  310.     {
  311.          SetPlayerSpecialAction(playerid, SPECIAL_ACTION_PISSING);
  312.          return 1;
  313.     }
  314.     CMD:medic(playerid)
  315.     {
  316.         ApplyAnimation(playerid,"MEDIC","CPR",4.0,0,0,0,0,0);
  317.         return 1;
  318.     }
  319.     CMD:koface(playerid)
  320.     {
  321.         ApplyAnimation(playerid,"PED","KO_shot_face",4.0,0,1,1,1,0);
  322.         return 1;
  323.     }
  324.     CMD:kostomach(playerid)
  325.     {
  326.         ApplyAnimation(playerid,"PED","KO_shot_stom",4.0,0,1,1,1,0);
  327.         return 1;
  328.     }
  329.     CMD:lifejump(playerid)
  330.     {
  331.         ApplyAnimation(playerid,"PED","EV_dive",4.0,0,1,1,1,0);
  332.         return 1;
  333.     }
  334.     CMD:exhaust(playerid)
  335.     {
  336.         ApplyAnimation(playerid,"PED","IDLE_tired",3.0,1,0,0,0,0);
  337.         return 1;
  338.     }
  339.     CMD:leftslap(playerid)
  340.     {
  341.         ApplyAnimation(playerid,"PED","BIKE_elbowL",4.0,0,0,0,0,0);
  342.         return 1;
  343.     }
  344.     CMD:rollfall(playerid)
  345.     {
  346.         ApplyAnimation(playerid,"PED","BIKE_fallR",4.0,0,1,1,1,0);
  347.         return 1;
  348.     }
  349.     CMD:carlock(playerid)
  350.     {
  351.         ApplyAnimation(playerid,"PED","CAR_doorlocked_LHS",4.0,0,0,0,0,0);
  352.         return 1;
  353.     }
  354.     CMD:rcarjack1(playerid)
  355.     {
  356.         ApplyAnimation(playerid,"PED","CAR_pulloutL_LHS",4.0,0,0,0,0,0);
  357.         return 1;
  358.     }
  359.     CMD:lcarjack1(playerid)
  360.     {
  361.         ApplyAnimation(playerid,"PED","CAR_pulloutL_RHS",4.0,0,0,0,0,0);
  362.         return 1;
  363.     }
  364.     CMD:rcarjack2(playerid)
  365.     {
  366.         ApplyAnimation(playerid,"PED","CAR_pullout_LHS",4.0,0,0,0,0,0);
  367.         return 1;
  368.     }
  369.     CMD:lcarjack2(playerid)
  370.     {
  371.         ApplyAnimation(playerid,"PED","CAR_pullout_RHS",4.0,0,0,0,0,0);
  372.         return 1;
  373.     }
  374.     CMD:smoke(playerid, params[])
  375.     {
  376.         if(sscanf(params, "s", anims))
  377.         {
  378.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /smoke [1-4]");
  379.         }
  380.         else
  381.         {
  382.             if(strcmp(anims, "0", true) == 0)
  383.             {
  384.                 SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /smoke [1-4]");
  385.             }
  386.             if(strcmp(anims, "1", true) == 0)
  387.             {
  388.                 ApplyAnimation(playerid,"SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  389.             }
  390.             if(strcmp(anims, "2", true) == 0)
  391.             {
  392.                 ApplyAnimation(playerid,"SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
  393.             }
  394.             if(strcmp(anims, "3", true) == 0)
  395.             {
  396.                 ApplyAnimation(playerid,"SMOKING","M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
  397.             }
  398.             if(strcmp(anims, "4", true) == 0)
  399.             {
  400.                 ApplyAnimation(playerid,"SMOKING","M_smk_out", 4.0, 1, 0, 0, 0, 0);
  401.             }
  402.         }
  403.         return 1;
  404.     }
  405.     CMD:sup(playerid, params[])
  406.     {
  407.         if(sscanf(params, "s", anims))
  408.         {
  409.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /sup [1-3]");
  410.         }
  411.         else
  412.         {
  413.             if(strcmp(anims, "1", true) == 0)
  414.             {
  415.                 ApplyAnimation(playerid,"GANGS","hndshkba",4.0,0,0,0,0,0);
  416.             }
  417.             if(strcmp(anims, "2", true) == 0)
  418.             {
  419.                 ApplyAnimation(playerid,"GANGS","hndshkda",4.0,0,0,0,0,0);
  420.             }
  421.             if(strcmp(anims, "3", true) == 0)
  422.             {
  423.                 ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.0,0,0,0,0,0);
  424.             }
  425.         }
  426.         return 1;
  427.     }
  428.     CMD:rap(playerid, params[])
  429.     {
  430.         if(sscanf(params, "s", anims))
  431.         {
  432.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /rap [1-4]");
  433.         }
  434.         else
  435.         {
  436.             if(strcmp(anims, "1", true) == 0)
  437.             {
  438.                 ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.0,1,0,0,0,0);
  439.             }
  440.             if(strcmp(anims, "2", true) == 0)
  441.             {
  442.                 ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.0,1,0,0,0,0);
  443.             }
  444.             if(strcmp(anims, "3", true) == 0)
  445.             {
  446.                 ApplyAnimation(playerid,"GANGS","prtial_gngtlkD",4.0,1,0,0,0,0);
  447.             }
  448.             if(strcmp(anims, "4", true) == 0)
  449.             {
  450.                 ApplyAnimation(playerid,"GANGS","prtial_gngtlkH",4.0,1,0,0,1,1);
  451.             }
  452.         }
  453.         return 1;
  454.     }
  455.     CMD:knife(playerid, params[])
  456.     {
  457.         if(sscanf(params, "s", anims))
  458.         {
  459.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /knife [1-4]");
  460.         }
  461.         else
  462.         {
  463.             if(strcmp(anims, "1", true) == 0)
  464.             {
  465.                 ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.0,0,1,1,1,0);
  466.             }
  467.             if(strcmp(anims, "2", true) == 0)
  468.             {
  469.                 ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.0,0,1,1,1,0);
  470.             }
  471.             if(strcmp(anims, "3", true) == 0)
  472.             {
  473.                 ApplyAnimation(playerid,"KNIFE","KILL_Knife_Player",4.0,0,0,0,0,0);
  474.             }
  475.             if(strcmp(anims, "4", true) == 0)
  476.             {
  477.                 ApplyAnimation(playerid,"KNIFE","KILL_Partial",4.0,0,1,1,1,1);
  478.             }
  479.         }
  480.         return 1;
  481.     }
  482.     CMD:basket(playerid, params[])
  483.     {
  484.         if(sscanf(params, "s", anims))
  485.         {
  486.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /knife [1-6]");
  487.         }
  488.         else
  489.         {
  490.             if(strcmp(anims, "1", true) == 0)
  491.             {
  492.                 ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.0,1,0,0,0,0);
  493.             }
  494.             if(strcmp(anims, "2", true) == 0)
  495.             {
  496.                 ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot",4.0,0,0,0,0,0);
  497.             }
  498.             if(strcmp(anims, "3", true) == 0)
  499.             {
  500.                 ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.0,0,0,0,0,0);
  501.             }
  502.             if(strcmp(anims, "4", true) == 0)
  503.             {
  504.                 ApplyAnimation(playerid,"BSKTBALL","BBALL_run",4.1,1,1,1,1,1);
  505.             }
  506.             if(strcmp(anims, "5", true) == 0)
  507.             {
  508.                 ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.0,1,0,0,0,0);
  509.             }
  510.             if(strcmp(anims, "6", true) == 0)
  511.             {
  512.                 ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk",4.0,1,0,0,0,0);
  513.             }
  514.         }
  515.         return 1;
  516.     }
  517.     CMD:reload(playerid, params[])
  518.     {
  519.         if(sscanf(params, "s", anims))
  520.         {
  521.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /reload [deagle/smg/ak/m4]");
  522.         }
  523.         else
  524.         {
  525.             if(strcmp(anims, "deagle", true) == 0)
  526.             {
  527.                 ApplyAnimation(playerid,"COLT45","colt45_reload",4.0,0,0,0,0,1);
  528.             }
  529.             if(strcmp(anims, "smg", true) == 0 || strcmp(anims, "ak", true) == 0 || strcmp(anims, "m4", true) == 0)
  530.             {
  531.                 ApplyAnimation(playerid,"UZI","UZI_reload",4.0,0,0,0,0,0);
  532.             }
  533.         }
  534.         return 1;
  535.     }
  536.     CMD:gwalk(playerid, params[])
  537.     {
  538.         if(sscanf(params, "s", anims))
  539.         {
  540.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /gwalk [1-2]");
  541.         }
  542.         else
  543.         {
  544.             if(strcmp(anims, "1", true) == 0)
  545.             {
  546.                 ApplyAnimation(playerid,"PED","WALK_gang1",4.1,1,1,1,1,1);
  547.             }
  548.             if(strcmp(anims, "2", true) == 0)
  549.             {
  550.                 ApplyAnimation(playerid,"PED","WALK_gang2",4.1,1,1,1,1,1);
  551.             }
  552.         }
  553.         return 1;
  554.     }
  555.     CMD:aim(playerid, params[])
  556.     {
  557.         if(sscanf(params, "s", anims))
  558.         {
  559.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /aim [1-3]");
  560.         }
  561.         else
  562.         {
  563.             if(strcmp(anims, "1", true) == 0)
  564.             {
  565.                 ApplyAnimation(playerid,"PED","gang_gunstand",4.0,1,1,1,1,1);
  566.             }
  567.             if(strcmp(anims, "2", true) == 0)
  568.             {
  569.                 ApplyAnimation(playerid,"PED","Driveby_L",4.0,0,1,1,1,1);
  570.             }
  571.             if(strcmp(anims, "3", true) == 0)
  572.             {
  573.                 ApplyAnimation(playerid,"PED","Driveby_R",4.0,0,1,1,1,1);
  574.             }
  575.         }
  576.         return 1;
  577.     }
  578.     CMD:lean(playerid, params[])
  579.     {
  580.         if(sscanf(params, "s", anims))
  581.         {
  582.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /lean [1-2]");
  583.         }
  584.         else
  585.         {
  586.             if(strcmp(anims, "1", true) == 0)
  587.             {
  588.                 ApplyAnimation(playerid,"GANGS","leanIDLE",4.0,0,1,1,1,0);
  589.             }
  590.             if(strcmp(anims, "2", true) == 0)
  591.             {
  592.                 ApplyAnimation(playerid,"MISC","Plyrlean_loop",4.0,0,1,1,1,0);
  593.             }
  594.         }
  595.         return 1;
  596.     }
  597.     CMD:strip(playerid, params[])
  598.     {
  599.         if(sscanf(params, "s", anims))
  600.         {
  601.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /strip [a-g]");
  602.         }
  603.         else
  604.         {
  605.             if(strcmp(anims, "a", true) == 0)
  606.             {
  607.                 ApplyAnimation(playerid,"STRIP", "strip_A", 4.1, 1, 1, 1, 1, 1 );
  608.             }
  609.             if(strcmp(anims, "b", true) == 0)
  610.             {
  611.                 ApplyAnimation(playerid,"STRIP", "strip_B", 4.1, 1, 1, 1, 1, 1 );
  612.             }
  613.             if(strcmp(anims, "c", true) == 0)
  614.             {
  615.                 ApplyAnimation(playerid,"STRIP", "strip_C", 4.1, 1, 1, 1, 1, 1 );
  616.             }
  617.             if(strcmp(anims, "d", true) == 0)
  618.             {
  619.                 ApplyAnimation(playerid,"STRIP", "strip_D", 4.1, 1, 1, 1, 1, 1 );
  620.             }
  621.             if(strcmp(anims, "e", true) == 0)
  622.             {
  623.                 ApplyAnimation(playerid,"STRIP", "strip_E", 4.1, 1, 1, 1, 1, 1 );
  624.             }
  625.             if(strcmp(anims, "f", true) == 0)
  626.             {
  627.                 ApplyAnimation(playerid,"STRIP", "strip_F", 4.1, 1, 1, 1, 1, 1 );
  628.             }
  629.             if(strcmp(anims, "g", true) == 0)
  630.             {
  631.                 ApplyAnimation(playerid,"STRIP", "strip_G", 4.1, 1, 1, 1, 1, 1 );
  632.             }
  633.         }
  634.         return 1;
  635.     }
  636.     CMD:dance(playerid, params[])
  637.     {
  638.         if(sscanf(params, "s", anims))
  639.         {
  640.             SendClientMessage(playerid, 0x33AA33AA, "Uso correto: /dance [1-3]");
  641.         }
  642.         else
  643.         {
  644.             if(strcmp(anims, "1", true) == 0)
  645.             {
  646.                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1);
  647.             }
  648.             if(strcmp(anims, "2", true) == 0)
  649.             {
  650.                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE2);
  651.             }
  652.             if(strcmp(anims, "3", true) == 0)
  653.             {
  654.                 SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE3);
  655.             }
  656.         }
  657.         return 1;
  658.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement