GE Lua Documentation

Press F to search!

onVehicleFlippedUpright

Definition


-- @/lua/ge/extensions/gameplay/crawl/utils.lua:1057

local function onVehicleFlippedUpright(crawlerId)
  local state = crawlStates[crawlerId]
  if not state or not state.crawlerData then
    return
  end
  applyPenalty(crawlerId, 'vehicleFlippedUpright')
  gameplay_crawl_display.showVehicleFlippedUprightMessage()
end

Callers