I started the resource and I have a problem at the time of putting myself to use the commands they come out to all the users I do not know if I understand
So the idea behind that is that u have to check the player’s ID, its not really easy to figure out where to check it.
This is how it should look. I already added it into my github, you can just go ahead and download it again, not sure if that will fix it in the place where I added it. If it doesn’t you can try doing it yourself, but its definitely the way to fix this issue.
local myId = PlayerId()
local pid = GetPlayerFromServerId(id)
if pid ~= -1 then
if pid == myId then
--CODE HERE
end
end
Well, I think its really individual in your case. Maybe check something like esx_rpchat or any other script. Im pretty sure you have to have another RegisterCommand(‘me’) somewhere inside your scripts that you maybe don’t know about.