You could use vecLightPos[8] and the player pos to calculate the distances with vec_dist to the closest active dynamic lights and the compare those with the ranges of each light to find out if the light hits the player.

cheers