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