• Sending a Message and Sound
    2 replies, posted
I am having some troubles and I need your help. I have a server side script in which I want to send a message and a sound to all players on the server. I thought about using UserMessages but I must have been not using it the right way. I thought about using the functions [B]chat.AddText()[/B] and [B]chat.PlaySound()[/B] since they would be of best fit for what I want to do. But here again I probably didn't do my function the right way. Hope you can help.
I would use SendLua and chat.AddText and surface.PlaySound (or Entity.EmitSound? Your choice)
Yah, thats what I ended up doing after all.
Sorry, you need to Log In to post a reply to this thread.