isTimeFrozen | Multi Theft Auto: Wiki Skip to content

isTimeFrozen

Client-side
Server-side
Shared

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function allows you to check whether time has been frozen using setTimeFrozen.

Syntax

bool isTimeFrozen ( )

Returns

  • bool: value

Returns true if time is frozen, false otherwise.

Code Examples

shared
addCommandHandler('freezetime', function()
setTimeFrozen(not isTimeFrozen())
end)

See Also

World Functions