Player.RemoveAllItems
From GMod Wiki
Function | |
Syntax | Player:RemoveAllItems( ) |
Description: | |
Takes away all of a player's weapons and ammo. | |
Returns: | nil |
In Object: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.RemoveAllItems]Player.RemoveAllItems [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This example takes away all of the player's weapons and ammo. |
---|---|
Used on | |
Code | Player:RemoveAllItems(); |
Output | N/A |
Types
- Functions as a combination of Player.RemoveAllAmmo and Player.StripWeapons by removing both from the player.