native
rg_weapon_send_animation
Syntax
native rg_weapon_send_animation(const entity, iAnim, skiplocal = 0);
Description
Sends a weapon animation using the CBasePlayerWeapon::SendWeaponAnim function.
Parameters
| entity | Weapon to send animation on owner (> MaxClients) OR player index to send animation (>= 1 & <= MaxClients). |
|---|---|
| iAnim | Weapon view model animation to play (use HLMV to see anim index) |
| skiplocal | If 0, weapon animation will be forced to play on client ignoring active client prediction. |
Return
This function has no return value.