GE Lua Documentation

Press F to search!

isVehicleBlacklisted

Definition


-- @/lua/ge/extensions/gameplay/walk.lua:347

local function isVehicleBlacklisted(vehId)
  return vehicleBlacklist[vehId]
end

Callers

@/lua/ge/extensions/flowgraph/nodes/gameplay/getWalkingBlacklist.lua
  if self.pinIn.vehId.value then
    self.pinOut.bool.value = not gameplay_walk.isVehicleBlacklisted(self.pinIn.vehId.value)
    self.pinOut.allowed.value = self.pinOut.bool.value
@/lua/ge/extensions/ui/apps/minimap/vehicles.lua
      if not draw then
        local canUse = gameplay_walk and not gameplay_walk.isVehicleBlacklisted(otherVId)
        if not debugSettings.drawUnusableVehicles and not canUse then
      local policeCars = gameplay_police.getPoliceVehicles()
      local canUse = not gameplay_walk.isVehicleBlacklisted(otherVId)
      local currentStyleColorSet = ui_apps_minimap_utils.getCurrentStyleColors()