Improve code readability

This commit is contained in:
Zerio
2023-03-25 14:19:51 +01:00
committed by GitHub
parent 6738c06d55
commit 4ba2262a27
+2 -2
View File
@@ -995,7 +995,7 @@ end
function QBCore.Functions.GetGroundHash(entity)
local coords = GetEntityCoords(entity)
local num = StartShapeTestCapsule(coords.x,coords.y,coords.z+4,coords.x,coords.y,coords.z-2.0, 1,1,entity,7)
local retval , success , endCoords, surfaceNormal, materialHash , entityHit = GetShapeTestResultEx(num)
local num = StartShapeTestCapsule(coords.x, coords.y, coords.z + 4, coords.x, coords.y, coords.z - 2.0, 1, 1, entity, 7)
local retval, success, endCoords, surfaceNormal, materialHash, entityHit = GetShapeTestResultEx(num)
return materialHash, entityHit, surfaceNormal, endCoords, success, retval
end