Player/SendHint

From Garry's Mod
Jump to: navigation, search
 Player:SendHint( )

Description

Sends a hint to a player.

NOTE

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

string name

Name/class/index of the hint. The text of the hint will contain this value. ( "#Hint_" .. name ) An example is PhysgunFreeze.

Arguments

number delay

Delay in seconds before showing the hint
Personal tools
Navigation