Help
Remember Me?
Home
Forum
Download
Scripting docs
Wiki
Main
Special Pages
Books
Recent Changes
Blogs
Wiki
Main
SetServerName
This site has been archived and made available for preservation purposes. No edits can be made.
If this is your first visit, be sure to check out the
FAQ
by clicking the link above. You may have to
register
before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
article
discussion
source
history
SetServerName
This is an old revision of this page, as edited 04-06-2012, 03:24 PM by
foxtacles
(
contribs
). It may differ significantly from the
current revision
.
(
diff
)
← Previous revision
|
Current Revision
(
diff
) |
Newer revision →
(
diff
)
Sets the name of the server.
[hide]
[top]
Declaration
<code cpp>
VAULTSCRIPT void (*SetServerName)(std::string);
native SetServerName(name{});
</code>
[hide]
[top]
Parameters
name
- the new server name
[hide]
[top]
Return value
None.
[hide]
[top]
Usage example (C++)
<code cpp>
std::string name = "My first server";
SetServerName(name);
</code>