Fullscreen map

ActivateFrontendMenu(
  GetHashKey('FE_MENU_VERSION_MP_PAUSE'),
  0,
  -1
)

I’m trying to call the fullscreen map instead of the map preview in the pause menu using lua.
I’ve gotten the regular pause menu map preview to work using the above code.

Does anyone know the hash or component id to get to the full screen map?

5 Likes

did you manage to put it fullscreen? if so can you explain me how to do it?

This post is from 2020.

ik, but I would like to know the answer

I am inquiring too!

News ?

no… :C

I guess you have to do it in Scalform

bruh i only know 1 person that did it and its a locked script. so i am wondering how.

up for this <3 im also wondering how as im new to this i only got native references to rely on lol. i wanna create my own integrated pause menu :slight_smile:

Hi! You have to make sure pause menu is active (ActivateFrontendMenu native and check while loaded) and then you can call PauseMenuceptionGoDeeper(0) to instantly open fullscreen map.

Does anyone have a solution ?

this code working 100% check once

local function map_loop()
    Citizen.CreateThread(function()
        ActivateFrontendMenu(GetHashKey('FE_MENU_VERSION_MP_PAUSE'), 0, -1)
	    Wait(100)
	    PauseMenuceptionGoDeeper(0)
        while true do
            Citizen.Wait(10)
            if IsControlJustPressed(0, 200) then
                SetFrontendActive(0)
                break
            end
        end
    end)
end
1 Like