Skip to main content

SetTime

This function sets the world time.

  • hours: parameter input should be in int type
  • minutes: parameter input should be in int type
  • seconds: parameter input should be in int type

Set time to 23:15. {{#tag:syntaxhighlight| World.SetTime(23, 15, 0); |lang=csharp}} }}