TheLiam dein Code geht nicht

function coin1()
{
while(me)
{
if(event_type == EVENT_IMPACT)
{

wait(3);
ent_remove(me);
wait(3);

}
wait(1);
}

}

action coin()
{

c_setminmax(me);
my.push=-1;
my.emask |= ENABLE_IMPACT;
my.event=coin1;
coin1();
while(1)
{
my.pan = my.pan + 1.0;
wait (1);
}
wait(1);
}

ich hab in übersetzt doch es kommt das raus was ich als problem habe frown