M MY Multiplayer: Wiki
Side
Kind

setTimeFrozen

Client

Freezes or unfreezes the game clock on this client. While frozen the time does not advance, but setTime still changes it.

bool setTimeFrozen(bool frozen)

Parameters

NameTypeDescription
frozenbooltrue to freeze, false to let the clock run again.

Returns

true once the state is set.

Example

setTime(21, 30)
setTimeFrozen(true)

See also