wow, I've tried many ways over and over, however, I got failed, and here's my plugin's code:
Code:
stock UTIL_PlayWeaponAnimation(const Player, const Sequence)
{
set_pev(Player, pev_weaponanim, Sequence)
message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, .player = Player)
write_byte(Sequence)
write_byte(pev(Player, pev_body))
message_end()
}
UTIL_PlayWeaponAnimation(player,ref_charge_kamehameha)
Last edited: