GetMinuteDuration

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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