Maybe I do not understand everthing from the manual because it is in english.

function Brick(var m_x, var m_y, var m_z,var mBy)
{
var y_position;
eBrick0001 = ent_create("Brick.mdl" ,vector(m_x, m_y, m_z), NULL);
phent_settype(eBrick0001,PH_RIGID,0);
phent_setmass(eBrick0001,0,PH_BOX);
eBrick0001.POLYGON=on;
set(eBrick0001,POLYGON);
// wait(1);
vec_set(eBrick0001.min_x,vector(Br_x-0.01,Br_y-0.01,Br_z-0.01));
vec_set(eBrick0001.max_x,vector(Br_x-17.97,Br_y-35.97,Br_z-12.97));
// wait(1);
c_setminmax(eBrick0001);
// c_updatehull(eBrick0001,1);
// wait(1);
y_position = eBrick0001.y;
eBrick0001.y = y_position+mBy;
// wait(5);
phent_settype(eBrick0001,0,0);
phent_settype(eBrick0001,PH_RIGID,PH_BOX);
// wait(1);
phent_setmass(eBrick0001,3,PH_BOX);
phent_setfriction(eBrick0001,90);
phent_setelasticity(eBrick0001,70,70);
phent_setdamping(eBrick0001,90,90);
set(eBrick0001,SHADOW);
eBrick0001.material = mat_metal;
eBrick0001.emask |= ENABLE_FRICTION;

// wait(5);
}


A8 PRO
Worst possible programmer (as bad as my english)