[Pedido]Animes
#1

Vim aqui pedir se algum ai conheзe um FS de animes em Portugues que funcione, eu ja achei varios aqui, mas alguns e ingles e alguns nem funcionam.. Obrigado
Reply
#2

- All Animations (https://sampforum.blast.hk/showthread.php?tid=6504) - by ^Woozie^
- Animations (https://sampforum.blast.hk/showthread.php?tid=204818) - by Scottas
- AnimCool (https://sampforum.blast.hk/showthread.php?tid=279482) - by Miguel_Leopold
- iAnims (https://sampforum.blast.hk/showthread.php?tid=240497) - by iggy1
- ZET's Animation Viewer (https://sampforum.blast.hk/showthread.php?tid=3670) - by ZET

Todos sгo ingleses , algum deve funcionar.
Reply
#3

eu preciso de animes em PORTUGUES, nao em ingles
Reply
#4

pawn Код:
#include <a_samp>
#include <core>
#include <float>

new glob0[500];

new glob7D0[500];

new globFA0[200];

new glob12C0;


function8(arg0[], &arg1)
{
    new var0 = strlen(arg0);
    while(arg1 < var0 && arg0[arg1] <= 32)
    {
        arg1++;
    }
    new var1 = arg1;
    new var2[20];
    while(arg1 < var0 && arg0[arg1] > 32 && arg1 - var1 < 19)
    {
        var2[arg1 - var1] = arg0[arg1];
        arg1++;
    }
    var2[arg1 - var1] = 0;
    return var2;
}

function2A0(arg0, arg1, arg2)
{
    if(arg0 & arg1 && !(arg0 & arg2))
    {
        return 1;
    }
    return 0;
}

function31C(playerid, arg1[], arg2[], Float:arg3, arg4, arg5, arg6, arg7, arg8)
{
    if(glob0[playerid] == 1)
    {
        TextDrawHideForPlayer(playerid, glob12C0);
    }
    ApplyAnimation(playerid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, 0);
    globFA0[playerid]++;
    return 0;
}

function420(playerid, arg1[], arg2[], Float:arg3, arg4, arg5, arg6, arg7, arg8)
{
    if(glob0[playerid] == 1)
    {
        TextDrawHideForPlayer(playerid, glob12C0);
    }
    glob0[playerid] = 1;
    ApplyAnimation(playerid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, 0);
    TextDrawShowForPlayer(playerid, glob12C0);
    globFA0[playerid]++;
    return 0;
}

function57C(playerid)
{
    glob0[playerid] = 0;
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0, 0);
    return 0;
}

function61C(playerid, arg1[])
{
    ApplyAnimation(playerid, arg1, "null", 0.0, 0, 0, 0, 0, 0, 0);
    return 0;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(!glob0[playerid])
    {
        return 0;
    }
    if(function2A0(128, newkeys, oldkeys))
    {
        function57C(playerid);
        TextDrawHideForPlayer(playerid, glob12C0);
        globFA0[playerid] = 0;
    }
    return 0;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    if(glob0[playerid])
    {
        glob0[playerid] = 0;
        TextDrawHideForPlayer(playerid, glob12C0);
    }
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if(!glob7D0[playerid])
    {
        function61C(playerid, "BOMBER");
        function61C(playerid, "RAPPING");
        function61C(playerid, "SHOP");
        function61C(playerid, "BEACH");
        function61C(playerid, "SMOKING");
        function61C(playerid, "FOOD");
        function61C(playerid, "ON_LOOKERS");
        function61C(playerid, "DEALER");
        function61C(playerid, "CRACK");
        function61C(playerid, "CARRY");
        function61C(playerid, "COP_AMBIENT");
        function61C(playerid, "PARK");
        function61C(playerid, "INT_HOUSE");
        function61C(playerid, "FOOD");
        function61C(playerid, "PED");
        glob7D0[playerid] = 1;
    }
    return 1;
}

public OnPlayerConnect(playerid)
{
    glob0[playerid] = 0;
    glob7D0[playerid] = 0;
    return 1;
}

public OnFilterScriptInit()
{
    return 0;
}

public OnFilterScriptExit()
{
    TextDrawDestroy(glob12C0);
    return 0;
}

public OnPlayerCommandText(playerid, cmdtext)
{
    new var0[256];
    new var1[256];
    new var2 = 0;
    new var3 = 0;
    var0 = function8(cmdtext, var2);
    if(!strcmp(var0, "/anims", true))
    {
        SendClientMessage(playerid, 0xFFFF00FF, "________________________________________________________________________________________________________________________");
        SendClientMessage(playerid, 0xE60000FF, "[Click 21] Play Hard.");
        SendClientMessage(playerid, 0xFFFFFFFF, "/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup");
        SendClientMessage(playerid, 0xFFFFFFFF, " /basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay");
        SendClientMessage(playerid, 0xFFFFFFFF, "/deal - /crack - /smoke - /groundsit - /chat - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload");
        SendClientMessage(playerid, 0xFFFFFFFF, "/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat");
        SendClientMessage(playerid, 0xFFFFFFFF, "/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger");
        SendClientMessage(playerid, 0xFFFFFFFF, "/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim");
        SendClientMessage(playerid, 0xFFFFFFFF, "/xixi - /lean - /machoandando - /bundalele - /andarcagando - /dartapa - /tomartapa - /bananeira - /dordecoluna");
        SendClientMessage(playerid, 0xFFFF00FF, "ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ");
        return 1;
    }
    if(!strcmp(var0, "/carjacked1", true))
    {
        function420(playerid, "PED", "CAR_jackedLHS", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/carjacked2", true))
    {
        function420(playerid, "PED", "CAR_jackedRHS", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/handsup", true))
    {
        function420(playerid, "ROB_BANK", "SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/cellin", true))
    {
        SetPlayerSpecialAction(playerid, 11);
        return 1;
    }
    if(!strcmp(var0, "/cellout", true))
    {
        SetPlayerSpecialAction(playerid, 13);
        return 1;
    }
    if(!strcmp(var0, "/drunk", true))
    {
        function420(playerid, "PED", "WALK_DRUNK", 4.0999, 1, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp(var0, "/machoandando", true))
    {
        function420(playerid, "PED", "WOMAN_walkpro", 4.0999, 1, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp("/andarcagando", cmdtext, true))
    {
        function420(playerid, "FINALE", "FIN_Cop1_ClimbOut2", 4.0999, 1, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp("/bomb", cmdtext, true))
    {
        ClearAnimations(playerid, 0);
        function420(playerid, "BOMBER", "BOM_Plant_Loop", 4.0, 1, 0, 0, 1, 0);
        return 1;
    }
    if(!strcmp("/getarrested", cmdtext, true))
    {
        function420(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/dordecoluna", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKEDP", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/bundalele", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKING_IDLEW", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/bananeira", cmdtext, true))
    {
        function420(playerid, "DAM_JUMP", "DAM_Dive_Loop", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/dartapa", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKEDW", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/tomartapa", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKING_ENDW", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/laugh", cmdtext, true))
    {
        function31C(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/lookout", cmdtext, true))
    {
        function31C(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/robman", cmdtext, true))
    {
        function420(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/crossarms", cmdtext, true))
    {
        function420(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/lay", cmdtext, true))
    {
        function420(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/hide", cmdtext, true))
    {
        function420(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/vomit", cmdtext, true))
    {
        function31C(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/eat", cmdtext, true))
    {
        function31C(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/wave", cmdtext, true))
    {
        function420(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/slapass", cmdtext, true))
    {
        function31C(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/deal", cmdtext, true))
    {
        function31C(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/crack", cmdtext, true))
    {
        function420(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/smoke", true))
    {
        if(!strlen(cmdtext + 28))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /smoke [1-4]");
        }
        switch(cmdtext + 28[0]) {
            case 49:
                function420(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
            case 50:
                function420(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
            case 51:
                function420(playerid, "SMOKING", "M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
            case 52:
                function420(playerid, "SMOKING", "M_smk_out", 4.0, 1, 0, 0, 0, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /smoke [1-4]");
        }
        return 1;
    }
    if(!strcmp("/groundsit", cmdtext, true) || !strcmp("/gro", cmdtext, true))
    {
        function420(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/chat", true))
    {
        function420(playerid, "PED", "IDLE_CHAT", 4.0, 1, 0, 0, 1, 1);
        return 1;
    }
    if(!strcmp(var0, "/fucku", true))
    {
        function31C(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/taichi", true))
    {
        function420(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/chairsit", true))
    {
        function420(playerid, "PED", "SEAT_down", 4.0999, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/fall", true))
    {
        function420(playerid, "PED", "KO_skid_front", 4.0999, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/fallback", true))
    {
        function420(playerid, "PED", "FLOOR_hit_f", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/kiss", true))
    {
        function420(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/injured", true))
    {
        function420(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/sup", true))
    {
        if(!strlen(cmdtext + 20))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /sup [1-3]");
        }
        switch(cmdtext + 20[0]) {
            case 49:
                function31C(playerid, "GANGS", "hndshkba", 4.0, 0, 0, 0, 0, 0);
            case 50:
                function31C(playerid, "GANGS", "hndshkda", 4.0, 0, 0, 0, 0, 0);
            case 51:
                function31C(playerid, "GANGS", "hndshkfa_swt", 4.0, 0, 0, 0, 0, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /sup [1-3]");
        }
        return 1;
    }
    if(!strcmp(var0, "/rap", true))
    {
        if(!strlen(cmdtext + 20))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /rap [1-4]");
        }
        switch(cmdtext + 20[0]) {
            case 49:
                function420(playerid, "RAPPING", "RAP_A_Loop", 4.0, 1, 0, 0, 0, 0);
            case 50:
                function420(playerid, "RAPPING", "RAP_C_Loop", 4.0, 1, 0, 0, 0, 0);
            case 51:
                function420(playerid, "GANGS", "prtial_gngtlkD", 4.0, 1, 0, 0, 0, 0);
            case 52:
                function420(playerid, "GANGS", "prtial_gngtlkH", 4.0, 1, 0, 0, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /rap [1-4]");
        }
        return 1;
    }
    if(!strcmp(var0, "/push", true))
    {
        function31C(playerid, "GANGS", "shake_cara", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/akick", true))
    {
        function31C(playerid, "POLICE", "Door_Kick", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lowbodypush", true))
    {
        function31C(playerid, "GANGS", "shake_carSH", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/spray", true))
    {
        function31C(playerid, "SPRAYCAN", "spraycan_full", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/headbutt", true))
    {
        function31C(playerid, "WAYFARER", "WF_Fwd", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/medic", true))
    {
        function31C(playerid, "MEDIC", "CPR", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/koface", true))
    {
        function420(playerid, "PED", "KO_shot_face", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/kostomach", true))
    {
        function420(playerid, "PED", "KO_shot_stom", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/lifejump", true))
    {
        function420(playerid, "PED", "EV_dive", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/exhaust", true))
    {
        function420(playerid, "PED", "IDLE_tired", 3.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/leftslap", true))
    {
        function31C(playerid, "PED", "BIKE_elbowL", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/rollfall", true))
    {
        function420(playerid, "PED", "BIKE_fallR", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/carlock", true))
    {
        function31C(playerid, "PED", "CAR_doorlocked_LHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/rcarjack1", true))
    {
        function31C(playerid, "PED", "CAR_pulloutL_LHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lcarjack1", true))
    {
        function31C(playerid, "PED", "CAR_pulloutL_RHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/rcarjack2", true))
    {
        function31C(playerid, "PED", "CAR_pullout_LHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lcarjack2", true))
    {
        function31C(playerid, "PED", "CAR_pullout_RHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/hoodfrisked", true))
    {
        function420(playerid, "POLICE", "crm_drgbst_01", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/lightcig", true))
    {
        function31C(playerid, "SMOKING", "M_smk_in", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/tapcig", true))
    {
        function31C(playerid, "SMOKING", "M_smk_tap", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/bat", true))
    {
        function420(playerid, "BASEBALL", "Bat_IDLE", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/box", true))
    {
        function420(playerid, "GYMNASIUM", "GYMshadowbox", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/lay2", true))
    {
        function420(playerid, "SUNBATHE", "Lay_Bac_in", 3.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/chant", true))
    {
        function420(playerid, "RIOT", "RIOT_CHANT", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/finger", true))
    {
        function31C(playerid, "RIOT", "RIOT_FUKU", 2.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/shouting", true))
    {
        function420(playerid, "RIOT", "RIOT_shout", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/cop", true))
    {
        function31C(playerid, "SWORD", "sword_block", 50.0, 0, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp(var0, "/elbow", true))
    {
        function31C(playerid, "FIGHT_D", "FightD_3", 4.0, 0, 1, 1, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/kneekick", true))
    {
        function31C(playerid, "FIGHT_D", "FightD_2", 4.0, 0, 1, 1, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/fstance", true))
    {
        function420(playerid, "FIGHT_D", "FightD_IDLE", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/gpunch", true))
    {
        function31C(playerid, "FIGHT_B", "FightB_G", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/airkick", true))
    {
        function31C(playerid, "FIGHT_C", "FightC_M", 4.0, 0, 1, 1, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/gkick", true))
    {
        function31C(playerid, "FIGHT_D", "FightD_G", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lowthrow", true))
    {
        function31C(playerid, "GRENADE", "WEAPON_throwu", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/highthrow", true))
    {
        function31C(playerid, "GRENADE", "WEAPON_throw", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/dealstance", true))
    {
        function420(playerid, "DEALER", "DEALER_IDLE", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/xixi", true))
    {
        SetPlayerSpecialAction(playerid, 68);
        return 1;
    }
    if(!strcmp(var0, "/knife", true))
    {
        if(!strlen(cmdtext + 28))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /knife [1-4]");
        }
        switch(cmdtext + 28[0]) {
            case 49:
                function420(playerid, "KNIFE", "KILL_Knife_Ped_Damage", 4.0, 0, 1, 1, 1, 0);
            case 50:
                function420(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0);
            case 51:
                function31C(playerid, "KNIFE", "KILL_Knife_Player", 4.0, 0, 0, 0, 0, 0);
            case 52:
                function420(playerid, "KNIFE", "KILL_Partial", 4.0, 0, 1, 1, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /knife [1-4]");
        }
        return 1;
    }
    if(!strcmp(var0, "/basket", true))
    {
        if(!strlen(cmdtext + 32))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /basket [1-6]");
        }
        switch(cmdtext + 32[0]) {
            case 49:
                function420(playerid, "BSKTBALL", "BBALL_idleloop", 4.0, 1, 0, 0, 0, 0);
            case 50:
                function31C(playerid, "BSKTBALL", "BBALL_Jump_Shot", 4.0, 0, 0, 0, 0, 0);
            case 51:
                function31C(playerid, "BSKTBALL", "BBALL_pickup", 4.0, 0, 0, 0, 0, 0);
            case 52:
                function420(playerid, "BSKTBALL", "BBALL_run", 4.0999, 1, 1, 1, 1, 1);
            case 53:
                function420(playerid, "BSKTBALL", "BBALL_def_loop", 4.0, 1, 0, 0, 0, 0);
            case 54:
                function420(playerid, "BSKTBALL", "BBALL_Dnk", 4.0, 1, 0, 0, 0, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /basket [1-6]");
        }
        return 1;
    }
    if(!strcmp(var0, "/reload", true))
    {
        if(!strlen(cmdtext + 32))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /reload [deagle/smg/ak/m4]");
        }
        if(!strcmp("deagle", cmdtext + 32, true))
        {
            function31C(playerid, "COLT45", "colt45_reload", 4.0, 0, 0, 0, 0, 1);
        }
        else if(!strcmp("smg", cmdtext + 32, true) || !strcmp("ak", cmdtext + 32, true) || !strcmp("m4", cmdtext + 32, true))
        {
            function31C(playerid, "UZI", "UZI_reload", 4.0, 0, 0, 0, 0, 0);
        }
        else
        {
            SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /reload [deagle/smg/ak/m4]");
        }
        return 1;
    }
    if(!strcmp(var0, "/gwalk", true))
    {
        if(!strlen(cmdtext + 24))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /gwalk [1/2]");
        }
        new var4 = strval(cmdtext + 24);
        if(var4 == 1)
        {
            function420(playerid, "PED", "WALK_gang1", 4.0999, 1, 1, 1, 1, 1);
        }
        else if(var4 == 2)
        {
            function420(playerid, "PED", "WALK_gang2", 4.0999, 1, 1, 1, 1, 1);
        }
        else
        {
            SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /gwalk [1/2]");
        }
        return 1;
    }
    if(!strcmp(var0, "/aim", true))
    {
        if(!strlen(cmdtext + 20))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /aim [1-.]");
        }
        switch(cmdtext + 20[0]) {
            case 49:
                function420(playerid, "PED", "gang_gunstand", 4.0, 1, 1, 1, 1, 1);
            case 50:
                function420(playerid, "PED", "Driveby_L", 4.0, 0, 1, 1, 1, 1);
            case 51:
                function420(playerid, "PED", "Driveby_R", 4.0, 0, 1, 1, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /aim [1-3]");
        }
        return 1;
    }
    if(!strcmp(var0, "/lean", true))
    {
        if(!strlen(cmdtext + 24))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /lean [1-2]");
        }
        switch(cmdtext + 24[0]) {
            case 49:
                function420(playerid, "GANGS", "leanIDLE", 4.0, 0, 1, 1, 1, 0);
            case 50:
                function420(playerid, "MISC", "Plyrlean_loop", 4.0, 0, 1, 1, 1, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /lean [1-2]");
        }
        return 1;
    }
    if(!strcmp(var0, "/clear", true))
    {
        ApplyAnimation(playerid, "CARRY", "crry_prtial", 1.0, 0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/strip", true))
    {
        if(!strlen(cmdtext + 28))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /strip [A-G]");
        }
        switch(cmdtext + 28[0]) {
            case 65:
            case 97:
                function420(playerid, "STRIP", "strip_A", 4.0999, 1, 1, 1, 1, 1);
            case 66:
            case 98:
                function420(playerid, "STRIP", "strip_B", 4.0999, 1, 1, 1, 1, 1);
            case 67:
            case 99:
                function420(playerid, "STRIP", "strip_C", 4.0999, 1, 1, 1, 1, 1);
            case 100:
            case 68:
                function420(playerid, "STRIP", "strip_D", 4.0999, 1, 1, 1, 1, 1);
            case 101:
            case 69:
                function420(playerid, "STRIP", "strip_E", 4.0999, 1, 1, 1, 1, 1);
            case 102:
            case 70:
                function420(playerid, "STRIP", "strip_F", 4.0999, 1, 1, 1, 1, 1);
            case 71:
            case 103:
                function420(playerid, "STRIP", "strip_G", 4.0999, 1, 1, 1, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /strip [A-G]");
        }
        return 1;
    }
    if(!strcmp(var0, "/dance", true))
    {
        var1 = function8(cmdtext, var2);
        if(!strlen(var1))
        {
            SendClientMessage(playerid, 0xFF0000FF, "USAGE: /dance [style 1-4]");
            return 1;
        }
        var3 = strval(var1);
        if(var3 < 1 || var3 > 4)
        {
            SendClientMessage(playerid, 0xFF0000FF, "USAGE: /dance [style 1-4]");
            return 1;
        }
        if(var3 == 1)
        {
            SetPlayerSpecialAction(playerid, 5);
        }
        else if(var3 == 2)
        {
            SetPlayerSpecialAction(playerid, 6);
        }
        else if(var3 == 3)
        {
            SetPlayerSpecialAction(playerid, 7);
        }
        else if(var3 == 4)
        {
            SetPlayerSpecialAction(playerid, 8);
        }
        return 1;
    }
    return 0;
}
PS: Quer em pt traduz!
Reply
#5

Quote:
Originally Posted by Skun Fly
Посмотреть сообщение
pawn Код:
#include <a_samp>
#include <core>
#include <float>

new glob0[500];

new glob7D0[500];

new globFA0[200];

new glob12C0;


function8(arg0[], &arg1)
{
    new var0 = strlen(arg0);
    while(arg1 < var0 && arg0[arg1] <= 32)
    {
        arg1++;
    }
    new var1 = arg1;
    new var2[20];
    while(arg1 < var0 && arg0[arg1] > 32 && arg1 - var1 < 19)
    {
        var2[arg1 - var1] = arg0[arg1];
        arg1++;
    }
    var2[arg1 - var1] = 0;
    return var2;
}

function2A0(arg0, arg1, arg2)
{
    if(arg0 & arg1 && !(arg0 & arg2))
    {
        return 1;
    }
    return 0;
}

function31C(playerid, arg1[], arg2[], Float:arg3, arg4, arg5, arg6, arg7, arg8)
{
    if(glob0[playerid] == 1)
    {
        TextDrawHideForPlayer(playerid, glob12C0);
    }
    ApplyAnimation(playerid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, 0);
    globFA0[playerid]++;
    return 0;
}

function420(playerid, arg1[], arg2[], Float:arg3, arg4, arg5, arg6, arg7, arg8)
{
    if(glob0[playerid] == 1)
    {
        TextDrawHideForPlayer(playerid, glob12C0);
    }
    glob0[playerid] = 1;
    ApplyAnimation(playerid, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, 0);
    TextDrawShowForPlayer(playerid, glob12C0);
    globFA0[playerid]++;
    return 0;
}

function57C(playerid)
{
    glob0[playerid] = 0;
    ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0, 0);
    return 0;
}

function61C(playerid, arg1[])
{
    ApplyAnimation(playerid, arg1, "null", 0.0, 0, 0, 0, 0, 0, 0);
    return 0;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if(!glob0[playerid])
    {
        return 0;
    }
    if(function2A0(128, newkeys, oldkeys))
    {
        function57C(playerid);
        TextDrawHideForPlayer(playerid, glob12C0);
        globFA0[playerid] = 0;
    }
    return 0;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    if(glob0[playerid])
    {
        glob0[playerid] = 0;
        TextDrawHideForPlayer(playerid, glob12C0);
    }
    return 1;
}

public OnPlayerSpawn(playerid)
{
    if(!glob7D0[playerid])
    {
        function61C(playerid, "BOMBER");
        function61C(playerid, "RAPPING");
        function61C(playerid, "SHOP");
        function61C(playerid, "BEACH");
        function61C(playerid, "SMOKING");
        function61C(playerid, "FOOD");
        function61C(playerid, "ON_LOOKERS");
        function61C(playerid, "DEALER");
        function61C(playerid, "CRACK");
        function61C(playerid, "CARRY");
        function61C(playerid, "COP_AMBIENT");
        function61C(playerid, "PARK");
        function61C(playerid, "INT_HOUSE");
        function61C(playerid, "FOOD");
        function61C(playerid, "PED");
        glob7D0[playerid] = 1;
    }
    return 1;
}

public OnPlayerConnect(playerid)
{
    glob0[playerid] = 0;
    glob7D0[playerid] = 0;
    return 1;
}

public OnFilterScriptInit()
{
    return 0;
}

public OnFilterScriptExit()
{
    TextDrawDestroy(glob12C0);
    return 0;
}

public OnPlayerCommandText(playerid, cmdtext)
{
    new var0[256];
    new var1[256];
    new var2 = 0;
    new var3 = 0;
    var0 = function8(cmdtext, var2);
    if(!strcmp(var0, "/anims", true))
    {
        SendClientMessage(playerid, 0xFFFF00FF, "________________________________________________________________________________________________________________________");
        SendClientMessage(playerid, 0xE60000FF, "[Click 21] Play Hard.");
        SendClientMessage(playerid, 0xFFFFFFFF, "/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup");
        SendClientMessage(playerid, 0xFFFFFFFF, " /basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay");
        SendClientMessage(playerid, 0xFFFFFFFF, "/deal - /crack - /smoke - /groundsit - /chat - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload");
        SendClientMessage(playerid, 0xFFFFFFFF, "/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat");
        SendClientMessage(playerid, 0xFFFFFFFF, "/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - finger");
        SendClientMessage(playerid, 0xFFFFFFFF, "/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim");
        SendClientMessage(playerid, 0xFFFFFFFF, "/xixi - /lean - /machoandando - /bundalele - /andarcagando - /dartapa - /tomartapa - /bananeira - /dordecoluna");
        SendClientMessage(playerid, 0xFFFF00FF, "ЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇЇ");
        return 1;
    }
    if(!strcmp(var0, "/carjacked1", true))
    {
        function420(playerid, "PED", "CAR_jackedLHS", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/carjacked2", true))
    {
        function420(playerid, "PED", "CAR_jackedRHS", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/handsup", true))
    {
        function420(playerid, "ROB_BANK", "SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/cellin", true))
    {
        SetPlayerSpecialAction(playerid, 11);
        return 1;
    }
    if(!strcmp(var0, "/cellout", true))
    {
        SetPlayerSpecialAction(playerid, 13);
        return 1;
    }
    if(!strcmp(var0, "/drunk", true))
    {
        function420(playerid, "PED", "WALK_DRUNK", 4.0999, 1, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp(var0, "/machoandando", true))
    {
        function420(playerid, "PED", "WOMAN_walkpro", 4.0999, 1, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp("/andarcagando", cmdtext, true))
    {
        function420(playerid, "FINALE", "FIN_Cop1_ClimbOut2", 4.0999, 1, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp("/bomb", cmdtext, true))
    {
        ClearAnimations(playerid, 0);
        function420(playerid, "BOMBER", "BOM_Plant_Loop", 4.0, 1, 0, 0, 1, 0);
        return 1;
    }
    if(!strcmp("/getarrested", cmdtext, true))
    {
        function420(playerid, "ped", "ARRESTgun", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/dordecoluna", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKEDP", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/bundalele", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKING_IDLEW", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/bananeira", cmdtext, true))
    {
        function420(playerid, "DAM_JUMP", "DAM_Dive_Loop", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/dartapa", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKEDW", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/tomartapa", cmdtext, true))
    {
        function420(playerid, "SNM", "SPANKING_ENDW", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/laugh", cmdtext, true))
    {
        function31C(playerid, "RAPPING", "Laugh_01", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/lookout", cmdtext, true))
    {
        function31C(playerid, "SHOP", "ROB_Shifty", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/robman", cmdtext, true))
    {
        function420(playerid, "SHOP", "ROB_Loop_Threat", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/crossarms", cmdtext, true))
    {
        function420(playerid, "COP_AMBIENT", "Coplook_loop", 4.0, 0, 1, 1, 1, -1);
        return 1;
    }
    if(!strcmp("/lay", cmdtext, true))
    {
        function420(playerid, "BEACH", "bather", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/hide", cmdtext, true))
    {
        function420(playerid, "ped", "cower", 3.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/vomit", cmdtext, true))
    {
        function31C(playerid, "FOOD", "EAT_Vomit_P", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/eat", cmdtext, true))
    {
        function31C(playerid, "FOOD", "EAT_Burger", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/wave", cmdtext, true))
    {
        function420(playerid, "ON_LOOKERS", "wave_loop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/slapass", cmdtext, true))
    {
        function31C(playerid, "SWEET", "sweet_ass_slap", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/deal", cmdtext, true))
    {
        function31C(playerid, "DEALER", "DEALER_DEAL", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp("/crack", cmdtext, true))
    {
        function420(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/smoke", true))
    {
        if(!strlen(cmdtext + 28))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /smoke [1-4]");
        }
        switch(cmdtext + 28[0]) {
            case 49:
                function420(playerid, "SMOKING", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0);
            case 50:
                function420(playerid, "SMOKING", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0);
            case 51:
                function420(playerid, "SMOKING", "M_smkstnd_loop", 4.0, 1, 0, 0, 0, 0);
            case 52:
                function420(playerid, "SMOKING", "M_smk_out", 4.0, 1, 0, 0, 0, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /smoke [1-4]");
        }
        return 1;
    }
    if(!strcmp("/groundsit", cmdtext, true) || !strcmp("/gro", cmdtext, true))
    {
        function420(playerid, "BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/chat", true))
    {
        function420(playerid, "PED", "IDLE_CHAT", 4.0, 1, 0, 0, 1, 1);
        return 1;
    }
    if(!strcmp(var0, "/fucku", true))
    {
        function31C(playerid, "PED", "fucku", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/taichi", true))
    {
        function420(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/chairsit", true))
    {
        function420(playerid, "PED", "SEAT_down", 4.0999, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/fall", true))
    {
        function420(playerid, "PED", "KO_skid_front", 4.0999, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/fallback", true))
    {
        function420(playerid, "PED", "FLOOR_hit_f", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/kiss", true))
    {
        function420(playerid, "KISSING", "Playa_Kiss_02", 3.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/injured", true))
    {
        function420(playerid, "SWEET", "Sweet_injuredloop", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/sup", true))
    {
        if(!strlen(cmdtext + 20))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /sup [1-3]");
        }
        switch(cmdtext + 20[0]) {
            case 49:
                function31C(playerid, "GANGS", "hndshkba", 4.0, 0, 0, 0, 0, 0);
            case 50:
                function31C(playerid, "GANGS", "hndshkda", 4.0, 0, 0, 0, 0, 0);
            case 51:
                function31C(playerid, "GANGS", "hndshkfa_swt", 4.0, 0, 0, 0, 0, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /sup [1-3]");
        }
        return 1;
    }
    if(!strcmp(var0, "/rap", true))
    {
        if(!strlen(cmdtext + 20))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /rap [1-4]");
        }
        switch(cmdtext + 20[0]) {
            case 49:
                function420(playerid, "RAPPING", "RAP_A_Loop", 4.0, 1, 0, 0, 0, 0);
            case 50:
                function420(playerid, "RAPPING", "RAP_C_Loop", 4.0, 1, 0, 0, 0, 0);
            case 51:
                function420(playerid, "GANGS", "prtial_gngtlkD", 4.0, 1, 0, 0, 0, 0);
            case 52:
                function420(playerid, "GANGS", "prtial_gngtlkH", 4.0, 1, 0, 0, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /rap [1-4]");
        }
        return 1;
    }
    if(!strcmp(var0, "/push", true))
    {
        function31C(playerid, "GANGS", "shake_cara", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/akick", true))
    {
        function31C(playerid, "POLICE", "Door_Kick", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lowbodypush", true))
    {
        function31C(playerid, "GANGS", "shake_carSH", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/spray", true))
    {
        function31C(playerid, "SPRAYCAN", "spraycan_full", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/headbutt", true))
    {
        function31C(playerid, "WAYFARER", "WF_Fwd", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/medic", true))
    {
        function31C(playerid, "MEDIC", "CPR", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/koface", true))
    {
        function420(playerid, "PED", "KO_shot_face", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/kostomach", true))
    {
        function420(playerid, "PED", "KO_shot_stom", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/lifejump", true))
    {
        function420(playerid, "PED", "EV_dive", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/exhaust", true))
    {
        function420(playerid, "PED", "IDLE_tired", 3.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/leftslap", true))
    {
        function31C(playerid, "PED", "BIKE_elbowL", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/rollfall", true))
    {
        function420(playerid, "PED", "BIKE_fallR", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/carlock", true))
    {
        function31C(playerid, "PED", "CAR_doorlocked_LHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/rcarjack1", true))
    {
        function31C(playerid, "PED", "CAR_pulloutL_LHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lcarjack1", true))
    {
        function31C(playerid, "PED", "CAR_pulloutL_RHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/rcarjack2", true))
    {
        function31C(playerid, "PED", "CAR_pullout_LHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lcarjack2", true))
    {
        function31C(playerid, "PED", "CAR_pullout_RHS", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/hoodfrisked", true))
    {
        function420(playerid, "POLICE", "crm_drgbst_01", 4.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/lightcig", true))
    {
        function31C(playerid, "SMOKING", "M_smk_in", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/tapcig", true))
    {
        function31C(playerid, "SMOKING", "M_smk_tap", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/bat", true))
    {
        function420(playerid, "BASEBALL", "Bat_IDLE", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/box", true))
    {
        function420(playerid, "GYMNASIUM", "GYMshadowbox", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/lay2", true))
    {
        function420(playerid, "SUNBATHE", "Lay_Bac_in", 3.0, 0, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/chant", true))
    {
        function420(playerid, "RIOT", "RIOT_CHANT", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/finger", true))
    {
        function31C(playerid, "RIOT", "RIOT_FUKU", 2.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/shouting", true))
    {
        function420(playerid, "RIOT", "RIOT_shout", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/cop", true))
    {
        function31C(playerid, "SWORD", "sword_block", 50.0, 0, 1, 1, 1, 1);
        return 1;
    }
    if(!strcmp(var0, "/elbow", true))
    {
        function31C(playerid, "FIGHT_D", "FightD_3", 4.0, 0, 1, 1, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/kneekick", true))
    {
        function31C(playerid, "FIGHT_D", "FightD_2", 4.0, 0, 1, 1, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/fstance", true))
    {
        function420(playerid, "FIGHT_D", "FightD_IDLE", 4.0, 1, 1, 1, 1, 0);
        return 1;
    }
    if(!strcmp(var0, "/gpunch", true))
    {
        function31C(playerid, "FIGHT_B", "FightB_G", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/airkick", true))
    {
        function31C(playerid, "FIGHT_C", "FightC_M", 4.0, 0, 1, 1, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/gkick", true))
    {
        function31C(playerid, "FIGHT_D", "FightD_G", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/lowthrow", true))
    {
        function31C(playerid, "GRENADE", "WEAPON_throwu", 3.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/highthrow", true))
    {
        function31C(playerid, "GRENADE", "WEAPON_throw", 4.0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/dealstance", true))
    {
        function420(playerid, "DEALER", "DEALER_IDLE", 4.0, 1, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/xixi", true))
    {
        SetPlayerSpecialAction(playerid, 68);
        return 1;
    }
    if(!strcmp(var0, "/knife", true))
    {
        if(!strlen(cmdtext + 28))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /knife [1-4]");
        }
        switch(cmdtext + 28[0]) {
            case 49:
                function420(playerid, "KNIFE", "KILL_Knife_Ped_Damage", 4.0, 0, 1, 1, 1, 0);
            case 50:
                function420(playerid, "KNIFE", "KILL_Knife_Ped_Die", 4.0, 0, 1, 1, 1, 0);
            case 51:
                function31C(playerid, "KNIFE", "KILL_Knife_Player", 4.0, 0, 0, 0, 0, 0);
            case 52:
                function420(playerid, "KNIFE", "KILL_Partial", 4.0, 0, 1, 1, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /knife [1-4]");
        }
        return 1;
    }
    if(!strcmp(var0, "/basket", true))
    {
        if(!strlen(cmdtext + 32))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /basket [1-6]");
        }
        switch(cmdtext + 32[0]) {
            case 49:
                function420(playerid, "BSKTBALL", "BBALL_idleloop", 4.0, 1, 0, 0, 0, 0);
            case 50:
                function31C(playerid, "BSKTBALL", "BBALL_Jump_Shot", 4.0, 0, 0, 0, 0, 0);
            case 51:
                function31C(playerid, "BSKTBALL", "BBALL_pickup", 4.0, 0, 0, 0, 0, 0);
            case 52:
                function420(playerid, "BSKTBALL", "BBALL_run", 4.0999, 1, 1, 1, 1, 1);
            case 53:
                function420(playerid, "BSKTBALL", "BBALL_def_loop", 4.0, 1, 0, 0, 0, 0);
            case 54:
                function420(playerid, "BSKTBALL", "BBALL_Dnk", 4.0, 1, 0, 0, 0, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /basket [1-6]");
        }
        return 1;
    }
    if(!strcmp(var0, "/reload", true))
    {
        if(!strlen(cmdtext + 32))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /reload [deagle/smg/ak/m4]");
        }
        if(!strcmp("deagle", cmdtext + 32, true))
        {
            function31C(playerid, "COLT45", "colt45_reload", 4.0, 0, 0, 0, 0, 1);
        }
        else if(!strcmp("smg", cmdtext + 32, true) || !strcmp("ak", cmdtext + 32, true) || !strcmp("m4", cmdtext + 32, true))
        {
            function31C(playerid, "UZI", "UZI_reload", 4.0, 0, 0, 0, 0, 0);
        }
        else
        {
            SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /reload [deagle/smg/ak/m4]");
        }
        return 1;
    }
    if(!strcmp(var0, "/gwalk", true))
    {
        if(!strlen(cmdtext + 24))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /gwalk [1/2]");
        }
        new var4 = strval(cmdtext + 24);
        if(var4 == 1)
        {
            function420(playerid, "PED", "WALK_gang1", 4.0999, 1, 1, 1, 1, 1);
        }
        else if(var4 == 2)
        {
            function420(playerid, "PED", "WALK_gang2", 4.0999, 1, 1, 1, 1, 1);
        }
        else
        {
            SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /gwalk [1/2]");
        }
        return 1;
    }
    if(!strcmp(var0, "/aim", true))
    {
        if(!strlen(cmdtext + 20))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /aim [1-.]");
        }
        switch(cmdtext + 20[0]) {
            case 49:
                function420(playerid, "PED", "gang_gunstand", 4.0, 1, 1, 1, 1, 1);
            case 50:
                function420(playerid, "PED", "Driveby_L", 4.0, 0, 1, 1, 1, 1);
            case 51:
                function420(playerid, "PED", "Driveby_R", 4.0, 0, 1, 1, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /aim [1-3]");
        }
        return 1;
    }
    if(!strcmp(var0, "/lean", true))
    {
        if(!strlen(cmdtext + 24))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /lean [1-2]");
        }
        switch(cmdtext + 24[0]) {
            case 49:
                function420(playerid, "GANGS", "leanIDLE", 4.0, 0, 1, 1, 1, 0);
            case 50:
                function420(playerid, "MISC", "Plyrlean_loop", 4.0, 0, 1, 1, 1, 0);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /lean [1-2]");
        }
        return 1;
    }
    if(!strcmp(var0, "/clear", true))
    {
        ApplyAnimation(playerid, "CARRY", "crry_prtial", 1.0, 0, 0, 0, 0, 0, 0);
        return 1;
    }
    if(!strcmp(var0, "/strip", true))
    {
        if(!strlen(cmdtext + 28))
        {
            return SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /strip [A-G]");
        }
        switch(cmdtext + 28[0]) {
            case 65:
            case 97:
                function420(playerid, "STRIP", "strip_A", 4.0999, 1, 1, 1, 1, 1);
            case 66:
            case 98:
                function420(playerid, "STRIP", "strip_B", 4.0999, 1, 1, 1, 1, 1);
            case 67:
            case 99:
                function420(playerid, "STRIP", "strip_C", 4.0999, 1, 1, 1, 1, 1);
            case 100:
            case 68:
                function420(playerid, "STRIP", "strip_D", 4.0999, 1, 1, 1, 1, 1);
            case 101:
            case 69:
                function420(playerid, "STRIP", "strip_E", 4.0999, 1, 1, 1, 1, 1);
            case 102:
            case 70:
                function420(playerid, "STRIP", "strip_F", 4.0999, 1, 1, 1, 1, 1);
            case 71:
            case 103:
                function420(playerid, "STRIP", "strip_G", 4.0999, 1, 1, 1, 1, 1);
            default:
                SendClientMessage(playerid, 0xEFEFF7AA, "USAGE: /strip [A-G]");
        }
        return 1;
    }
    if(!strcmp(var0, "/dance", true))
    {
        var1 = function8(cmdtext, var2);
        if(!strlen(var1))
        {
            SendClientMessage(playerid, 0xFF0000FF, "USAGE: /dance [style 1-4]");
            return 1;
        }
        var3 = strval(var1);
        if(var3 < 1 || var3 > 4)
        {
            SendClientMessage(playerid, 0xFF0000FF, "USAGE: /dance [style 1-4]");
            return 1;
        }
        if(var3 == 1)
        {
            SetPlayerSpecialAction(playerid, 5);
        }
        else if(var3 == 2)
        {
            SetPlayerSpecialAction(playerid, 6);
        }
        else if(var3 == 3)
        {
            SetPlayerSpecialAction(playerid, 7);
        }
        else if(var3 == 4)
        {
            SetPlayerSpecialAction(playerid, 8);
        }
        return 1;
    }
    return 0;
}
PS: Quer em pt traduz!
Isso й sйrio? kkkkkkkkkkkkkkkkkkkkkk
Reply
#6

Achei um em dialog feito pelo todo_poderoso
PHP код:
//==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
/*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
-=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
 
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
#define TP 100                                    //troque se seu gm tiver pode causar bug troque por outro numero de dialog caso seu gm nao tiver dialog defino 100 nao precisa
//contem 14 Animes
//==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
/*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
-=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
public OnFilterScriptInit()
{
    print(
"-=-==- Sistema De animes em dialog -=-==- ");
    print(
"-=-==- iniciado -=-==-|");
    print(
"-=-==- By Todo_Poderoso -=-==-");
    return 
1;
}
 
 
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp(cmdtext"/animes"true) == 0) {
        
ShowPlayerDialog(playeridTPDIALOG_STYLE_LIST"Sistema De Animes""Handsup\nBebado\nAssaltar\nVomitar\nAcenar\nMirar Arma Na Centura\nEstatua\nAmarrar Sapato Devagar\nAmarrar Sapato Rapido\nFicku\nUrinar\nDeitar\nFumar Encostado\nsentar\nEngatinhar\nParar Anime\nCreditos""Selecionar""Cancelar");
        return 
1;
    }
    return 
false;
}
 
 
//==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
/*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
-=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == TP)
    if(
response) {
        if(
listitem == 0) {                      //handsup
            
SetPlayerSpecialAction(playerid10);
            return 
1;
        }
        if(
listitem == 1) {                      //Ficar embreagado
            
ApplyAnimation(playerid"PED""WALK_DRUNK"4.011110);
            return 
1;
        }
        if(
listitem == 2) {                      // Assal
            
ApplyAnimation(playerid"SHOP""ROB_Loop_Threat"4.010000);
            return 
1;
        }
        if(
listitem == 3) {                      //Vomitar
            
ApplyAnimation(playerid"FOOD""EAT_Vomit_P"3.000000);
            return 
1;
        }
        if(
listitem == 4) {                      //ACENAR
            
ApplyAnimation(playerid"ON_LOOKERS""wave_loop"4.010000);
            return 
1;
        }
        if(
listitem == 5) {                      // mirar arma na centura
            
ApplyAnimation(playerid,"BAR","Barcustom_get",4.1,0,1,1,1,1);
            return 
1;
        }
        if(
listitem == 6) {                      //estatua
            
ApplyAnimation(playerid,"BOX","bxshwlki",4.1,0,1,1,1,1);
            return 
1;
        }
        if(
listitem == 7) {                      // amarrar sapato devagar
            
ApplyAnimation(playerid,"BOMBER","BOM_Plant",4.1,0,1,1,1,1);
            return 
1;
        }
        if(
listitem == 8) {                      // amarrar sapato rapido
            
ApplyAnimation(playerid,"BOMBER","BOM_Plant_2Idle",4.1,0,1,1,1,1);
            return 
1;
        }
        if(
listitem == 9) {                      // Ficku
            
ApplyAnimation(playerid"PED""fucku"4.000000);
            return 
1;
        }
        if(
listitem == 10) {                      //Pinto piu mijar
            
ApplyAnimation(playerid"PAULNMAC""Piss_in"4.010000);
            return 
1;
        }
        if(
listitem == 11) {                      //deitar
            
ApplyAnimation(playerid"CRACK""Crckidle2"4.010000);
            return 
1;
        }
        if(
listitem == 12) {                      //fumar encostado
            
ApplyAnimation(playerid"SMOKING""F_smklean_loop"4.010000);
            return 
1;
        }
        if(
listitem == 13) {                      //sentar
            
ApplyAnimation(playerid"BEACH""ParkSit_M_loop"4.010000);
            return 
1;
        }
        if(
listitem == 14) {                      //Engatinhar
            
ApplyAnimation(playerid,"FINALE","FIN_Land_Car",4.1,1,1,1,1,1,1);
            return 
1;
        }
        if(
listitem == 15) {                      //Parar animes
            
ClearAnimations(playerid);
            return 
1;
        }
        if(
listitem == 16) {                      //Creditos
//nao Retire
            
SendClientMessage(playerid,0x7CFC00AA,"Creditos a Todo_Poderoso ");
            return 
1;
        }
    }
    return 
1;
}
 
 
//==-=-=-=--==-=-=-=-==-=-=-=-=-=-=--=-==---=-=-==--==--==-=-=-=-=--==-=-=-=--=-==-=-=-=-=-=-//
/*=--==-=-=-=--=-=-=-==--=-==--=-==--=FS Criador por Todo_Poderoso!!!=--==-=-=--==-=-=-==-=-=//
-=-=-==--==--==--==--==--=-=-=-==--==-nao RETIRE OSCREDITOS-=-=-=-=-=-=-=--==-=--=-=-=-==--==*/
#endif 
Reply
#7

Eu nao mandei ninguem traduzir nada pra mim, sу estou falando se alguem conheзer algum em PT q funcione que divulgue aqui..

4LiSs0N: esse dai nao funciona, eu ja havia baixado..
Reply
#8

poderia faser o seu mesmo й coisa facil de 10 minutos tu fas muitos animes ApplyAnimation funзao basica.
Reply
#9

Caro Felipe,

Dei uma rбpida procurada no fуrum e encontrei alguns tуpicos ! Nгo testei nenhum, espero ter ajudado!
Reply
#10

Valeu Ricop, vou ter q dar uma saida, mas jaja eu testo! Vlw a todos ai
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)