connect
Jump to navigation
Jump to search
Function
Client Only
Offline Only
Available since Client 1.0.72
void connect(string host, int port, [ string password = "" ])
The connect function is used to connect to a server.
Parameters
1) | string | host | The host to connect to. |
2) | int | port | The port to connect to. |
3) | string | password | Optional, defaults to "". The password to connect. |
Return
void | This function doesn't return a value. |
Notes
There aren't any notes for this function.
Examples
There aren't any examples for this function.
Compatibility
There isn't any compatibility information for this function.
Related
Client Related
addNetworkHandler
connect
disconnect
gta.shutdownAndLaunchNetworkGame
isConnected
isConnecting
removeNetworkHandler