IOnPlayerConnected
WARNING
This is an internal hook and will not be called in plugins. See Internal Hooks for more information.
Usage
- No return behavior
Example Autogenerated
csharp
private void IOnPlayerConnected( BasePlayer instance )
{
Puts( "IOnPlayerConnected works!" );
}
Location
- BasePlayer::PlayerInit(Network.Connection c)
csharp
//---
}
if (this.net != null)
{
EACServer.OnStartLoading(this.net.connection);
}
Interface.CallHook("IOnPlayerConnected", this);
if (this.IsAdmin)
{
if (ConVar.AntiHack.noclip_protection <= 0)
{
this.ChatMessage("antihack.noclip_protection is disabled!");
//---