GivePlayerWeaponComponent

From RAGE Multiplayer Wiki

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);