Config for spawn point (firstspawn/bug)

This commit is contained in:
ZF
2022-03-18 19:52:53 -04:00
parent 028af92484
commit 62db2291f8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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