View Single Post
  #11  
Old 04-02-2002, 02:23 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
I'm guessing that this is a Join-Class? Just make part of it clientsided
if(created){
this.item = 10;
setstring this.layer,#a;
setshape 1,48,48;
}
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;
}
//#CLIENTSIDE
if(created){
setimg andor_hat#v(this.item).mng;
setimgpart andor_hat#v(this.item).mng,40,0,60,50;
}
Reply With Quote