Quote:
Originally Posted by Jcrr
I arledy got this:
PHP Code:
public OnMapStart() { AddFileToDownloadsTable("sound/realmod/heal.wav"); AddFileToDownloadsTable("sound/realmod/buy.wav"); PrecacheSound("sound/realmod/heal.wav"); PrecacheSound("sound/realmod/buy.wav"); }
Sound callout:
PHP Code:
EmitSoundToClient(client, "sound/realmod/buy.wav"); EmitSoundToClient(client, "sound/realmod/heal.wav");
And it gives me that error:
PHP Code:
[Sound] S_StartSound(): Failed to load sound 'sound\realmod\heal.wav'. File is missing from disk/repository. [Sound] S_StartSound(): Failed to load sound 'sound\realmod\buy.wav'. File is missing from disk/repository.
Files are succesful downloaded from server, and they are present in dir:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\sound\realmod
|
In precache you must remove folder name, in precache you need only file name.
And on emit sound only file name,
__________________