mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
38 lines
778 B
Markdown
38 lines
778 B
Markdown
Check if assets exist, such as models, and loads them into memory.
|
|
Throws errors for invalid assets and returns true if the asset is 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)
|
|
```
|