UZ Scripts
Spawn Selector

QBX Configuration

Required routing changes for Qbox framework.

Back up your framework files before editing. These changes may be overwritten when you update your framework.

Target File

character.lua

Required Changes

Resource Missing Detection

Line ~345 — Update the resource state check:

if GetResourceState('qbx_spawn') == 'missing' then
if GetResourceState('uz_SpawnSelector-2') == 'missing' then

Resource Started Detection

Line ~442 — Update the active resource check:

elseif GetResourceState('qbx_spawn'):find('start') then
elseif GetResourceState('uz_SpawnSelector-2'):find('start') then

Verify

Save the file and restart your server. Join and create a new character to confirm the spawn selector appears.

Use Ctrl + Shift + F in your editor to search for any remaining qbx_spawn references.


If you update qbx_core to a new version, re-check these settings — framework updates may reset them.

On this page