EDIT: Edited the title to avoid confusion between player character model and p_wpn.mdl models.
So I've got a generic entity whose model has been set to a player model eg. sas.
How do I adjust the model's horizontal and vertical angles? If I were to modify the ent's angles and/or viewangles, then the model would remain in a statue state. It would rotate but the bodyparts would not on their own like on a regular player.
PHP Code:
public create_ent() {
new ent = create_entity("info_target");
// Set model, origin, yada yada...
}
I can set the model animation sequence, but how do I change its actual pitch and yaw?