24.06.2012, 14:16
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
If you need any more code just ask
Thanks
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);
}
Thanks