Player.SetSuppressPickupNotices
From GMod Wiki
Revision as of 21:34, 18 September 2009 by Unrealomega (Talk | contribs)
| Function | |
| Syntax | Player:SetSuppressPickupNotices( Boolean On ) |
| Description: | |
| Sets whether or not a will get a notice when picking up ammo and weapons. | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SetSuppressPickupNotices]Player.SetSuppressPickupNotices [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Disable notices for the first player. |
|---|---|
| Used on | |
| Code | local ply = player.GetByID( 1 ) ply:SetSuppressPickupNotices( true ) |
| Output | N/A |
Additional Notes
- Setting this to true won't disable pickup notices for entities like the heath kit and health vial.