Garry's Mod Wiki


  Player:SuppressHint( string name )


Prevents a hint from showing up.

This function is only available in Sandbox and its derivatives


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


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 ...