This site has been archived and made available for preservation purposes. No edits can be made.
SetServerMap
(Difference between revisions)
Return to current revision
-
Sets the map of the server.
-
-
== Declaration ==
<code cpp>
VAULTSCRIPT void (*SetServerMap)(std::string);
native SetServerMap(map{});
</code>
== Parameters ==
'''map''' - the new map
== Return value ==
-
+
[h="2"] Declaration [/h]
[highlight=cpp]
VAULTSCRIPT VAULTSPACE Void (*VAULTAPI(SetServerMap))(VAULTSPACE cRawString) _CPP(noexcept);
[/highlight]
[highlight=c]
native SetServerMap(const map{});
[/highlight]
[h="2"] Parameters [/h]
[b][wiki="cRawString"]cRawString[/wiki][/b] - the new map
[h="2"] Return value [/h]
-
None.
-
-
== Usage example (C++) ==
<code cpp>
std::string map = "Vault 101";
SetServerMap(map);
</code>
-
+
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Misc functions[/category]