An axis is a direction in space where the object rotates about. An angle however gives the orientation of an object relative to the coordinate axes. Both are different and must not be confused. The engine uses the ANGLE struct for angles and the VECTOR struct for an axis, as you see in pXent_setangvelocity. Hope this helps.

There is no function that finds both static and dynamic lights, but you can use c_scan to find the nearest static lights, and combine this with ent_nextlight to find both sorts of lights.