[Release] OOC Chat - for Roleplay Servers

For me aswell, have you sorted it out?

in the line that has

, -1, "OCC | " … name etc where it has (msg,5) … chamge the number and keep testng until it shows all of the chat your trying to say.

Exelente Muchas Gracias PandaMan

When ever i put ooc or any command this happens

Server

RegisterCommand("ooc", function(source, args, raw)
    local name  = GetPlayerName(source)
	local msg = table.concat(args, " ")
	TriggerClientEvent("chatMessage", -1, "OOC | " .. name, { 128, 128, 128 }, msg
end, false)

Works great, thank you !

Sorry if this is a dumb question, but where is the citmp-server.yml located? ur not talking about the Server config file right?

Yes , server.cfg !

Weird, i get “No such command” even tho i added the folder into resources and added “start ooc” in my server.cfg :frowning:

someone can told me how can i make this automatic? Like i write the text, send and appear automaticly " OOC | ONEVES message

Where is this located in the server files?

Hey there, I haven’t used Fivem since at least February 2018 so I honestly have no idea what’s changed since I created and released this - sorry.

If anybody can fix it and make it compatible then all is still available on Github. :slight_smile:

is there a way to not use a cmd and just type and the ooc will come up?

Is there a way to make it so that if you have a usergroup other than “user” It shows that? I’d like it to show that it’s an owner when an owner is using /ooc

I get a message saying OOC is not a valid command and after that it displays OOC

Anyone has a OOC command with cashback? When you used ooc you need cash.

Umm… the message comes up twice. Can you fix @PandaMan

How do i change color?

how to add payment in /ooc chat? to avoid abusing it… thanks in advance

This Script is too old. i will try to make a remake for it soon. DONT USE IT ( IT STILL WORKS BUT DONT USE IT ) its Deprecated