hmmm
just do in a script
HTML Code:
function onCreated() {
this.b_area = {2, 2}; //32x32 px
this.join("block_area");
}
in the class
HTML Code:
function onCreated() {
this.setShape(1,16 * this.b_area[0], 16 * this.b_area[1]);
save[1] = this.b_area[0];
save[2] = this.b_area[1];
}
//#CLIENTSIDE
function onCreated() {
this.setShape(1, 16 * save[1], 16 * save[2]);
}
Shouldn't cause any lagg