How do I rotate an NPC model?

I have a friend who sent me a model and asked me if I can make it into an NPC like a city scanner. So far, I’ve got it working, but it’s sideways because of the model is sideways and looks very silly. Is there something I can add to the lua to make it rotate? If so, how would I add it in the npc.

I’ve found this, but I’m not sure if it applies or how to put it in.

In worse case I’ll try to hack apart the model and see if i can make it work. Otherwise my friend will just have to deal with a sideways NPC.


Ent:SetAngles( VECTOR ) ?

I’ll give it a shot. Might be a little bit before I get to it but I’ll post back if I get it working or not.