fix(client/functions): undefined variable

This commit is contained in:
BerkieBb
2022-03-13 20:44:17 +01:00
committed by GitHub
parent db11f3d9cc
commit e63d9f744d
+1 -1
View File
@@ -402,7 +402,7 @@ function QBCore.Functions.SpawnClear(coords, radius)
if coords then
coords = type(coords) == 'table' and vec3(coords.x, coords.y, coords.z) or coords
else
coords = GetEntityCoords(ped)
coords = GetEntityCoords(PlayerPedId())
end
local vehicles = GetGamePool('CVehicle')
local closeVeh = {}