Proximity chat Issue. /me and /do global

Hi, I tried editing this code of esx_rpchat the /me and /do with only ID’s works, but it’s global.
I tried so hard to do it by proximity but I can’t.

CLIENT:
Client.lua (1.9 KB)

SERVER:
server.lua (1.8 KB)

It’s messy, I’m new to programming in LUA so yeah… Is someone can point me in the correct direction I would really appreciate it.

(Twitter works fine)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.