AMX Mod X API Documentation

Signature
native nvault_open(const name[]);
Description

Opens a vault by name. Creates a vault if it doesn't exist yet.

Parameters
  • name Name of the vault. The vault will be created in

    ${amxx_datadir}/vault directory.

Returns

The vault handle to be used in other natives.

INVALID_HANDLE (-1) if not successfully opened.

Назад
Верх