[Help] - UI showing when ESC menu opened

How do i remove this? This HUD is showed while pressed “ESC” and even when you’re on the map.

prob

1 Like

Search the native list for pausemenu. It’s call something like IsPauseMenuActive(). I’m on phone so don’t have the resources as handy as you would. Just use that and check if the pause menu is active

Where do i search for that?

I’ve searched every file in there, nothing like IsPauseMenuActive i didn’t find.

https://runtime.fivem.net/doc/natives/#_0xB0034A223497FFCB

1 Like

Thx for linking babe.

So what do I do with that?

You would need to add it in the client script of the resource, so for example

if IsPauseMenuActive() then
    -- Hide the UI here
end
1 Like

it is not working. can you maybie show do i do that?

i want this HUD. pls send git or forum to me thx

Here you go https://github.com/wowpanda/esx_customui

1 Like

thank you sir :laughing:

1 Like

how you fix food and water showing

if IsPauseMenuActive() then exports["ak4y-hud"]:toggleHud(false) -- Hide the UI here end

For example Like this?