This site has been archived and made available for preservation purposes. No edits can be made.

SetGameTime

(Difference between revisions)
Return to current revision
  1.  
    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]
  2. -
    [b][wiki="Time"]Time[/wiki][/b] - the new time (64bit unixtime)
  3. +
    [b][wiki="Time"]Time[/wiki][/b] - the new time (64bit unixtime value)
  4.  
    [h="2"] Return value [/h]
    None.
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Game functions[/category]