Quote:
Originally Posted by Diablo1
here is what i scripted but why am i the only one to hear it?
is there a prob?
I just want it to be heard from all peepz thx
//#CLIENTSIDE
function onCreated(){
timeout=.1;
}
function onTimeout(){
play stef12.mid;
timeout=.1;
}
|
Big issue of GS1 and GS2 mixup
Now if you want everyone to hear it a simple way to do this is by a class(not the best but its simple) (I try to give simple answers not most efficient. Someone feel free to correct me)
Put this in a level.
PHP Code:
function onPlayerEnters()
{
join "classname";
}
Class:
PHP Code:
//#CLIENTSIDE
function onCreated()
{
setTimer(0.01);
onTimeOut();
}
function onTimeOut()
{
play ("stef12.mid");
setTimer(0.01);
}
The better way though would to be a tokenized serverflag but I don't have the experience to show proper use of it xP