From 4ba2262a27f11b297729ffc472ebd7c5626422c1 Mon Sep 17 00:00:00 2001 From: Zerio <54480523+Z3rio@users.noreply.github.com> Date: Sat, 25 Mar 2023 14:19:51 +0100 Subject: [PATCH] Improve code readability --- client/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/functions.lua b/client/functions.lua index 324b974..8185648 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -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