function gondel3_move() {
var oid;
var pos[3];
proc_late();
my.passable = on;
my.overlay = on;
my.metal=on;
my.shadow=on;
my.pan=90;
my.tilt=0;
var kackhandle;
var sound_bremse;
var buegel_animation;
phent_settype(my,PH_RIGID,PH_POLY);
phent_setmass(my,0.001,PH_POLY);
phent_setgroup(my,2);
vec_set(pos,vector(0,0,1));
vec_rotate(pos,vector(0,13,0));
vec_rotate(pos,vector(90,0,0));
my.scale_y= 1.320;
my.scale_x= 1.320;
my.scale_z= 1.320;
oid = phcon_add(PH_HINGE,my,you);
phcon_setparams1(oid,my.x,pos,nullvector);
phcon_setparams2(oid,vector(-360,360,0),nullvector,nullvector);
phent_setdamping(my,100,50);
// ent_create("bdblack.mdl",my.z,g_trans);
ent_create("fontlightlll.mdl",my.z,gofront);
ent_create("bdbuegel.mdl",my.z,gondelalight54);
ent_create("backlihghtbb.mdl",my.z,gondelalight);
ent_create("backflasch.mdl",my.z,gondelalight);
// ent_create("fontlihghtbb.mdl",my.z,gofront);
// ent_create("bblight1.mdl",my.z,gondelalight);
// ent_create("spotlightfont.mdl",my.z,gofront);
// ent_create("bblight1.mdl",my.z,gondelstrobe);
// ent_create("spotlightfont.mdl",my.z,gofront);
ent_create("humannn.mdl",my.z,bdboy);
var Buegel;
while(1) {
if(gbremse == 1) {
phent_setdamping(my,0,0);
sleep(0.35);
phcon_setmotor(oid,vector(0, 0.00599,0),nullvector,nullvector);
phent_setDamping(my,5,5);
}else{
my.skill1 = 0;
phcon_setmotor(oid,nullvector,nullvector,nullvector);
phent_setdamping(my,10,10);
}
wait(1);
}
while(1) {
}
}