SetTimeFrozen

From Multi Theft Auto: Wiki
Revision as of 09:01, 17 August 2024 by Tracer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

BETA: NEW FEATURE (BUILD: 1.6.0 r22676)

This function will freeze the game time. It will affect the weather as well.

Syntax

bool setTimeFrozen ( bool state )

Required arguments

  • state: if true it will freeze the time, false otherwise.

Returns

Always returns true.

Example

This example let you freeze the time

setTimeFrozen ( true )

See Also