• DarkRP - Chat global messages
    6 replies, posted
I want to make my own "hints" in the chat, like sometimes it says "type /wanted to make someone wanted" in the chat and I want to know how to make my own notifications/hints. I would be grateful if someone told me, thanks.
Make a timer which does chat.AddText from a table of random hints. [url]www.wiki.garrysmod.com[/url]
Where do I put the chat.AddText though?
Do a little research next time. [url]http://wiki.garrysmod.com/page/chat/AddText[/url]
You are very helpful *sarcasm*
If you can't learn to do things for yourself, then you're just going to sit there and keep asking us "How do I do this? How do I do that? Can you help me breath please, I forgot how to and I don't want to learn." Literally everything you need is on that wiki.
[code] timer.Simple(300, function() for k,v in pairs (player.GetAll()) do chat.AddText( Color( 255,255,255 ), "You're an asshole.") end end) [/code] Untested, but should show you what to do.
Sorry, you need to Log In to post a reply to this thread.