Walking styles please help please
#1

So i have done the walking styles so when a player walks a animation will be played so its a walking style.

My problem is how can i get it so when your doing a walking animation you can still aim with a desert eagle and move while aiming because right now it stops you to aim

Please help

pawn Code:
if (HOLDING(KEY_WALK))
    {
        if(Player[playerid][UsingGangWalkOne] == 1)
        {
            ApplyAnimation(playerid, "PED", "WALK_gang1", 4.0, 1, 1, 1, 1, 1);
        }
        if(Player[playerid][UsingGangWalkTwo] == 1)
        {
            ApplyAnimation(playerid, "PED", "WALK_gang2", 4.0, 1, 1, 1, 1, 1);
        }
        if(Player[playerid][UsingMuscleWalk] == 1)
        {
            ApplyAnimation(playerid, "MUSCULAR", "MuscleWalk", 4.0, 1, 1, 1, 1, 1);
        }
        if(Player[playerid][UsingSneakyWalk] == 1)
        {
            ApplyAnimation(playerid, "PED", "Player_Sneak", 4.0, 1, 1, 1, 1, 1);
        }
    }
    else if (RELEASED(KEY_WALK))
    {
        ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0);
    }
If you need any more code just ask

Thanks
Reply
#2

Obviously, you cannot aim without interrupting this animation. Sorry, pal. (Only if you change the walking style natively.)
Reply
#3

Quote:
Originally Posted by Grand_Micha
View Post
Obviously, you cannot aim without interrupting this animation. Sorry, pal. (Only if you change the walking style natively.)
Would changing that be hard ? I know some other server that can aim while being in that animation

Thanks
Reply
#4

UsePlayerPedAnims(); <- delete this line

I think there were some other new native functions, but I forgot.
Reply
#5

Quote:
Originally Posted by Grand_Micha
View Post
UsePlayerPedAnims(); <- delete this line

I think there were some other new native functions, but I forgot.
Never had that line what others can you think of buddy ?

Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)