View Single Post
  #6  
Old 05-17-2008, 08:05 PM
Stryke Stryke is offline
Scripter
Join Date: Apr 2008
Posts: 157
Stryke is an unknown quantity at this point
Doesn't show the leaps.

Weapon: Board
PHP Code:
function onTimeout() {
if(
onwater(player.x,player.y) && this.waterTimer == 0) {
  
findWeapon("-System/LeapControl").drawLeap(5,playerx,playery);
 }
this.waterTimer += 1;
if(
this.waterTimer >= 3)this.waterTimer 0;
timeout=0.05;

Weapon: -System/LeapControl
NPC Code:
//#CLIENTSIDE
function onCreated() {
leapcontrol = this;
}

public function drawLeap(_type, positionx, positiony) {
putleaps(_type, positionx, positiony);
}

Reply With Quote