GetTime

From Multi Theft Auto: Wiki
Revision as of 02:30, 1 April 2006 by ChrML (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This function returns the current time as two ints (hour and minute).

Syntax

int int getTime ()

Example

hour, min = getTime ()
serverChat ( "The current time is ", hour, ":", min )