Garry's Mod Wiki

Revision Difference

Player:SendHint#517992

<function name="SendHint" parent="Player" type="classfunc"> <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 <page>language.Add</page>. For hints with custom text, look at <page>notification.AddLegacy</page></note> </description> <realm>Server</realm> <args> <arg name="name" type="string">Name/class/index of the hint. The text of the hint will contain this value. ( &quot;#Hint_&quot; .. name ) An example is `PhysgunFreeze`.</arg> <arg name="name" type="string">Name/class/index of the hint. The text of the hint will contain this value. ( "#Hint_" .. name ) An example is `PhysgunFreeze`.</arg> <arg name="delay" type="number">Delay in seconds before showing the hint</arg> </args> </function>