function bulletHit(){
/* Hit-Event */
}
function alginProjectil(ENTITY* bullet,ENTITY* weapon){
/* Algin bullets */
}
function shoot_bullet01(){
var life=50;
my.event=bulletHit;
alginProjectil(me,you);
ang_add(me.pan,vector(random(3)-1.5,random(3)-1.5,random(3)-1.5));
while(life>0){
c_move(me,vector(0,-1000*time_step,0),nullvector,USE_POLYGON | IGNORE_YOU);//[color:#FF0000]<---Crash[/color]
life-=1*time_step;
wait(1);
}
}