[][src]Function tes3mp_plugin::plugin::generated::set_rot

pub fn set_rot(pid: u16, x: f64, z: f64)

Set the rotation of a player.

This changes the rotational coordinates recorded for that player in the server memory, but
does not by itself send a packet.

A player's Y rotation is always 0, which is why there is no Y rotation parameter.

pid The player ID.
x The X position.
z The Z position.

Returns void