Source2Toolkit
Core api

IToolkitPlugin

IToolkitPlugin

IToolkitPlugin

bool Load(id, api, error, maxlen, late)

Called when plugin is loaded.

Parameters
  • id PluginId — Plugin identifier
  • api IToolkitAPI* — Toolkit API instance
  • error char* — Buffer for error message
  • maxlen size_t — Error buffer size
  • late bool — True if loaded after server start

const char* GetAuthor()

Called when plugin is unloaded.Plugin author name

const char* GetName()

Plugin name

const char* GetDescription()

Plugin description

const char* GetVersion()

Plugin version

On this page