client_connectex

Синтаксис

forward client_connectex(id, const name[], const ip[], reason[128]);

Употреба

id
Client index
name
Client name
ip
Client ip address with port
reason
A reason that will be displayed when player gets rejected (can be overwritten)

Описание

Called when a client is connecting.

Забележка

This forward is called too early to do anything that directly affects
the client.

Връщаща стойност

PLUGIN_CONTINUE to let a client join to the server
PLUGIN_HANDLED or higher to prevent a client to join