AMX Mod X API Documentation

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

Called when a client is connecting.

Notes
  • This forward is called too early to do anything that directly affects

    the client.

Parameters
  • 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)
Returns

PLUGIN_CONTINUE to let a client join to the server

PLUGIN_HANDLED or higher to prevent a client to join

Назад
Верх