Help set the distance between text chat users

Hi bro

I do not speak English well. I am making an ESX based roleplay server. I have a problem applying nb-rpchat of samp design. All chats (me, do, local, any) are visible to all users regardless of distance. Do I need to modify the cfx-default chat? Or do I need to modify esx-rpchat? Please help me