Garry's Mod Wiki

Player:SendHint

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. The text of the hint will contain this value. ( "#Hint_" .. name ) An example is PhysgunFreeze.
2 number delay
Delay in seconds before showing the hint

Special Pages


Wikis

?

Render Time: 21ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 6
Render Body 0
Render Sidebar 6