server.setRule: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 7: Line 7:
|parameter2 = String value The rule's value
|parameter2 = String value The rule's value
|return1 = Null
|return1 = Null
|returnFail1 = Null
|usage = set a server rule
|usage = set a server rule
|returnInfo = null
|returnInfo = null

Latest revision as of 02:22, 10 November 2020

Function Server Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.2.2

Null server.setRule(String name, String value)

The server.setRule function is used to set a server rule.

Parameters

1) String name The rule's name/key.
2) String value The rule's value.

Return

Null This function doesn't return a value.

Notes

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.