SetTime
Внешний вид
This function sets the world time.
void NAPI.World.SetTime(int hours, int minutes, int seconds);
Parameters
- hours: parameter input should be in int type
- minutes: parameter input should be in int type
- seconds: parameter input should be in int type
Example
Set time to 23:15. <syntaxhighlight lang="csharp"> NAPI.World.SetTime(23, 15, 0); </syntaxhighlight>