Jump to content

Recommended Posts

wbykos wants to talk from the console/host to specific players without anyone else noticing.

Whispers are not private messages, anyone near a player whispering can see the message.

 

TheNet:Say displays on chat, TheNet:Announce displays on top.

 

So a server/client widget is needed, so that the server can send and display strings on the chosen client widget.

 

I don't think there is a SendModRPCToClient, and a net_bool to push an event doesn't make the cut.

 

What we have to do is put a net_string on each player, then the server updates it, the selected client listens the variable get dirty, then displays the message somewhere.

wbykos wants to talk from the console/host to specific players without anyone else noticing.

Whispers are not private messages, anyone near a player whispering can see the message.

 

TheNet:Say displays on chat, TheNet:Announce displays on top.

 

So a server/client widget is needed, so that the server can send and display strings on the chosen client widget.

 

I don't think there is a SendModRPCToClient, and a net_bool to push an event doesn't make the cut.

 

What we have to do is put a net_string on each player, then the server updates it, the selected client listens the variable get dirty, then displays the message somewhere.

 

Hmm... does this mean that if i fake position of the Host and then call TheNet:Say(msg, true) anyone near fake position will receive msg? Possible? :)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...