hey developers, im making a homigrad game (gmod) and i cant figure out how to hide messages from knocked out or dead players. is it possible to make it work on client also?
On the server, set ShouldDeliverCallback for the text channel to a callback that returns false if the source is dead and recipient is alive.
1 Like
but is it possible to make it able to see everyones messages if you are dead too? like dead people can communicate wich each other
That’s what the
condition is for. If the recipient is dead, no messages will be hidden from them.
Make sure the callback returns true if that check fails.
oh nice, ill try to make it then. ill callback later