Changing the FiveM pause menu title and colours

7 min read4 sections · 4 questions answered
Short answer

Call AddTextEntry('FE_THDR_GTAO', 'Your Server') on the client to replace the pause menu header text; GTA colour codes like ~p~ and ~s~ work inside it. ReplaceHudColourWithRgba(116, r, g, b, 255) recolours HUD_COLOUR_FREEMODE, the accent the pause menu uses. Put both in a small client script and pair them with a matching Discord rich presence.

When players press Escape they see the pause menu header — by default a GTA title. Replacing it with your server name and matching the accent colour to your brand takes a few lines of client code and is one of the cheapest in-game branding wins.

Replacing the title

client.lua
CreateThread(function()
    AddTextEntry('FE_THDR_GTAO', '~p~Night City RP~s~ | discord.gg/example')
end)

AddTextEntry(entryKey, entryText) is a Cfx native that adds or overrides a text label for this client. The pause menu header reads its text from the FE_THDR_GTAO label, so overriding it changes the title. Colour codes are the same as in server names: ~r~, ~b~, ~g~, ~y~, ~p~, ~o~, ~w~ and ~s~ to reset.

Recolouring the accent

lua
CreateThread(function()
    ReplaceHudColourWithRgba(116, 124, 92, 255, 255)
end)
IndexNameDefault
116HUD_COLOUR_FREEMODEBlue accent used by the pause menu
117HUD_COLOUR_PAUSE_BGSemi-transparent black background
From the official HUD colours reference on docs.fivem.net.

Other interface elements also use HUD_COLOUR_FREEMODE, so preview the result across menus before shipping it.

A tiny branding resource

fxmanifest.lua
fx_version 'cerulean'
game 'gta5'

client_script 'client.lua'
  1. 1Create a resource folder, for example server-branding, with fxmanifest.lua and client.lua.
  2. 2Put the title and colour code above in client.lua.
  3. 3Add ensure server-branding to server.cfg.
  4. 4Restart and press Escape in game to check.

Match your Discord presence

Use the same name and logo in Discord rich presence (SetDiscordAppId, SetDiscordRichPresenceAsset, SetDiscordRichPresenceAction) so players’ profiles advertise the server consistently — see Discord rich presence.

Common questions

How do I change the FiveM pause menu title?

On the client: AddTextEntry('FE_THDR_GTAO', 'Your Server') in a client script.

Can I use colours in the pause menu title?

Yes, with GTA colour codes such as ~p~ and ~s~.

How do I change the pause menu colour?

ReplaceHudColourWithRgba(116, r, g, b, 255) recolours HUD_COLOUR_FREEMODE, the pause menu accent.

Does this need a server-side script?

No, both natives run on the client.

Free handbook · 18 chapters · 60 min
The FiveM Server Launch Handbook

Server list, banners, connecting and queues, loading screens in HTML or React, music and video, NUI, branding, Discord, marketing, Tebex rules and a launch plan — everything in one page.

Read the handbook

Want a loading screen you never have to debug?

Build it in the browser, export once, and edit it whenever — no HTML, no re-uploads.

Start free

More guides