From 568185ca197dd75a7fb7703e86b4d99b545f7308 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Tue, 19 Aug 2025 19:58:24 +0200 Subject: [PATCH] fix(client/peds): models being nil error --- client/peds.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/client/peds.lua b/client/peds.lua index 1a1b32e..dd731d8 100644 --- a/client/peds.lua +++ b/client/peds.lua @@ -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]