Skip to main content

set_scale

Function set_scale 

Source
pub fn set_scale(pid: u16, scale: f64)
Expand description

Set the scale of a player.

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

pid The player ID.
scale The new scale.

Returns void