• Sending a network message to all players
    2 replies, posted
Hi I am currently developing an addon for TTT. Once in a while i have to send a message from the server to all clients. I am not sure how to achieve this. I have been looking at this tutorial: [URL="http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index0a43.html"]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index0a43.html[/URL] The problem is that i don't understand why the networking methods have to be called on an entity. I don't have an entity to use. I just have to send a message from my sever to all the clients. How do i achieve this?
I'm assuming you're using the Net Library for this, so you can try [URL="http://wiki.garrysmod.com/page/net/Broadcast"]this.[/URL]
Thank you. I was looking at Network Variables. But it sound like i should use Net Library instead. I will try this out.
Sorry, you need to Log In to post a reply to this thread.