From 50d73ed52bf5199c3f9f760d0e789b1ed5dcb9e2 Mon Sep 17 00:00:00 2001 From: Hakos47 <76844995+hakos47@users.noreply.github.com> Date: Thu, 23 Mar 2023 12:44:34 +0100 Subject: [PATCH] fix lint failed return material hash , entity hit, surfaceNormal, end coords, hit, and retval --- client/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/functions.lua b/client/functions.lua index 8f1d03c..8772363 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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