fivem icon indicating copy to clipboard operation
fivem copied to clipboard

Pause Menu script-only pages issue

Open freedy69 opened this issue 2 years ago • 0 comments

There are a few pages defined in PauseMenu.xml, which in vanilla GTA launch scripts when they are opened and backed out of. An example of this would be the Unlocks Page, defined in PauseMenu.xml to launch the mp_unlocks script. From what I've seen in the Decompiled scripts, the game code launches these scripts with params that signify if the page was opened, or backed out of. However, this cannot be used in FiveM sadly. Could there be a way to add an Event for when these script-only pages are opened/closed? I've also looked into the gameEventTriggered, specifically script events, however, none of them work sadly.

freedy69 avatar Jun 05 '22 15:06 freedy69