Update player.lua

This commit is contained in:
mx developement
2024-03-03 00:23:47 +01:00
committed by GitHub
parent cefb631442
commit 1ca85a1002
+1 -1
View File
@@ -83,7 +83,7 @@ function CreateExtendedPlayer(playerId, identifier, group, accounts, inventory,
local coordinates <const> = _GetEntityCoords(ped)
local heading <const> = _GetEntityHeading(ped)
return vector and vector4(coordinates, heading) or { x = coordinates.x, y = coordinates.y, z = coordinates.z, heading = heading }
return vector and vector4(coordinates.xyz, heading) or { x = coordinates.x, y = coordinates.y, z = coordinates.z, heading = heading }
end
---@param reason string