M MY Multiplayer: Wiki
Side
Kind

setMinuteDuration

Client

Sets how much real time one game minute lasts on this client.

Also exists on the server, with its own implementation: setMinuteDuration

bool setMinuteDuration(float milliseconds)

Parameters

NameTypeDescription
millisecondsfloatHow long one game minute lasts, in milliseconds. Zero or less stops the clock.

Returns

true once the duration is set.

Example

setMinuteDuration(60000) -- the game clock runs at real time

See also