How can I use this in my gamemode? (to display notifications):
[IMG]http://i.imgur.com/IjVN9FQ.png[/IMG]
I cannot seem to find any function used to make this hint. DarkRP uses it, but I cannot find it in the DarkRP files...
Any help is appreciated :D
notification.AddLegacy
(Clientside btw)
[QUOTE=Exploderguy;47282897]notification.AddLegacy
(Clientside btw)[/QUOTE]
Your the best!
There's also [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/SendHint]Player:SendHint[/url] which is more 'correct', depending on what you're trying to do. But notification.AddLegacy is definitely going to get the job done!
For the picture above, do
[CODE]
notification.AddLegacy( "Press and hold 'Q' to open the SPAWN MENU", NOTIFY_HINT, 2 )
[/CODE]
Sorry, you need to Log In to post a reply to this thread.