RemovePlayerWeaponComponent

From GTA Network Wiki
Jump to: navigation, search

RemovePlayerWeaponComponent
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

This function will remove a player weapon component.

Syntax

void NAPI.Player.RemovePlayerWeaponComponent(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.RemovePlayerWeaponComponent(player, weapon, component);

Changelog

Version Description
1.0 Release.

References