Text chat Radius

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.


hook.Add(“PlayerCanSeePlayersChat”, “abc”, function(text, teamonly, receiver, sender)
local distance = 1000
return receiver:GetPos():Distance(sender:GetPos()) < distance

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.