Exports

On this page, you can see all the events and exports that you can use about GKS Fuel.

Client Exports

GetFuel

You will have the fuel level of the vehicle

local vehicleFuel = exports["gks_fuel"]:GetFuel()

SetFuel

Change the fuel level of the car

--vehicle: [[ Vehicle ]] (Car Entity)
--value: (0-100)
exports["gks_fuel"]:SetFuel(vehicle, value)

Last updated