mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Config for spawn point (firstspawn/bug)
This commit is contained in:
@@ -20,3 +20,4 @@ Config.EnablePVP = true -- Allow Player to player combat
|
||||
|
||||
Config.Multichar = false -- Enable support for esx_multicharacter
|
||||
Config.Identity = true -- Select a characters identity data before they have loaded in (this happens by default with multichar)
|
||||
Config.SpawnLocation = {x = -269.4, y = -955.3, z = 31.2, heading = 205.8} -- The location to spawn at when the player first loads in
|
||||
@@ -246,7 +246,7 @@ function loadESXPlayer(identifier, playerId, isNew)
|
||||
userData.coords = json.decode(result.position)
|
||||
else
|
||||
print('[^3WARNING^7] Column ^5"position"^0 in ^5"users"^0 table is missing required default value. Using backup coords, fix your database.')
|
||||
userData.coords = {x = -269.4, y = -955.3, z = 31.2, heading = 205.8}
|
||||
userData.coords = Config.SpawnLocation
|
||||
end
|
||||
|
||||
-- Skin
|
||||
|
||||
Reference in New Issue
Block a user