Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vames-dev/ox_fuel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ox_fuel

Basic fuel resource and alternative to LegacyFuel, meant for use with ox_inventory.

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.

Entity(entity).state.fuel

Set vehicle fuel level

Entity(entity).state.fuel = fuelAmount

About

Simplistic fuel resource meant for use with vms_stores

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Lua 100.0%