RemoveRuleValue

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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 set a rule that shows that your script is running on the server.

removeRuleValue ( "myScriptRunning" )

See Also