HM Warndreieck - Configuratie
Hier vind je een overzicht van de belangrijkste configuratieopties voor HM Warndreieck.
Framework & integraties
Section titled “Framework & integraties”| Instelling | Type | Beschrijving |
|---|---|---|
Config.Framework | string | "esx", "qb" of "none". |
Config.InventorySystem | string | "ox", "qb" of "custom". |
Config.TargetSystem | string | "ox" of "qb". |
Config.NotifySystem | string | "ox", "esx", "qb" of "custom". |
Antispam & opruimen (Config.AntiSpam)
Section titled “Antispam & opruimen (Config.AntiSpam)”MaxActivePerPlayer: Maximaal aantal tegelijk geplaatste driehoeken per speler (standaard:2).LifetimeMinutes: Na hoeveel minuten de driehoeken automatisch worden verwijderd (standaard:20).CleanupIntervalSeconds: Hoe vaak het opruimproces draait (standaard:60).
Interactie & afstanden
Section titled “Interactie & afstanden”TrunkTargetDistance: Maximale afstand tot de kofferbak om een driehoek te pakken of op te bergen (standaard:2.0).PlaceMaxDistance: Maximale afstand van de speler tot het plaatsingspunt (standaard:5.0).RotateSpeed: Draaisnelheid bij het plaatsen (standaard:140.0).
Voertuigdatabase (Config.Database)
Section titled “Voertuigdatabase (Config.Database)”TableName:"auto"kiest de standaard voor ESX/QB (owned_vehicles/player_vehicles).ColumnName: Kolomnaam in de DB (has_warning_triangle).
Voorbeeldconfiguratie
Section titled “Voorbeeldconfiguratie”Config.ItemName = "warning_triangle"Config.TriangleModel = "prop_trianglev"Config.SpawnHeadingOffset = 180.0
Config.TrunkDoorIndex = 5 -- 5 = kofferbakConfig.TrunkActionTime = 1400 -- ms