So i’ve done just about everything i can to fix this issue with the latest es_extended i can connect the first time but the next time i try connecting i get the following error
SCRIPT ERROR: @es_extended/client/main.lua:64: attempt to index a nil value (field ‘coords’)
this is the code at line 64
ESX.Game.Teleport(PlayerPedId(), {
x = playerData.coords.x,
y = playerData.coords.y,
z = playerData.coords.z + 0.25,
heading = playerData.coords.heading
},
Got it fixed finally! Credits go to Smallo
{“heading”:0.0,“z”:71.1,“y”:19.3,“x”:-1.5}
put this in the position under users. and change varchar from 53 to 255