Skip to content
perifaPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

65 Commits

Folders and files

Repository files navigation

ox_fuel

Get vehicle fuel level

This is an incredibly complicated task for some people, and they often ask for exports to do it.
You use the native function GetVehicleFuelLevel, or you can use a statebag.

local fuel = GetVehicleFuelLevel(entity)
-- or Entity(entity).state.fuel

Set vehicle fuel level

Entity(entity).state.fuel = fuelAmount

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages