GivePlayerWeaponComponent

From RAGE Multiplayer Wiki
Revision as of 13:31, 27 November 2019 by Muphy (talk | contribs) (Created page with "==Syntax== <syntaxhighlight lang="C#" >void NAPI.Player.SetPlayerWeaponComponent(Client player, WeaponHash weapon, WeaponComponent component);</syntaxhighlight> '''Required A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax

void NAPI.Player.SetPlayerWeaponComponent(Client player, WeaponHash weapon, WeaponComponent component);

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

NAPI.Player.SetPlayerWeaponComponent(player, weapon, component);