connect: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Revision as of 18:22, 4 October 2019
Function
Client Only
Online and Offline
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