• Text chat Radius
    2 replies, posted
What I want is a chat radius, like DarkRP or any other RP mod, but doesn't require a game mode to do it. Note: You don't have to do Microphone Chat radius if you don't want to, I won't use mic radius much at all. All I want is text radius. Thanks!
[lua] hook.Add("PlayerCanSeePlayersChat", "abc", function(text, teamonly, receiver, sender) local distance = 1000 return receiver:GetPos():Distance(sender:GetPos()) < distance end) [/lua] Untested but should work. Goes in server autorun.
Thanks, will try it first thing tommorow. Also, it would be great if there was a text command such as "/r" to broadcast a message or something. But it's fine as it is.
Sorry, you need to Log In to post a reply to this thread.