Help crouched animation
#10

Quote:
Originally Posted by Dayrion
Посмотреть сообщение
After reload? What do you mean?
Remove animation after reloading?
PHP код:
forward noAnim(playerid);
public 
noAnim(playerid)
{
    if(
IsCrounching(playerid)) ApplyAnimation(playerid"PED""GUNCROUCHFWD"4.1000011);
    else 
ApplyAnimation(playerid"CARRY""crry_prtial"4.1000011);
    return 
1;

I'm sorry to this long time, i was with no computer...

If I use this:
Код:
		    if(IsCrounching(playerid)) ApplyAnimation(playerid, "PYTHON", "python_crouchreload", 4.1, 0, 0, 0, -1, 1, 1);
		    else ApplyAnimation(playerid, "PYTHON", "python_reload", 4.1, 0, 0, 0, -1, 1, 1);
In a command (with no aim, shotting, only a command to reload, stopped)
It's work fine

But if player is aim,shotting and end the bullets...
Player make a anim to fast, i even can see that, reload weapon too fast

If I use this:
Код:
		case 24:
		{
			if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_DUCK) { ApplyAnimation (playerid , "PYTHON" , "python_crouchreload" , 4.0 , 0 , 0 , 0 , 0 , 500); }
			else { ApplyAnimation (playerid , "PYTHON" , "python_reload" , 4.0 , 0 , 0 , 0 , 0 , 500); }
		}
In a command and when end the bullets (when aim/shotting) player use the animation crouched and after finish, player get up :O
Reply


Messages In This Thread
Help crouched animation - by pedrotvr - 05.11.2016, 23:55
Re: Help crouched animation - by GoldenLion - 06.11.2016, 00:17
Re: Help crouched animation - by pedrotvr - 26.11.2016, 14:52
Re: Help crouched animation - by GoldenLion - 26.11.2016, 14:57
Re: Help crouched animation - by maikons - 26.11.2016, 18:15
Re: Help crouched animation - by Micko123 - 26.11.2016, 20:58
Re: Help crouched animation - by Dayrion - 26.11.2016, 23:32
Re: Help crouched animation - by pedrotvr - 27.11.2016, 11:29
Re: Help crouched animation - by Dayrion - 27.11.2016, 11:43
Re: Help crouched animation - by pedrotvr - 27.12.2016, 12:10

Forum Jump:


Users browsing this thread: 2 Guest(s)