GetMinuteDuration

From Multi Theft Auto: Wiki
Revision as of 09:32, 12 July 2017 by MaK$iM (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Tells you how long an ingame minute takes in real-world milliseconds. The default GTA value is 1000.

Syntax

int getMinuteDuration ( )

Required Arguments

None

Returns

Returns the number of real-world milliseconds that go in an ingame minute.

Example

This example prints the server's minute duration

addCommandHandler("duration",function()
	outputChatBox("minute duration is :"..getMinuteDuration())
end)

See Also