Skip to content

IOnServerInitialized

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 IOnServerInitialized(  )
{
    Puts( "IOnServerInitialized works!" );
}

Location

  • ServerMgr::OpenConnection(bool useSteamServer)
csharp
//---
	ConsoleSystem.OnReplicatedVarChanged += new Action<string, string>(ServerMgr.OnReplicatedVarChanged);
	if (ConVar.Server.autoUploadMap)
	{
		MapUploader.UploadMap();
	}
	Interface.CallHook("IOnServerInitialized");
}

Released under the MIT License.