fix lint failed

return material hash , entity hit, surfaceNormal, end coords, hit, and retval
This commit is contained in:
Hakos47
2023-03-23 12:44:34 +01:00
committed by GitHub
parent 66c88b51e0
commit 50d73ed52b
+2 -2
View File
@@ -996,6 +996,6 @@ 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 arg1, arg2, arg3, arg4, arg5 = GetShapeTestResultEx(num)
return arg5
local retval --[[ integer ]], hit --[[ boolean ]], endCoords --[[ vector3 ]], surfaceNormal --[[ vector3 ]], materialHash --[[ Hash ]], entityHit --[[ Entity ]] = GetShapeTestResultEx(num)
return materialHash, entityHit, surfaceNormal, endCoords, hit, retval
end