Client (3)

All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.

  • Gets called when a Carbon client is ready for further networking with Carbon client-enabled servers.

  • Returning a non-null value cancels default behavior.

  • This hook is Carbon-only compatible.

Example
void OnCarbonClientReady(Carbon.Client.CarbonClient client)
{
    Puts("OnCarbonClientReady was called!");
}
  • Gets called when a Carbon client starts downloading addons.

  • Returning a non-null value cancels default behavior.

  • This hook is Carbon-only compatible.

Example
void OnClientAddonsDownload(Carbon.Client.SDK.ICarbonClient client)
{
    Puts("OnClientAddonsDownload was called!");
}
  • Gets called when a Carbon client finishes downloading addons.

  • Returning a non-null value cancels default behavior.

  • This hook is Carbon-only compatible.

Example
void OnClientAddonsFinalized(Carbon.Client.SDK.ICarbonClient client)
{
    Puts("OnClientAddonsFinalized was called!");
}

Last updated