SetPlayerWeaponAnimationOverride

From GT-MP
Jump to: navigation, search
SetPlayerWeaponAnimationOverride
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Overrides the weapon animation style for a specific player.

Syntax

API.setPlayerWeaponAnimationOverride(LocalHandle player, string animStyle);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • animStyle: parameter input should be in string type. See Weapon Animation Styles for a list of available styles.

Usage example(s)

API.setPlayerWeaponAnimationOverride(LocalHandle player, string animStyle);

References