mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
1 parent
5850640094
commit
8ca3c1bdfc
21 files changed
+190
-7
No files matched your search
@@ -0,0 +1,17 @@
|
||||
### setMoneyCheck
|
||||
|
||||
Replaces the standard inventory search for "money".
|
||||
|
||||
```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)
|
||||
```
|
||||
Reference in new issue
Block a user