RemovePlayerWeaponComponent
From GTA Network Wiki
RemovePlayerWeaponComponentServer-Side Function
![]() |
![]() |
---|
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. |