Dependencies · origen_importheist
All dependencies required by origen_importheist must be started before the resource itself.
Required dependencies
| Resource | Notes |
|---|---|
oxmysql | Required for server-side database access |
qb-core or es_extended | One of the two must be present. The script auto-detects the active framework |
/assetpacks | Required by the manifest — must be available on the server |
Framework compatibility
The script uses automatic framework detection via Config.Framework = 'auto'.
| Framework | Supported |
|---|---|
qb-core | Yes |
es_extended (ESX) | Yes |
When Config.Framework is set to 'auto', the script checks whether qb-core is present and falls back to ESX if not found.
You can lock the framework manually by setting Config.Framework = 'qbcore' or Config.Framework = 'esx' in config/_framework.lua.
Optional integrations
These integrations are configured inside custom/client.lua and custom/server.lua. They are not required to run the script.
Police duty system
| Resource | Notes |
|---|---|
origen_police | Used in ESX mode to retrieve on-duty police officers. Falls back to ESX.GetExtendedPlayers('job', 'police') if not present |
Fuel system
Configure Config.FuelSystem in config/_framework.lua to match your installed fuel resource.
| Value | Resource |
|---|---|
'none' | Uses native SetVehicleFuelLevel (default fallback) |
'LegacyFuel' | LegacyFuel |
'ps-fuel' | ps-fuel |
'cdn-fuel' | cdn-fuel |
'qs-fuelstations' | qs-fuelstations |
'ox_fuel' | ox_fuel (uses entity state) |
Vehicle keys system
The default implementation in custom/client.lua uses the vehiclekeys:client:SetOwner event (QBCore default). Replace it in the custom file if you use a different keys resource.