Player.SetSuppressPickupNotices

From GMod Wiki

Jump to: navigation, search
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: NewerServer.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Player.SetSuppressPickupNotices]Player.SetSuppressPickupNotices [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]




Example

DescriptionDisable notices for the first player.
Used onNewerServer.png
Code
local ply = player.GetByID( 1 )
ply:SetSuppressPickupNotices( true )
 
OutputN/A


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox