View Single Post
  #3  
Old 08-26-2011, 03:28 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
PHP Code:
function onActionServerSide() {
  if (
params[0] == "test") {
    
player.triggerclient(this.name"msg"timevar2);
  }
}

//#CLIENTSIDE

function onCreated() {
  
triggerserver("gui"this.name"test");
}

function 
onActionClientSide() {
  if (
params[0] == "msg") {
    echo(
params[1]);
  }

Does the above only show one 'test <number>" when you apply the script?
__________________
Quote:
Reply With Quote