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

SetServerMap

(Difference between revisions)
Return to current revision
  1.  
    Sets the map of the server.
    [h="2"] Declaration [/h]
    [highlight=cpp]
  2. -
    VAULTSCRIPT vaultmp::Void (*SetServerMap)(vaultmp::String);
  3. +
    VAULTSCRIPT VAULTSPACE Void (*VAULTAPI(SetServerMap))(VAULTSPACE cRawString) _CPP(noexcept);
  4.  
    native SetServerMap(map{});
  5. +
    [/highlight]
    [highlight=cpp]
    native SetServerMap(const map{});
  6.  
    [/highlight]
    [h="2"] Parameters [/h]
  7. -
    [b][wiki="String"]vaultmp::String[/wiki][/b] - the new map
  8. +
    [b][wiki="cRawString"]cRawString[/wiki][/b] - the new map
  9.  
    [h="2"] Return value [/h]
    None.
  10. -
    [h="2"] Usage example (C++) [/h]
    [highlight=cpp]
    vaultmp::String map = "Vault 101";
    SetServerMap(map);
    [/highlight]
  11.  
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Misc functions[/category]