View Single Post
  #29  
Old 04-09-2011, 08:02 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by skillmaster19 View Post
yup thats it! thanks! too bad I have to rescript the whole thing now...
You could try using triggeraction to simply communicate hits from Clientside to Serverside.

Such as like:

PHP Code:
function onCreated(){
  
this.setshape(1, 32, 32);
}

function 
onActionHit(){
  
//stuff
}

//#CLIENTSIDE

function onWasH1t(){
  
triggeraction(this.x + 1, this.y + 1, "Hit", params);
} 
Reply With Quote