server.minClientVersion: Difference between revisions
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 edit summary |
||
Line 7: | Line 7: | ||
|usage = fetch the lowest client version that the server allows | |usage = fetch the lowest client version that the server allows | ||
|returnInfo = the lowest client version that the server allows | |returnInfo = the lowest client version that the server allows | ||
|notes = This is available so servers can allow clients with outdated versions to connect. | |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.''' Check the [https://gtaconnected.com/networkVersions/ network versions list] to see which clients and servers can use which netcode versions. | ||
|since = 1.2.0 | |since = 1.2.0 | ||
}} | }} |
Latest revision as of 04:54, 10 November 2020
Variable
Server Only
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. Check the network versions list to see which clients and servers can use which netcode versions.
Examples
There aren't any examples for this variable.
Compatibility
There isn't any compatibility information for this variable.
Related
Server Related
getClient
getClientFromPlayerElement
getClients
localClient
client.administrator
client.cameraInterior
client.console
client.despawnPlayer
client.disconnect
client.game
client.gameVersion
client.getData
client.index
client.ip
client.name
client.ping
client.player
client.removeAllData
client.removeData
client.setData