mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
1 file changed
+1
-1
@@ -22,6 +22,6 @@ The current coroutine is yielded until a response is received.
|
||||
-- delay: number or false
|
||||
lib.callback.await(name, delay, ...)
|
||||
|
||||
local count = lib.callback('ox_inventory:getItemCount', false, 'water', {type = 'fresh'})
|
||||
local count = lib.callback.await('ox_inventory:getItemCount', false, 'water', {type = 'fresh'})
|
||||
print(count)
|
||||
```
|
||||
Reference in new issue
Block a user