fix(client/peds): models being nil error

This commit is contained in:
Andyyy7666
2025-08-19 19:58:24 +02:00
parent bc41788cc9
commit 568185ca19

View File

@@ -102,6 +102,7 @@ local function updateBlips(playerGroups)
end
local function disableCollisionWithModels(ped, models)
if not models then return end
local coords = GetEntityCoords(ped)
for i=1, #models do
local m = models[i]