C.H.A.S.E.R Docs
  • Welcome to C.H.A.S.E.R !
  • Fundamentals
    • The "chaserfirststartup" command
    • Creating your first chaser profile
    • vehdata.lua vs handling.meta
    • Utilizing the turbo viewer tool
    • Utilizing the final drive calculator tool
    • Weight Reduction
    • Engine Swapping
    • Utilizing the C.H.A.S.E.R chase cam
    • Creating an engineswap profile
    • Calibrating the PP system
    • Adapting your UI to work with C.H.A.S.E.R
  • The Config Folder
    • blocklist.lua
    • camera_tunables.lua
    • chaserconfig.lua
    • globalvehdata.lua
    • enginedata.lua
    • tiredata.lua
    • vehdata.lua
  • get exports
    • chaser_getpp
    • chaser_getctm
    • chaser_getvehname
    • chaser_getcurrentrpm
    • chaser_getminmaxrpm
    • chaser_gettelemetry
    • chaser_getturbopressure
    • chaser_getloadstatus
    • chaser_getassists
    • chaser_gettransmission
    • chaser_gethilo
    • chaser_getflywheel
    • chaser_getdifferential
    • chaser_getenginebaysize
    • chaser_gettyre
    • chaser_getturbo
    • chaser_getavgacc
    • chaser_getefficiency
    • chaser_getengineswapdata
    • chaser_getvehicledata
    • chaser_getweight
    • chaser_getengine
    • chaser_getengineptwratio
    • chaser_getnitrous
    • chaser_getscoreboardsfxmuted
    • chaser_getcurrentdriftscore
    • chaser_getcurrentdriftscoremultiplier
    • chaser_getlastbankedscore
    • chaser_getstackeddriftcount
    • chaser_getwalltapdriftcount
    • chaser_gethighspeeddriftcount
    • chaser_getvehicledata
    • chaser_getshiftdelay
    • chaser_getbrakingcapacity
    • chaser_getbrakingfbias
    • chaser_getswaybarstrenght
    • chaser_getswaybarfbias
    • chaser_getsuspension
  • Set exports
    • chaser_setassists
    • chaser_settransmission
    • chaser_settransmissionmode
    • chaser_setflywheel
    • chaser_setdifferential
    • chaser_settyre
    • chaser_setturbo
    • chaser_setweight
    • chaser_setengine
    • chaser_setnitrous
    • chaser_togglehilo
    • chaser_togglescoreboardsfx
    • chaser_setcurrentdriftscoremultiplier
    • chaser_setshiftdelay
    • chaser_setbrakingcapacity
    • chaser_setbrakingfbias
    • chaser_setswaybarstrenght
    • chaser_setswaybarfbias
    • chaser_setsuspension
  • Other Exports
    • chaser_ctm
    • chaser_calculatetuningacc
    • chaser_forcereload
    • chaser_refreshengine
    • chaser_calcacc
    • chaser_isvehicledrifting
    • chaser_disablechaser
    • chaser_enablechaser
    • chaser_startcamera
    • chaser_stopcamera
  • Networking
    • Statebags
  • User Interface
    • NUI Events
  • Controls
    • Keybinds
  • Extras
    • Demos & Softwares
    • Math
    • With love
Powered by GitBook
On this page
  1. Fundamentals

Adapting your UI to work with C.H.A.S.E.R

PreviousCalibrating the PP systemNextblocklist.lua

Last updated 10 months ago

By default, most user interfaces scripts, should work with C.H.A.S.E.R, how ever a slight modification is necessary. Most of the speedometers, will read the current gear from the GetVehicleCurrentGear() native

How ever, C.H.A.S.E.R does not utilize GTA default gearbox, and instead simulate it's own, where the current gear can be accessed by simply using a statebag. You can learn more about the statebag here:

Alternatively, there are already new, open-source speedometers/ui scripts that support chaser, one example would be: https://github.com/Nathan-FiveM/ps-hud-cw

Statebags