RemoveAllPlayerWeapons

From GTA Network Wiki
Jump to: navigation, search

RemoveAllPlayerWeapons
Server-Side Function

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

This function removes all player weapons.

Syntax

void NAPI.Player.RemoveAllPlayerWeapons(Client player);

Required Arguments

  • player: parameter input should be in Client type.

Usage example(s)

Example Description

var players = NAPI.Pools.GetAllPlayers();
foreach (var c in players)
    {
    NAPI.Player.RemoveAllPlayerWeapons(c);
    }

Changelog

Version Description
1.0 Release.

References