cd_spawnselect.zipfolder and place this folder in your server's resource folder.
ensure cd_spawnselect(it must be placed anywhere below your framework resource eg., es_extended, not above). The name of the folder must not be changed or the script will not function correctly.
qb-spawn:client:openUIhas not been changed, or if it has been changed you need to change this event name in the
cd_spawnselect/client_customise_me.luato what your modified QBCore has named it because when this event is triggered it will open the spawn select UI.
qb-apartmentsshould look like this.
GetLastPositionfunction in the
attempt to index a nil value (local 'xPlayer'), this means you are triggering the event in Step 1 before ESX has fully registered and loaded your player data. Some servers take longer than others due to lower VPS specs, bad optimization, etc... so it takes the SQL queries longer to complete.
“BLOB/TEXT column 'personal_spawn' can't have a default value”.
ER_BAD_FIELD_ERROR: Unknown colum 'personal_spawn' in 'where clause'.
positionin the users database table for this player's character was 0,0,0. The next time a player exits the game this should update the coordinates in the database.
GetJobfunction in the client customize me.
HasFullySpawnedInfunction in the client customize me from something you have changed.
cd_spawnselectfolder, download and add in the latest version, reconfigure the configs folder and restart your server.