HM Warndreieck - Configuration
Here is an overview of the most important configuration options for HM Warndreieck.
Framework & integrations
Section titled “Framework & integrations”| Setting | Type | Description |
|---|---|---|
Config.Framework | string | "esx", "qb" or "none". |
Config.InventorySystem | string | "ox", "qb" or "custom". |
Config.TargetSystem | string | "ox" or "qb". |
Config.NotifySystem | string | "ox", "esx", "qb" or "custom". |
Anti-spam & cleanup (Config.AntiSpam)
Section titled “Anti-spam & cleanup (Config.AntiSpam)”MaxActivePerPlayer: Maximum number of triangles placed at the same time per player (default:2).LifetimeMinutes: After how many minutes the triangles are deleted automatically (default:20).CleanupIntervalSeconds: How often the cleanup process runs (default:60).
Interaction & distances
Section titled “Interaction & distances”TrunkTargetDistance: Maximum distance to the trunk to take out or stow a triangle (default:2.0).PlaceMaxDistance: Maximum distance from the player to the placement point (default:5.0).RotateSpeed: Rotation speed while placing (default:140.0).
Vehicle database (Config.Database)
Section titled “Vehicle database (Config.Database)”TableName:"auto"picks the default for ESX/QB (owned_vehicles/player_vehicles).ColumnName: Column name in the DB (has_warning_triangle).
Example configuration
Section titled “Example configuration”Config.ItemName = "warning_triangle"Config.TriangleModel = "prop_trianglev"Config.SpawnHeadingOffset = 180.0
Config.TrunkDoorIndex = 5 -- 5 = trunkConfig.TrunkActionTime = 1400 -- ms