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

SetServerRule

(Difference between revisions)
Return to current revision
  1.  
    [image]Rules.png|thumb|right|Server rules[/image]
    Defines a new server rule.
    [h="2"] Declaration [/h]
    [highlight=cpp]
    VAULTSCRIPT VAULTSPACE Void (*VAULTAPI(SetServerRule))(VAULTSPACE cRawString, VAULTSPACE cRawString) _CPP(noexcept);
  2. -
    native SetServerRule(rule{}, value{});
  3.  
    [/highlight]
    [highlight=c]
    native SetServerRule(const rule{}, const value{});
    [/highlight]
    [h="2"] Parameters [/h]
    [b][wiki="cRawString"]cRawString[/wiki][/b] - the new rule (key)
    [b][wiki="cRawString"]cRawString[/wiki][/b] - the value of the rule
    [h="2"] Return value [/h]
    None.
    [category]VaultMP interface[/category]
    [category]Scripting functions[/category]
    [category]Misc functions[/category]