PDA

View Full Version : Music in autorestart


Gr33tz
04-13-2008, 16:16
Hi, why music is dont play??

look my code
public restart_65s()
{
SETHUDMSG
show_hudmessage(0,"%L", LANG_PLAYER, "AUTO_RR_FOR_SEC",65)
client_cmd(0,"spk misc/two.wav")
}

music download, but not playing :( help me.

grimvh2
04-13-2008, 16:22
remove the hudmsg for testing , compiling errors , errors in console like cant prechache misc/two.wav ....

Gr33tz
04-13-2008, 16:50
dont work, no errors in logs, no errors in compile, no erros in console :grrr:

YamiKaitou
04-13-2008, 17:01
does the file exist on the client side? is the file precached?

BOYSplayCS
04-13-2008, 18:52
Post the whole source code please so we can have a full view of what might be wrong.

Gr33tz
04-14-2008, 05:40
this file is precache precache_sound( "misc/two.wav")

60sec wav

atomen
04-14-2008, 05:54
Might be a stupid question but just to be sure, did you precache it like this ?
public plugin_precache()
{
precache_sound("misc/two.wav")
}