Garry's Mod Wiki

Player:SendHint

  Player:SendHint( string name, number delay )

Description

Sends a hint to a player.

This function is only available in Sandbox and its derivatives. Since this adds #Hint_ to the beginning of each message, you should only use it with default hint messages, or those cached with language.Add. For hints with custom text, look at notification.AddLegacy.

Arguments

1 string name
Name/class/index of the hint. You can find a list of hint names for this function here.
2 number delay
Delay in seconds before showing the hint