server.getCVar: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = shared |type = method |class = Server |name = getCVar |parameters = string dataName |parameter1 = string dataName The string name for the cvar. |retur...")
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem
|endpoint = shared
|endpoint = server
|type = method
|type = method
|class = Server
|class = Server
Line 10: Line 10:
|usage = get the value set for this cvar in the [[ServerConfiguration|server configuration]]
|usage = get the value set for this cvar in the [[ServerConfiguration|server configuration]]
|returnInfo = the value set for this cvar in the [[ServerConfiguration|server configuration]]
|returnInfo = the value set for this cvar in the [[ServerConfiguration|server configuration]]
|since = 1.2.0
}}
}}

Latest revision as of 05:10, 10 November 2020

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

Available since Server 1.2.0

string server.getCVar(string dataName)

The server.getCVar method is used to get the value set for this cvar in the server configuration.

Parameters

1) string dataName The string name for the cvar.

Return

string The value for the cvar.

Types

Client Server

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.