View Single Post
  #4  
Old 09-19-2010, 05:27 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
you need to trigger clients to make the song play for them also.

in a weapon everyone has like -MusicSystem try something like

PHP Code:
function onActionServerside(cmdp1){
  if(
cmd == "playall"){
    for(
temp.pallplayers){
      
p.triggerclient(this.name"play"p1);
    }
  }
}

//#CLIENTSIDE
function onPlayerChats(){
  if(
player.chat.starts(":start")){
    
triggerserver("gui"this.name"playall"player.chat.substring(7));
  }
}

function 
onActionClientside(cmdp1){
  if(
cmd == "play"){
    
play(p1);
  }

Not tested
Reply With Quote