nvault_open

Синтаксис

native nvault_open(const name[]);

Употреба

name
Name of the vault. The vault will be created in
${amxx_datadir}/vault directory.

Описание

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

Връщаща стойност

The vault handle to be used in other natives.
INVALID_HANDLE (-1) if not successfully opened.