Thread: Tree Script ;)
View Single Post
  #1  
Old 03-20-2002, 05:03 AM
Kadar Kadar is offline
Registered User
Join Date: Jan 2002
Posts: 636
Kadar is on a distinguished road
Tree Script ;)

[Kadar]
I made this tree script becuase it gets really annoying when you have to keep making a tree stump then adding the newtreetop.gif and stuff..
Enjoy.

This can be used on any server i dont really care.

This is for p2p if you use it for nonp2p then your gonna have to edit a few things.
[/Kadar]

NPC Code:

// NPC made by Kadar
if (playerenters || created) {
setimg newtree.gif;
setshape2 8,10,{
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,
0,22,22,22,22,22,22,0,
0,0,22,22,22,22,0,0,
0,22,22,22,22,22,22,0,
0,0,22,22,22,22,0,0,
};
}
//#CLIENTSIDE
if (playerenters || timeout){
if ((playerx in |x-3,x+8|&&playery in |y-2,y+5|)){
drawoverplayer;
}
else drawunderplayer;
timeout = 0.05;
}

__________________

Last edited by Kadar; 03-20-2002 at 05:14 AM..
Reply With Quote