mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +00:00
WIP ox_lib documentation
This commit is contained in:
1 parent
f9aa5347e3
commit
86fa21d64a
8 files changed
+75
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
title: lib.callback.await
|
||||
---
|
||||
|
||||
```lua
|
||||
-- name: string
|
||||
-- delay: number or false
|
||||
lib.callback.await(name, delay, ...)
|
||||
```
|
||||
|
||||
```lua
|
||||
local count = lib.callback('ox_inventory:getItemCount', false, 'water', {type = 'fresh'})
|
||||
print(count)
|
||||
```
|
||||
Reference in new issue
Block a user