removeRuleValue | Multi Theft Auto: Wiki Skip to content

removeRuleValue

Client-side
Server-side
Shared

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

Syntax

bool removeRuleValue ( string key )
Required Arguments
  • key: he name of the rule you wish to remove.

Returns

  • bool: result

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

Code Examples

server

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

removeRuleValue("myScriptRunning")