mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
Basic docs for all of ox_lib
This commit is contained in:
1 parent
2350a5bfc1
commit
fd5ccc4964
14 files changed
+206
-64
No files matched your search
@@ -0,0 +1,39 @@
|
||||
# Streaming
|
||||
|
||||
Check if assets exist, such as models, and loads them into memory.
|
||||
Throws errors for invalid assets and returns false if it could not be loaded.
|
||||
|
||||
### lib.requestAnimDict
|
||||
```lua
|
||||
-- dict: string
|
||||
-- timeout: number [default: 100]
|
||||
lib.requestAnimDict(dict, timeout)
|
||||
```
|
||||
|
||||
### lib.requestAnimSet
|
||||
```lua
|
||||
-- set: string
|
||||
-- timeout: number [default: 100]
|
||||
lib.requestAnimSet(set, timeout)
|
||||
```
|
||||
|
||||
### lib.requestModel
|
||||
```lua
|
||||
-- model: string
|
||||
-- timeout: number [default: 100]
|
||||
lib.requestModel(model, timeout)
|
||||
```
|
||||
|
||||
### lib.requestStreamedTextureDict
|
||||
```lua
|
||||
-- dict: string
|
||||
-- timeout: number [default: 100]
|
||||
lib.requestStreamedTextureDict(dict, timeout)
|
||||
```
|
||||
|
||||
### lib.requestNamedPtfxAsset
|
||||
```lua
|
||||
-- fxName: string
|
||||
-- timeout: number [default: 100]
|
||||
lib.requestNamedPtfxAsset(fxName, timeout)
|
||||
```
|
||||
Reference in new issue
Block a user