cd_spawnselect.zip
folder 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.READ_ME_AFTER_PURCHASING
folder, the file is named SQL_main.sql
. Watch this video if you are unsure how to do this HeidiSQL / PHPMyAdmin.config.lua
and configure them to suit your server's needs. Please read the ”commented out help text” at the end of each line so you can understand what each option does so you know if you need to change it or not.config.lua
correctly.qb-spawn:client:openUI
has not been changed, or if it has been changed you need to change this event name in the cd_spawnselect/client_customise_me.lua
to what your modified QBCore has named it because when this event is triggered it will open the spawn select UI.client.lua
of qb-apartments
should look like this.config.lua
correctly.config.lua
correctly.config.lua
correctly.config.lua
correctly.GetLastPosition
function in the server_customise_me.lua
.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'
.es_extended
or essentialmode
or spawnmanager
. Search for DoScreenFadeIn
in the client-side of either of these resources and remove it then restart your server. (It could be in other resources too but these are the common ones).position
in 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.GetJob
function in the client customize me.HasFullySpawnedIn
function in the client customize me from something you have changed.You lack the required entitlement?
and check for 2 client-sided prints saying Loaded Successfully!
.cd_spawnselect
folder, download and add in the latest version, reconfigure the configs folder and restart your server.