SetTime

From Multi Theft Auto: Wiki
Revision as of 16:16, 13 August 2007 by Norby89 (talk | contribs)
Jump to navigation Jump to search

This function sets the current time to the given time. It returns false if it fails.

Syntax

setTime ( int hour, int minute )

Required Arguments

  • hour: The hour of the new time (range 0-23)
  • minute: The minute of the new time (range 0-59)

Example

 setTime ( 18, 0 )
outputChatBox ( "Time changed to 18:00!" )

See Also