mirror of https://github.com/minetest/minetest.git
Update lua_api.txt
This commit is contained in:
parent
d954cfd68b
commit
b5169656d6
|
@ -2496,7 +2496,9 @@ These functions return the leftover itemstack.
|
||||||
* `minetest.sound_play(spec, parameters)`: returns a handle
|
* `minetest.sound_play(spec, parameters)`: returns a handle
|
||||||
* `spec` is a `SimpleSoundSpec`
|
* `spec` is a `SimpleSoundSpec`
|
||||||
* `parameters` is a sound parameter table
|
* `parameters` is a sound parameter table
|
||||||
* `minetest.sound_stop(handle)`
|
* `minetest.sound_pause(handle)`: pause the sound
|
||||||
|
* `minetest.sound_resume(handle)`: resume the previously paused sound
|
||||||
|
* `minetest.sound_stop(handle)`: stop the sound
|
||||||
|
|
||||||
### Timing
|
### Timing
|
||||||
* `minetest.after(time, func, ...)`
|
* `minetest.after(time, func, ...)`
|
||||||
|
|
Loading…
Reference in New Issue