Table of Contents

Delegate Listeners.OnClientConnect

Namespace
CounterStrikeSharp.API.Core
Assembly
CounterStrikeSharp.API.dll

Called when a client connects to the server.

[ListenerName("OnClientConnect")]
public delegate void Listeners.OnClientConnect(int playerSlot, string name, string ipAddress)

Parameters

playerSlot int

The player slot of the connected client.

name string

The name of the connected client.

ipAddress string

The IP address of the connected client.