Quote:
Originally Posted by ffcmike
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);
}
|
Doesn't seem to work, I also tried triggering the server to do the stuff needed when hit.