mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-03 14:38:49 +00:00
chore: target, fuel, and doorlock updates (#136)
* chore: ox_target cleaned up - minor fixes on ox_lib zones * chore: move get/set fuel amount to shared.mdx file * chore: Update removeZone input type https://github.com/overextended/ox_target/commit/021b32d4d52fa58305045177f3dc3c0a969d07e5 * chore: doorlock cleaned up * add missing export * reorder textui sections
This commit is contained in:
7 files changed
+96
-48
No files matched your search
@@ -0,0 +1,11 @@
|
||||
## Get vehicle fuel amount
|
||||
|
||||
```lua
|
||||
local fuel = Entity(vehicleId).state.fuel
|
||||
```
|
||||
|
||||
## Set vehicle fuel amount
|
||||
|
||||
```lua
|
||||
Entity(vehicleId).state.fuel = fuelAmount
|
||||
```
|
||||
Reference in new issue
Block a user