Real weapon reload animation
#4

Using
Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerAnimationIndex(playerid))
    {
        new animlib[32];
        new animname[32];
        new msg[128];
        GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32);
        format(msg, 128, "Running anim: %s %s", animlib, animname);
        SendClientMessage(playerid, 0xFFFFFFFF, msg);
    }
    return 1;
}
I get the animations, but i have only one problem to fix:

I get the couched animation and wake up animation, but if player is couched when he reload he get up...
Why?

One example:
Код:
			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); }
Reply


Messages In This Thread
Real weapon reload animation - by pedrotvr - 26.10.2016, 15:44
Re: Real weapon reload animation - by Kaliber - 26.10.2016, 16:21
Re: Real weapon reload animation - by maikons - 26.10.2016, 22:31
Re: Real weapon reload animation - by pedrotvr - 29.10.2016, 02:46
Re: Real weapon reload animation - by pedrotvr - 30.10.2016, 20:18
Re: Real weapon reload animation - by pedrotvr - 01.11.2016, 18:54

Forum Jump:


Users browsing this thread: 1 Guest(s)