Skip to content
This page was translated from German using AI. If anything is unclear, the German version applies.

HM Warndreieck - Installation

Installing HM Warndreieck is particularly easy, because the script comes with an automatic database migration.

  1. Copy the files: Copy the hm_Warndreieck folder into your resources/ directory.

  2. Register the item: Make sure the item warning_triangle is registered in your inventory system (e.g. ox_inventory/data/items.lua).

    Example for ox_inventory:

    ['warning_triangle'] = {
    label = 'Warning triangle',
    weight = 500,
    stack = true,
    close = true,
    client = {
    export = 'hm_Warndreieck.warning_triangle'
    }
    },
  3. Add it to server.cfg: Add the start command to your server.cfg:

    ensure hm_Warndreieck
  4. Automatic DB update: On first start, the script automatically checks whether the column has_warning_triangle exists in your vehicle table (e.g. owned_vehicles). If not, it is created automatically. You do not need to import an SQL file manually.

  • Database: oxmysql
  • Framework: es_extended or qb-core
  • Inventory: ox_inventory, qb-inventory or a compatible system.