server.minClientVersion: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
(Created page with "{{ScriptItem |endpoint = server |type = variable |name = server.minClientVersion |readonly = true |returnTypes = int |usage = fetch the lowest client version that the server a...")
(No difference)

Revision as of 04:53, 10 November 2020

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

Available since Server 1.2.0

int server.minClientVersion

The server.minClientVersion variable is used to fetch the lowest client version that the server allows.

Value

int The lowest client version that the server allows.
readonly This variable cannot be changed.

Notes

  • This is available so servers can allow clients with outdated versions to connect. ```Not all old client versions will work due to netcode changes```.

Examples

There aren't any examples for this variable.

Compatibility

There isn't any compatibility information for this variable.

Related

Server Related

icon-iii.png icon-vc.png icon-sa.png icon-iv.png getClient
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getClientFromPlayerElement
icon-iii.png icon-vc.png icon-sa.png icon-iv.png getClients
icon-iii.png icon-vc.png icon-sa.png icon-iv.png localClient

icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.administrator
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.cameraInterior
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.console
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.despawnPlayer
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.disconnect
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.game
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.gameVersion
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.getData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.index
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.ip
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.name
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.ping
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.player
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.removeAllData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.removeData
icon-iii.png icon-vc.png icon-sa.png icon-iv.png client.setData