action bullet()
{

.............

while(1)
{
c_move(me,vector(40,0,0),nullvector,USE_BOX|IGNORE_MODELS);
c_scan(me.x,360,vector(360,0,200),SCAN_ENTS|IGNORE_FLAG2);
if (result<5) {ent_remove(me);}
wait(1);
}
}

and the engine crashes frown I can't find where is the mistake