Datasets:
Tasks:
Text Generation
Modalities:
Text
Formats:
text
Languages:
Russian
Size:
10K - 100K
Tags:
code
License:
File size: 686 Bytes
ea562e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
Fakemeta function : Quote: EngFunc_PrecacheSound Description : Precaches a sound, only *.wav file. ( for mp3, see EngFunc_PrecacheGeneric ) This should be used only when you would need to postpone the precache processus in plugin_init() or plugin_cfg(), otherwise you should use precache_sound() native directly in plugin_precache() forward. It can be useful for example when you want to manage sounds with cvars and to avoid registering them in plugin_precache() then getting some trouble, you could manage out of this forward. Usage : Code: engfunc( EngFunc_PrecacheSound, "sound/MySound.wav" ); It returns the precached sound index if successful, otherwise 0. |