NX Spawn Selector

Troubleshooting

Common problems and how to fix them.

The selector never opens

  • Check the hook is in esx_multicharacter/client/modules/multicharacter.lua, directly above self:DestoryCamera(). See Installation.
  • If you recently updated esx_multicharacter, the update removed the hook. Paste it back in.
  • Make sure nx-spawnselector is started. The hook skips it if the resource isn't running.
  • New characters only see it when Config.NewCharacters = true.
  • Check the server console for escrow errors when the resource starts.

"The UI has not loaded"

F8 console
[nx-spawnselector] The UI has not loaded. Run "refresh" then "ensure nx-spawnselector", or restart the server.

The selector's files didn't load, usually after uploading the resource while the server was running. Run refresh then ensure nx-spawnselector, or restart. Until then, players spawn normally, so nobody gets stuck.

Last Location doesn't show

  • Check Config.LastLocation.enabled = true.
  • It's never shown to brand-new characters, because they have no last location yet.
  • The character needs saved coords in the database. Characters that have never logged out properly may not have them.

A job-locked spawn isn't showing

  • Use the job name from your jobs table (e.g. police), not the label.
  • The job is checked when the character logs in. If you changed it in game, relog to see the new spawns.

The character is hidden behind the panel or badly framed

Adjust the camera in Config.Preview. Lower lookHeight to move the character up on screen, or raise distance to show more of them. See Preview camera.

The camera is filming a wall

The camera sits in front of the character, based on the heading (the 4th number in coords). Change the heading so the character faces open space, or stand somewhere else when copying the coords.

The character floats or is half in the ground

Use the coords of a spot standing on the ground. Interiors or MLOs that load slowly can need a moment. The script waits for the area to load, but very heavy MLOs may still pop in late.

The scene animation doesn't play

Check the scenario name, or the animation dict and clip, are spelled correctly. If an animation can't load within 2 seconds, the character just stands.

Still need help?

Open a ticket on our Discord with your F8 console output, your esx_multicharacter version and your config.lua.