Skip to content

Troubleshooting

Common Cuxial Pause Menu problems, with their cause and fix.

The most frequent problems after installing Cuxial Pause Menu, with the cause and the fix for each one.

The resource does not start

Cause. A dependency is missing or starts later than the menu. Cuxial Pause Menu needs OneSync, ox_lib and cuxial_bridge.

Fix. Enable OneSync and start the dependencies first:

server.cfg
cfg
ensure ox_lib
ensure cuxial_bridge
ensure cuxial_pausemenu
Two menus appear, or the screen flickers when pressing Esc

Cause. Another pause menu resource is still running. Both react to Esc, and Cuxial Pause Menu closes the GTA pause screen each time the other one opens it.

Fix. Remove the other pause menu from server.cfg and restart the server.

Pressing Esc does nothing

Cause. One of these:

  • Another interface has the cursor (inventory, phone, another menu). The pause menu waits until it is closed.
  • The player changed the key binding in the GTA settings.
  • The interface is not loading. The folder web/dist is missing or incomplete, usually after a partial upload.

Fix. Close the other interface, or check the binding "Open the pause menu" in the GTA key settings. If the menu never shows for anyone, make sure web/dist/index.html and the folder web/dist/assets exist inside the resource; if they do not, copy the resource again from the original package and restart the server.

I changed keys.menu or keys.map but the old key still works

Cause. Both are only defaults. Once a player has joined, FiveM remembers their key binding.

Fix. Each player changes it in the GTA settings, under key bindings for FiveM. New players get the new default.

Police and medics on duty always show 0

Cause. The values in duty do not match your jobs. On QBox and QBCore they are compared with the job type and the job name. On ESX only with the job name, so the default 'leo' and 'ems' match nothing.

Fix. Set your own values in shared/config.lua:

shared/config.lua
lua
duty = { police = 'police', medical = 'ambulance' },

Only players on duty are counted.

The extra currency shows 0, or I do not use one

Cause. coins.enabled is true and the account in coins.account does not exist in your framework.

Fix. Write the name of your account in coins.account, or set coins.enabled = false to hide it.

Cash and bank show 0, or the name is the FiveM name instead of the character

Cause. The menu could not read the character. cuxial_bridge is not connected to the framework, or it started before it.

Fix. Start your framework before cuxial_bridge, and cuxial_bridge before cuxial_pausemenu.

The number of slots is wrong

Cause. With server.maxPlayers = 0 the menu shows the value of sv_maxclients.

Fix. Write the number you want to show in server.maxPlayers.

No icons appear above players with the menu open

Cause. One of these:

  • aura.enabled is false.
  • The player is further than aura.distance, or behind a wall with aura.requireLos = true.
  • The player is dead or downed with aura.clearOnDeath = true.
  • You are looking for your own icons in first person, or aura.showSelf is false.
  • The player opened and closed the menu more than aura.rate.limit times in a few seconds. The icons come back on their own.

Fix. Review the aura block in shared/config.lua.

The menu closes by itself

Cause. Another resource took the cursor away while the menu was open. After aura.healMs without focus, the menu closes.

Fix. Raise aura.healMs if a resource of yours takes the focus for a moment on purpose.

The GTA pause screen never opens, even from another resource

Cause. It is intended. Every native.watchdogMs the menu checks for a GTA pause screen it did not open, closes it and opens itself.

Fix. Set native.watchdogMs = 0 to stop that check. Esc still opens Cuxial Pause Menu.

A shortcut has no picture

Cause. The file named in image is not inside web/dist/img/tiles/.

Fix. Copy the picture into that folder and write its exact file name in the tiles entry.

Texts appear in the wrong language

Cause. The menu follows the ox:locale convar. The rules, the social networks and the server name are not translated: they are shown as written in shared/config.lua.

Fix. Set the convar in server.cfg and restart. en and es are included:

server.cfg
cfg
setr ox:locale "en"

© Cuxial