SetTime
This function sets the world time.
Syntax
void NAPI.World.SetTime(int hours, int minutes, int seconds);
Required Arguments
- 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
C# Syntax
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
Set time to 23:15.
Example
NAPI.World.SetTime(23, 15, 0);