Real weapon reload animation
#1

I trying to make a new reload system (anti ammo hack), but i got some problems with animations...
Looking on this website i got reload animations but its not the real what i want
https://sampwiki.blast.hk/wiki/Animations

I need this reload weapon animations:
Код:
24 (eagle)
27 (spaz)
29 (mp5)
30 (ak)
31 (m4)
Anyone could help me please?
Reply
#2

Its easier if you check OnPlayerWeapon shot & use GetPlayerAmmo
Reply
#3

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Its easier if you check OnPlayerWeapon shot & use GetPlayerAmmo
He don't ask to help to make the script..
He just ask for animations...

About topic:
I search and don't find too...
Reply
#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
#5

Anyone know why it get up when use crouch animation?
Reply
#6

bump!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)