Garry's Mod Wiki

Player:StripWeapon

Player:StripWeapon( string weapon )

Description

Removes the specified weapon class from a certain player

Arguments

1 string weapon
The weapon class to remove

Example

Removes the crowbar from the player with the ID 1

player.GetByID( 1 ):StripWeapon("weapon_crowbar")
Output: Crowbar removed from player 1

Page Links


Special Pages


Wikis

?

Render Time: 23ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 10
Render Body 0
Render Sidebar 6