function create_px()
{
while (1)
{
add here:if(key_m)
in case it should be called only a single time, add this: while(key_m){wait(1);}
add here:{
vec_set(temp,vector(20,0,0));
vec_rotate(temp,(plBiped01_entity.pan);
vec_add(temp,(plBiped01_entity.x);
effect(effect_x, 1, temp, nullvector);
add here:}
wait (1);
}
}
don't (!) remove this line:on_m = create_px;