HEX
HexscriptsVersion 1.0Fuel

Exports

This section lists all client-side and server-side exports in this script. Exports can be called from other scripts to interact with this script functionality.

Note

If you need additional exports for your implementation, please open a ticket on our Discord server.

Client Exports

GetFuel

Gets the current fuel of a vehicle.

local fuel = exports['hex_1_fuel']:GetFuel(vehicle)

Prop

Type

SetFuel

Sets the fuel of a vehicle.

local fuel = exports['hex_1_fuel']:SetFuel(vehicle, fuel)

Prop

Type

Server Exports

No server exports are available at the moment.