Scripting/Squirrel/Events/Game/onTimeChange
From VC-MP Wiki
This event is called when the time in the server changes.
Syntax
function onTimeChange( hour, minute )
Parameters
- hour - The new hour
- minute - The new minute
Example
This example will print the server time to the console.
function onTimeChange( hr, min ) { print( "Server Time: " + hr + ":" + min ); }
Related Events
- onTimeChange
- onWeatherChange
