Player.StripWeapons
From GMod Wiki
| Function | |
| Syntax | Player:StripWeapons( ) |
| Description: | |
| Removes all the player's weapons. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.StripWeapons]Player.StripWeapons [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | All players have their weapons removed. |
|---|---|
| Used on | |
| Code | for k, v in pairs( player.GetAll() ) do v:StripWeapons() end |
| Output | N/A |