[PAID] [STANDALONE] K-Turbo

A script by botman64

No reviews yet.
[PAID] [STANDALONE] K-Turbo main image

Full Description

Enhanced turbo system with realistic boost physics. Completely standalone or lock it down to a framework with job and money. Easily add more mods. Ability to move the boost gauge. Simulated vacuum and realistic boost.

PREVIEW: https://www.youtube.com/watch?v=YdD8jPB_enE
TEBEX: https://kdev.tebex.io/category/standalone

Installation

  • Be sure the latest release of oxmysql is installed Releases · overextended/oxmysql · GitHub
  • Add this folder to your resources folder
  • In your txAdmin console type refresh and hit enter
  • Then type ensure k-turbo and hit enter again
  • Restart your server and installation is complete

Framework Installation

To install qb-core simply uncomment everything thats commented out in the following files, adjust job names/types and item prices as necessary

Framework installation will take place in client/utils.lua , server/_utils.lua and shared/config.lua
For adding prices be sure to add the price to each config table. PRICES WILL NOT DO ANYTHING BY DEFAULT.
You can also add job checks and your own notify to those files.

Commands

    /checkturbo -- opens then menu to add and remove turbo parts
    /moveboostgauge -- allows the client to move and save the position of their gauge

Exports and Events

Client

    TriggerClientEvent('k-turbo:client:refreshTurbo', source) -- refreshes turbo data of the current car
    exports['k-turbo']:openMenu() -- open turbo menu to add and remove turbo parts

Server

    exports['k-turbo']:removeModifier(plate, category, part)
    TriggerServerEvent('k-turbo:server:removeModifier', plate, category, part) -- removes a modifier from the plate defined

    -- example:
    TriggerServerEvent('k-turbo:server:removeModifier', 'XT24S46', 'Cooling', 'piping') 
    exports['k-turbo']:addTurbo(plate, part) -- bypasses job and money check
    TriggerServerEvent('k-turbo:server:addTurbo', plate, part) -- adds a turbo to the plate defined
    
    -- example:
    TriggerServerEvent('k-turbo:server:addTurbo', 'XT24S46', 'tiny')
    exports['k-turbo']:addModifier(plate, category, part) -- bypasses job and money check
    TriggerServerEvent('k-turbo:server:addModifier', plate, category, part) -- adds a modifier to the plate defined

    -- example:
    TriggerServerEvent('k-turbo:server:addModifier', 'XT24S46', 'Cooling', 'piping')
Code is accessible No
Subscription-based No
Lines (approximately) ~400
Requirements oxmysql
Support Yes

(For releases without code the not applicable fields can be written as N/A)

Config Merger
Have you tried Config Merger? Merge your configs easily