Issue with precache sound
For some reason my games telling me it cant precache the sounds
There on the server and fast dl they download to the client but they dont play... PHP Code:
I dont see a damn thing wrong with them. EDIT : No idea wtf was going on... but fixed now |
Re: Issue with precache sound
most likely you were adding "sound" path to it which isn't required, precache_sound() starts in sound folder, the other precache functions start in mod dir (cstrike for example).
But why don't you leave the original post be ? |
Re: Issue with precache sound
Quote:
That is the original post thats what i dont get.. lol looks fine to me and then all of a sudden started working haha |
Re: Issue with precache sound
when you precache
you are using precache_sound it means that it starts to precache INSIDE of /cstrike/sound folder you dont have to write precache_sound("SOUND/ ... dont do this only use for mp3s precache_generic("sound/ ,,,, bla bla.mp3 ) check path`s once again. check if Hz of sound is correct , try to play the sound from cs console. |
Re: Issue with precache sound
Quote:
Also, if you didn't get what I was saying about paths: precache_sound("file.wav") == "mod/sound/file.wav" precache_model("file.spr") == "mod/file.spr" precache_generic("file.mp3") == "mod/file.mp3" If you still don't get it... try harder because I won't explain again. |
Re: Issue with precache sound
i know what they mean... i know how they are used the question i had weasnt about that... so i have no idea wtf your talking about and why your going on about that lol
I was asking why the code wasnt working... All of a sudden it started working. |
Re: Issue with precache sound
Code doesn't *suddenly* work, there are various things that could have happen and it's pointless to go over them now :}
|
Re: Issue with precache sound
Quote:
|
Re: Issue with precache sound
i think the problem was with me
but it fixed :) thx |
| All times are GMT -4. The time now is 03:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.