Files
JagandLuke 1d2c490b26 refactor: Add h1 headers to all pages missing it (#137)
* refactor: Add h1 headers to all pages missing it

* refactor: missed example h3

* change hooks example heading to bold text

---------

Co-authored-by: Luke <[email protected]>
2023-07-08 11:08:43 +02:00

30 lines
428 B
Plaintext

# Functions
## setMoneyCheck
Override the built-in money check.
```lua
exports.ox_fuel:setMoneyCheck(method)
```
### Parameters
- method: `function(): number`
### Example
```lua
exports.ox_fuel:setMoneyCheck(function()
local accounts = ESX.GetPlayerData().accounts
for i = 1, #accounts do
if accounts[i].name == 'bank' then
return accounts[i].money
end
end
return 0
end)
```