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.
[h="2"] Declaration [/h]
-
-
<code cpp>
VAULTSCRIPT void (*SetServerMap)(std::string);
-
+
[highlight=cpp]
VAULTSCRIPT vaultmp::Void (*SetServerMap)(std::string);
-
native SetServerMap(map{});
-
-
</code>
-
+
[/highlight]
-
[h="2"] Parameters [/h]
[b]map[/b] - the new map
[h="2"] Return value [/h]
None.
[h="2"] Usage example (C++) [/h]
-
-
<code cpp>
-
+
[highlight=cpp]
-
std::string map = "Vault 101";
SetServerMap(map);
-
-
</code>
-
+
[/highlight]
-
[category]VaultMP interface[/category]
[category]Scripting functions[/category]
[category]Misc functions[/category]