resources:getSound
Sound resources:getSound(path, loadFlags)
Returns a Sound object if loaded successfully, you should use preLoad on Mod:onLoad() to pre-load the sound and not block the client
Parameters
| Type | Name | Description | Optional |
|---|---|---|---|
| string | path | No description | |
| LOAD.SOUND_FLAGS | loadFlags | No description | ✔ |
Returns
| Type | Description |
|---|---|
| Sound | No description |