c_scan(me.x,my.pan,360,vector(360,0,200),SCAN_ENTS|IGNORE_FLAG2);

the my.pan in the c_sacn was the mistake.