Player.RemoveAllItems

From GMod Wiki

Jump to: navigation, search
Function
Syntax Player:RemoveAllItems( )
Description:
Takes away all of a player's weapons and ammo.
Returns: nil
In Object: Player
Realm: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.RemoveAllItems]Player.RemoveAllItems [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis example takes away all of the player's weapons and ammo.
Used onNewerServer.png
Code
Player:RemoveAllItems();
OutputN/A


Types

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox