GKSHOP
Web StoreDiscord
  • 👋GKSHOP Documentation
  • INFORMATION
    • ⁉️FAQ
    • 💡Discord Roles
    • ⚠️FiveM Asset Escrow System
  • GKSPHONE v2
    • 📔Installation
    • ❓Documentation
    • 👷Exports
      • Client
      • Server
    • 🪛Custom App
    • Configuration
      • Unique phones
      • Custom inventory
      • Custom Wallpapers
      • Custom ringtones and notifications
      • Apps
      • Currency
    • Common Issues
    • 🚒Job Center
  • GKSPHONE v1
    • 📱ESX
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
    • 📱QB
      • 📔Installation
      • ❓Documentation
      • Application Usages
      • Developers
        • Server Event
        • Client Event
  • Other Products
    • ⚒️GKSCRAFT
      • 📘Installation
      • Config
      • Developers
        • Server Event
    • ⛽GKS FUEL
      • 📔Installation
      • Config
      • Exports
    • 📸Media Services (GKSMEDIA)
    • 📲GKSPHONE Real App
  • OTHER
    • Policy
      • Privacy Policy
Powered by GitBook
On this page
  • Client Exports
  • GetFuel
  • SetFuel
  1. Other Products
  2. GKS FUEL

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)
PreviousConfigNextMedia Services (GKSMEDIA)

Last updated 2 years ago

⛽