View Single Post
  #2  
Old 01-20-2011, 06:50 PM
Fulg0reSama Fulg0reSama is offline
Extrinsical Anomaly
Fulg0reSama's Avatar
Join Date: Sep 2009
Location: Ohio
Posts: 3,049
Fulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant futureFulg0reSama has a brilliant future
Quote:
Originally Posted by Diablo1 View Post
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
__________________

Careful, thoughts and opinions here scare people.
Reply With Quote