22.03.2018, 06:20
i want to know which animations are used for reload weapon
You might want to search in here: https://sampwiki.blast.hk/wiki/Animations
Or use this filterscript to find it yourself: https://sampforum.blast.hk/showthread.php?tid=587916 |
python_reload python_crouchreload -- # COLT45 colt45_crouchreload colt45_reload -- sawnoff_reload -- # For the Silenced Pistol. Silence_reload CrouchReload -- # TEC9 TEC_crouchreload TEC_reload -- # UZI UZI_crouchreload UZI_reload -- # RIFLES RIFLE_crouchload RIFLE_load -- # Untested buddy_crouchreload buddy_reload
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, "Current animation - Library: %s | Name: %s", animlib, animname);
SendClientMessage(playerid, 0xFFFFFFFF, msg);
}
return 1;
}