citizenfx / fivem

The source code for the Cfx.re modification frameworks, such as FiveM, RedM and LibertyM, as well as FXServer.
https://cfx.re/
3.41k stars 2.01k forks source link

Game getting stuck in RedM when you press a prompt in map menu #2561

Open freedy69 opened 1 month ago

freedy69 commented 1 month ago

What happened?

Whenever you click on your blip in RedM on the map and press X (Player Card button), the game becomes completely stuck, afaik no natives can fix this

Expected result

Ideally the button being pressed would do nothing

Reproduction steps

  1. Press M
  2. Click on your blip
  3. "[X] Player Card" ui prompt should appear
  4. Press it
  5. Game becomes stuck, you wont be able to do much other than close the game

Importancy

Unknown

Area(s)

RedM

Specific version(s)

1491

Additional information

No way to fix it as far as i checked. Tried CloseAllUiappsImmediate() in hopes that map closing would stop the "softlock" but it doesn't. The cursor stays on the screen and you can move it but other controls are unusable and you are forced to leave the game. Disconnecting and reconnecting also does nothing, you are still stuck, you'd have to quit the game. As for the importancy, i put unknown because it's not a Crash but there also is no workaround.

outsider31000 commented 1 month ago

image yes if you press space the X prompt will show up anyone pressing it will freeze and need to relog

outsider31000 commented 1 month ago

I have been trying to find if there's a way to disable it like the f6 prompt like photomode

DatabindingAddDataBoolFromPath('', 'bPauseMenuPhotoModeVisible', false)
DatabindingAddDataBoolFromPath('', 'bEnablePauseMenuPhotoMode', false)

but without success