PHP Code:
// Made by Kaidenn
// This is an example. Please rescript
function onCreated() {
setshape(1, 48, 48);
this.life = 5;
this.maxlife = 5;
setcharani(NULL, NULL /* whatever you use*/);
}
function onActionAxeHit() {
if (this.life > 0) {
this.life--;
// set your gani in some weird step script
} else {
setTimer(10);
}
}
function onTimeout() {
onCreated();
}
//#CLIENTSIDE
function onCreated() {
setshape(1, 32, 32);
}
Ok FIRST AND FOREMOST. I DID NOT START THIS SCRIPT. I WOULD JUST LIKE TO KNOW HOW TO COMPLETE IT. IT WAS MADE FOR MY SERVER. It's supposed to go like this showimg in between axe swings then after a certain number it's supposed to play a gani of the tree falling. Where and what do I write to make this so in this script? Help please?