Hello,
I have this chat event :
AddEventHandler(“chatMessage”, function(p, color, msg)
if msg:sub(1, 1) == “/” then
fullcmd = stringSplit(msg, " ")
cmd = fullcmd[1]
if cmd == "/top" then TriggerClientEvent("topCommand", p) end end
end)
So when I type “/top” in chat, event work but I have a chat message : “SYSTEM : Insufficienct permissions”.
Are you an ideas for delete this system message ?
Regards,