GR1M Docs

Handling

Vehicle tuning tablet for Qbox, QBCore and ESX (auto-detected). Migrates from jg-handling and keeps its tables (handling_profiles, handling_vehicle_data), so every existing tune keeps working.

v2.0.0Needs oxmysql, ox_lib, ox_inventory

#Who can use it

#Flow

  1. Pick cars: networked cars within the admin radius, or "every <model> in the city".
  2. Choose a package: Hyper-realistic / Realistic / Semi-realistic / Arcade per GTA

    vehicle class, then fine-tune with plain sliders (acceleration, top speed, grip, braking, stability, damage taken).

  3. Test and apply: test drive with the timing overlay (K flips stock/new, Backspace

    returns), then apply. Each car is saved to its own plate with a revision.

History lists every change with owner and editor; Undo restores the previous state (only the newest change per car; staff can undo their own).

#Limits (server-side, always)

#Admin tab

Tablets, Class limits, Packages (+ model class overrides) and Settings (radius, unit, timing tool for everyone, history retention, Discord webhook). Stored as JSON in gr1m_handling_settings; unit/targets are published in GlobalState.gr1m_handling_public.

#Install / update

#GR1M_Mech boundary

GR1M_Handling owns the absolute base (gr1m_handling statebag); Mech composes parts, wear and stance on top. Saves, undo and resets re-publish the base on live cars so Mech recomposes without a respawn. The base is only re-published when it actually changed.

#Exports

Server: GetHandlingForVehicle, ApplyToNet, SaveHandlingForPlate, SaveHandlingForModel, DeleteHandlingForPlate, DeleteHandlingForModel, GetProfiles, useTablet (item hook). Client: OpenEditor, OpenTimingTool, CloseTimingTool, GetBaseVehicleHandling, ApplyHandlingData, ResetVehicleHandling. JG event aliases stay in client/bridge_jg.lua.