Gta Escape Menu (Color Customization)

Fivem Gta Escape Menu (Colour Customization)

You can customize the colour of deafault Gta 5 Escape Menu (like in the examples images)

Examples:

2:

Config:

Config.GTAMenu = {
    top = {
        texture = {
            UseTexture = false, -- Set to true to use texture, false to use text
            TextureDict = "name_of_the_texture_inside_the_ytd", -- if UseTexture is set to true, this is the name of the texture inside the ytd
            TextureFile = "name_of_the_ytd",
            Width = 150,
            Height = 50
        },
        text = "Server Name", -- if UseTexture is set to false, this is the text that will be displayed in the top of the menu
    },
    menu = {
        ChangeColor = true, -- Set to true to change the color of the menu
        colors = {
            TextUnselected = { r = 255, g = 165, b = 0, a = 200 }, -- unselected text and Selected Menu (Blip list, menu ecc)
            TextSelected = { r = 255, g = 255, b = 255, a = 200 }, -- selected text (Blip list, menu ecc)
            MenuUnselected = { r = 75, g = 0, b = 130, a = 150 }, -- unselected menu (Blip list, menu ecc)
            MapBackground = { r = 255, g = 173, b = 0, a = 255 }, -- map background (255 - Transparent)
            OtherLines = { r = 255, g = 173, b = 0, a = 200 } -- Color for other lines and menu selection bar
        }
    }
}

:shopping_cart: Tebex

Discord support: Discord

Code is accessible No
Subscription-based No
Lines (approximately) 200+
Requirements No
Support Yes
9 Likes
CreateThread(function()
    Wait(1000)
    ReplaceHudColourWithRgba(117, 0, 51, 102 ,200) -- Pause menu
    ReplaceHudColourWithRgba(116,  0, 51, 204 , 255) -- Pause menu
    ReplaceHudColourWithRgba(142, 0, 51, 204 , 255) -- Waypoint
end)

with native also possible

1 Like

Naturally, however, at least 3/4 other values ​​are missing (personally researched) and I also inform you that you also got some values ​​wrong, plus there is also the possibility of putting an image in place of the “server name” or even a text.
In fact, the resource is donated free of charge but deposited in escrow to avoid “theft” given that the ones you wrote represent 10% of the code :grinning: . Anyway, thank you for the comment

locking 20 line of native code not a steal able AddTextEntry('FE_THDR_GTAO', textureDict) good job

2 Likes

of course, I agree with you here too and thank you for your opinion.
The resource is free (so you can take it as not) and most of code is about replace to put an image on the top left. Having said that, have a nice day

Exactly what ive been looking for. Works great. Thank you.

1 Like

Escrowing 5 lines in natives is wild…

4 Likes

thats what im saying