View Single Post
  #4  
Old 01-11-2012, 03:24 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
I believe putbomb2 version you're trying to use is server-side only.

Try:

PHP Code:
function onActionServerSide() {
  if (
params[0] == "bomb") {
    
// This should work
    
player.level.putbomb2(23030"bomb1.png");
    
// This also might work
    
putbomb2(23032"bomb1.png");
  }
}

//#CLIENTSIDE
function onCreated() {
  
triggerserver("gui"this.name"bomb");

__________________
Quote:
Reply With Quote