Per-Class Profile
Each catalog class has its own tuning.
coe_handlingSimulator Handling & Tyres
Per-class profiles, tyre compounds and wear applied to handling
coe_corecoe_databasecoe_loggingcoe_vehiclescoe_vehicle_catalogcoe_mechanic
coe_handling
6 exports · 2 commands
Runs without a NUI: nothing is rendered on the client and the resource stays idle until events arrive.
Simulator-style handling per coe_vehicle_catalog class and category: more mass, less launch, realistic grip and braking, tuned per class (super, muscle, SUV, offroad...). Tyre compounds (street, sport and others) with their own grip, braking, rough-surface behavior and life; coe_mechanic part wear enters as a multiplier.
The server publishes multipliers in state bags and the client applies them over the model's original handling, restored when the resource stops.
Each catalog class has its own tuning.
Grip, braking, rough surface and life per compound.
coe_mechanic parts become multipliers.
Original values return when the resource stops.
Every COE Framework script strictly follows the principle of separation of concerns. Interact with the 3D stack below:
Operates strictly within layers L1–L3 (domain, HAL, and server-authoritative application logic). Visual interactions and management flows are delegated to centralized ecosystem apps (coe_ui / coe_tablet), guaranteeing 0.00 ms idle client overhead in FiveM DX12.
Manage your city without relying on developers. Runtime parameters, auditing, and ACE-protected commands:
IsPlayerAceAllowed(src, "coe.admin")
exports.coe_audit:Record(severity, category, event, context)
Clean Architecture & HAL
Typed contracts to call from other resources. Full types live in types.lua and in the docs reference.
exports['coe_handling']:GetTyre(vehicleId)
→ CoeTyreState|nil
| Parameter | Type |
|---|---|
vehicleId | number |
local result = exports['coe_handling']:GetTyre(vehicleId)exports['coe_handling']:SetTyre(vehicleId, compound)
→ true|string
Installs new tires and resets their wear. Restricted to resources in WriterResources.
| Parameter | Type |
|---|---|
vehicleId | number |
compound | string |
local result = exports['coe_handling']:SetTyre(vehicleId, compound)exports['coe_handling']:ListTyres()
→ string[]
No parameters.
local result = exports['coe_handling']:ListTyres()exports['coe_handling']:ListClasses()
→ string[]
No parameters.
local result = exports['coe_handling']:ListClasses()exports['coe_handling']:GetModifiers(vehicleId)
→ table<string,
Returns the final multipliers (profile x tire x wear) for each CHandlingData field.
| Parameter | Type |
|---|---|
vehicleId | number |
local ok, detail = exports['coe_handling']:GetModifiers(vehicleId)exports['coe_handling']:IsReady()
→ boolean
No parameters.
local result = exports['coe_handling']:IsReady()/coe_handling_dump
Tuning tool: prints the current vehicle handling multipliers.
/coe_tyre <placa> <composto>
Changes a vehicle tyre compound and resets wear (ACE command.coe_tyre).