Player.RemoveAllItems

From GMod Wiki

Revision as of 14:39, 10 June 2011 by (#>) Mwr247 (Mike) (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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