PP_Cam.bmap = bmap_for_entity(PP_Quad,0);

muss glaub ich

camera.bmap = bmap_for_entity(PP_Quad,0);

sein....