Quote:
|
Originally Posted by calum
Shouldn't it be...
NPC Code:
this.height = imgheight(chair1.png);
this.width = imgwidth(chair1.png);
|
width and height are npc variables that return the pixel size of the npc (that has a size, of course), there isn't anything left to explain, save for just giving you a script (which Goboom practically did

)