mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
fix(client/peds): models being nil error
This commit is contained in:
@@ -102,6 +102,7 @@ local function updateBlips(playerGroups)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function disableCollisionWithModels(ped, models)
|
local function disableCollisionWithModels(ped, models)
|
||||||
|
if not models then return end
|
||||||
local coords = GetEntityCoords(ped)
|
local coords = GetEntityCoords(ped)
|
||||||
for i=1, #models do
|
for i=1, #models do
|
||||||
local m = models[i]
|
local m = models[i]
|
||||||
|
|||||||
Reference in New Issue
Block a user