View Full Version : Music in autorestart
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.
remove the hudmsg for testing , compiling errors , errors in console like cant prechache misc/two.wav ....
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.
this file is precache precache_sound( "misc/two.wav")
60sec wav
Might be a stupid question but just to be sure, did you precache it like this ?
public plugin_precache()
{
precache_sound("misc/two.wav")
}
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.