Thread: Tree Chopping?
View Single Post
  #2  
Old 08-04-2006, 08:42 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by killerogue
PHP Code:
// Made by Kaidenn

// This is an example. Please rescript

function onCreated() {
  
setshape(14848);
  
this.life 5;
  
this.maxlife 5;
  
setcharani(NULLNULL /* 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(13232);

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?
Follow the comments x.x
Reply With Quote