SetTime

From RAGE Multiplayer Wiki

This function sets the world time.

C# Syntax

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.

NAPI.World.SetTime(23, 15, 0);