Proper raycast arguments, trim last position

This commit is contained in:
ElPumpo
2018-12-23 15:05:00 +01:00
parent 2fd7d326be
commit b63c147fc0
5 changed files with 33 additions and 24 deletions
+2 -2
View File
@@ -90,8 +90,8 @@ ESX.SavePlayer = function(xPlayer, cb)
{
['@job'] = xPlayer.job.name,
['@job_grade'] = xPlayer.job.grade,
['@loadout'] = json.encode(xPlayer.loadout),
['@position'] = json.encode(xPlayer.lastPosition),
['@loadout'] = json.encode(xPlayer.getLoadout()),
['@position'] = json.encode(xPlayer.getLastPosition()),
['@identifier'] = xPlayer.identifier
}, function(rowsChanged)
cb()