GetPlayerWeaponComponents
Внешний вид
Get all components from a weapon.
Syntax
<syntaxhighlight lang="C#" >WeaponComponent[] NAPI.Player.GetPlayerWeaponComponents(Client player, WeaponHash weapon);</syntaxhighlight>
Required Arguments
- player: parameter input should be in Client type.
- weapon: parameter input should be in WeaponHash type.
NOTE: This function returns data in WeaponComponent[] type.
Usage example(s)
Example Description <syntaxhighlight lang="C#" >NAPI.Player.GetPlayerWeaponComponents(player, weapon);</syntaxhighlight>