
04-02-2002, 03:19 AM
|
|
Banned
|
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
|
|
|
try this, just edit it to get the andor hat stuff, I had to change it to work it offline since I don't have those graphics
if(created){
this.item = 10;
setstring this.layer,#a;
setshape 1,48,48;
setimg hat#v(this.item).png;
setimgpart hat#v(this.item).png,40,0,60,50;
}
if (playertouchsme) {
setstring client.hatc#v(this.item),#v(strtofloat(#s(client.h atc#v(this.item)))+1);
savelog2 hat-log.txt, +hat: #v(this.item) at (x,y) in #L from #s(this.layer);
destroy;
} |
|
|
|