isVehicleCoupledToTrailer
Definition
-- @/lua/ge/extensions/core/trailerRespawn.lua:219
local function isVehicleCoupledToTrailer(vehId, trailerId)
local coupleInfo = trailerReg[vehId]
if not coupleInfo then return false end
if coupleInfo.trailerId == trailerId then return true end
return isVehicleCoupledToTrailer(coupleInfo.trailerId, trailerId)
end
Callers
@/lua/ge/extensions/core/trailerRespawn.lua
if coupleInfo.trailerId == trailerId then return true end
return isVehicleCoupledToTrailer(coupleInfo.trailerId, trailerId)
end