View Single Post
  #6  
Old 04-01-2002, 02:06 PM
Bhala Bhala is offline
Disgruntled Monkey
Bhala's Avatar
Join Date: Mar 2001
Posts: 779
Bhala is on a distinguished road
NPC Code:

if(created){
this.item = 10;
setstring this.layer,#a;
setshape 1,48,48;
setimg andor_hat#v(this.item).mng;
}
if (playertouchsme) {
hatc = strtofloat(#s(hatc#v(this.item)))+1;
setstring client.hatc#v(this.item),#v(hatc);
savelog2 hat-log.txt, +hat: #v(this.item) at (x,y) in #L from #s(this.layer);
destroy;
}



this is a server side script...... IT NO WORKIE!!!!
Reply With Quote