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

SetServerRule

This is an old revision of this page, as edited 04-26-2012, 09:44 PM by foxtacles (contribs). It may differ significantly from the current revision.
Server rulesServer rules

Defines a new server rule.

[top]Declaration

Code cpp:
VAULTSCRIPT vaultmp::Void (*SetServerRule)(std::string, std::string);
native SetServerRule(rule{}, value{});

[top]Parameters

rule - the new rule (key)
value - the value of the rule

[top]Return value

None.

[top]Usage example (C++)

Code cpp:
std::string key = "website";
std::string value = "vaultmp.com";
SetServerRule(key, value);