AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   sound wont precache (https://forums.alliedmods.net/showthread.php?t=65148)

fxfighter 01-02-2008 08:47

sound wont precache
 
1 Attachment(s)
Making my music menu it did work to play .wav but now it dont and mp3 works fine.
y i got the files in right folder.
i brught my pall in and it didnt precache.
and i cant understand why.

Arkshine 01-02-2008 09:42

Re: sound wont precache
 
read_config() should be called in plugin_precache(), just before precaching.

Why ? Because plugin_precache() is called before plugin_init(). So you try to precache some sounds which they didn't retrieve yet.


All times are GMT -4. The time now is 11:07.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.