getMinuteDuration | Multi Theft Auto: Wiki Skip to content

getMinuteDuration

Client-side
Server-side
Shared

This page is incomplete! Help wanted!

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


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

Syntax

getMinuteDuration ( )

Code Examples

server

This example prints the server's minute duration

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

See Also

World Functions