Implemented xPlayer.setLastPosition and fixed saving coords

This commit is contained in:
ElPumpo
2019-02-28 12:59:44 +01:00
parent 9a39f83aee
commit e976de722b
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ end
ESX.SavePlayer = function(xPlayer, cb)
local asyncTasks = {}
xPlayer.lastPosition = xPlayer.get('coords')
xPlayer.setLastPosition(xPlayer.getCoords())
-- User accounts
for i=1, #xPlayer.accounts, 1 do