Thank you, but now says from this line:
scan_entity (player.x, scanning_range.x);

Scan_entity undeclared identifier