ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. getMinuteDuration

Function

getMinuteDuration

Server and clientMiscellaneousIdentical to MTA:SA

Returns the game clock minute length in milliseconds.

Syntax

int getMinuteDuration()

Returns

Milliseconds.

Example

outputServerLog("Minuta gry: " .. getMinuteDuration() .. " ms")

See also