Skip to main content

set_time_scale

Function set_time_scale 

Source
pub fn set_time_scale(time_scale: f64)
Expand description

Set the world’s time scale in the write-only worldstate stored on the server.

pid The player ID.
time_scale The time scale.

Returns void