RemovePlayerWeapon

From GTA Network Wiki
Jump to: navigation, search

RemovePlayerWeapon
Server-Side Function

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

This function will remove the player weapon that you define.

Syntax

void NAPI.Player.RemovePlayerWeapon(Client player, WeaponHash weapon);

Required Arguments

  • player: parameter input should be in Client type.
  • weapon: parameter input should be in WeaponHash type.

Usage example(s)

Example Description

NAPI.Player.RemovePlayerWeapon(player, weapon);

Changelog

Version Description
1.0 Release.

References