RemoveRuleValue

From Multi Theft Auto: Wiki
Revision as of 09:29, 3 October 2024 by Fernando187 (talk | contribs) (fix typo in example comment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function removes a set rule value that can be viewed by server browsers.

Syntax

bool removeRuleValue ( string key )              

Required Arguments

  • key: The name of the rule you wish to remove

Returns

Returns true if the rule value was removed, false if it failed.

Example

This example shows how you could unset/remove a rule that shows that your script is running on the server.

removeRuleValue ( "myScriptRunning" )

See Also