DisplayAskConnectBox Function

Displays a panel asking the client to connect to a specified IP.

void DisplayAskConnectBox(int client, float time, const char[] ip, const char[] password)

Parameters

int client

Client index.

float time

Duration to hold the panel on the client's screen.

const char[] ip

Destination IP.

const char[] password

Password to connect to the destination IP. The client will be able to see this.

Errors

Invalid client index, or client not in game.