Player.StripAmmo
From GMod Wiki
Revision as of 19:37, 17 September 2009 by Crazy Quebecer (Talk | contribs)
| Function | |
| Syntax | Player:StripAmmo( ) |
| Description: | |
| Removes all of the player's ammo. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.StripAmmo]Player.StripAmmo [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | This code will strip all of the designated player's ammo for all of their guns. |
|---|---|
| Used on | |
| Code | player.GetByID( 1 ):StripAmmo() |
| Output | N/A |