Skip to content

function setTime (server-side)

Available since version: 0.1.0

This function will set the current time in the game to the given time, for all the players.

Declaration

void setTime(int hour, int min)

Parameters

  • int hour: the hour of new time (in the range between 0-23).
  • int min: the minute of new time (in the range between 0-59).