Перейти к содержанию

GivePlayerWeaponComponent

Материал из RAGE MP Wiki Archive

Syntax

<syntaxhighlight lang="C#" >void NAPI.Player.SetPlayerWeaponComponent(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.

Usage example(s)

Example Description <syntaxhighlight lang="C#" >NAPI.Player.SetPlayerWeaponComponent(player, weapon, component);</syntaxhighlight>