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);
}