Garry's Mod Wiki

Garry's Mod Wiki

  Player:SuppressHint( string name )

Description

Prevents a hint from showing up.

This function is only available in Sandbox and its derivatives

Arguments

1 string name
Hint name/class/index to prevent from showing up. You can find a list of hint names for this function here.

Example

Removes three default Sandbox hints (taken from the source code of the Sandbox gamemode):

-- Hint type: Show opening menu hint -- ... Suppress this hint => ply:SuppressHint( "OpeningMenu" ) -- Hint type: Tell them how to turn the hints off -- ... Suppress this hint => ply:SuppressHint( "Annoy1" ) ply:SuppressHint( "Annoy2" ) -- Other default Hint types: PhysgunFreeze, PhysgunUse, VehicleView ...

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated twice a day. Edits and history are not available.

Last Parsed: Loading...