I am sure both notes are inside 'my->distance' range and 'ent_get_type(hit->entity) == STATIC_NOTEPAD' gets true no matter wich note camera is looking to, so both texts are shown.

Modifying that comparision to 'hit->entity == me' will solve the problem since you know 'me' is a note already.

Anyway your code performs a c_trace for each note. That is a pretty wasteful way to go. Try to call a single 'c_trace' for every scaneable entity just after camera movement inside cameras function. The use of 'c_ignore' is a good habit too.

Salud!