Error with chat

When I put in the chat “/car” for example, it happens to me with everything, it gives me an error.

You have a script in to do those commands… Right? You’re aware that the chat itself does not allow commands, and that you need to add a resource(s) to your server to be able to do chat commands. (Unless something has changed and I’m unaware of it)

RegisterCommand("hi", function(source, args, rawCommand)
 print("hello :3")
end, false)

see https://wiki.fivem.net/wiki/RegisterCommand

:open_mouth: I was wrong! Welp, sorry! I can be of no help with this one. lol

1 Like

Still he would need a resource in that would allow the /car commands etc…