This site has been archived and made available for preservation purposes. No edits can be made.
SetGameTime
(Difference between revisions)
Return to current revision
-
Sets the in-game time.
[h="2"] Declaration [/h]
[highlight=cpp]
VAULTSCRIPT VAULTSPACE Void (*VAULTAPI(SetGameTime))(VAULTSPACE Time) VAULTCPP(noexcept);
[/highlight]
[highlight=c]
native SetGameTime(time);
[/highlight]
[h="2"] Parameters [/h]
-
-
[b][wiki="Time"]Time[/wiki][/b] - the new time. This is a 64bit unixtime value
-
+
[b][wiki="Time"]Time[/wiki][/b] - the new time (64bit unixtime)
-
[h="2"] Return value [/h]
None.
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Game functions[/category]