AMX Mod X API Documentation

Signature
enum DataPack { Invalid_DataPack = 0 };
Description

Datapack tag declaration

Notes
  • Datapacks provide a way to store and move around arbitrary amounts (and

    types) of data in AMX Mox X. Data is packed into a single cell value -

    the DataPack handle. This handle can be passed around more easily, can

    be returned by functions and can simulate advanced concepts like string

    consummation.

  • Plugins are responsible for freeing all datapack handles they acquire.

    Failing to free handles will result in the plugin and AMXX leaking

    memory.

Назад
Верх