Unfortunlty you can't get the number the model has been scaled. You need to store this yourself.
Create the box so it fits the mesh.
Store the amount the entity has been scaled.
Use this number and multiple the collision box boundries by it.
scale=2
entitybox mesh,x,y,z,width*scale,height*scale,depth*scale
something like that.
Create the box so it fits the mesh.
Store the amount the entity has been scaled.
Use this number and multiple the collision box boundries by it.
scale=2
entitybox mesh,x,y,z,width*scale,height*scale,depth*scale
something like that.