How to change text above fivem map?

Im trying to figure it out, ive seen it before but cant figure it out. How do I change the text listed in the pic below?

1 Like

Just use this, hope its useful

AddTextEntry('FE_THDR_GTAO', 'YOUR SERVER NAME HERE')

For finding another key entry, just look at this:

1 Like

So, how exatcly would I put this in my server?

1 Like

You can put it on client side (without looping), the full code like this

Citizen.CreateThread(function()
    AddTextEntry('FE_THDR_GTAO', 'YOUR SERVER NAME HERE')
end)

So I can just create a client.lua for this and have it by itself?

1 Like

Yes, you can put that on client.lua (you can make 1 resource for this, or add this to resources you already have)

I tried both ways and I cannot get it to work

cause Ive seen it where people had colored text there so I tried that.

resource →
|— client.lua
|— fxmanifest.lua

client.lua:

Citizen.CreateThread(function()
    AddTextEntry('FE_THDR_GTAO', 'THE TEXT')
end)

fxmanifest.lua:

game "gta5"
fx_version "cerulean"
client_script "client.lua"