Merge pull request #18 from FelixDE/patch-1

Update callback.md
This commit is contained in:
Linden authored and GitHub committed 2022-04-29 14:50:45 +10:00
commit b87ef48d2e
1 file changed
+1 -1
+1 -1
View File
@@ -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)
```