native
nvault_open
Syntax
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. |
|---|
Return
The vault handle to be used in other natives.
INVALID_HANDLE (-1) if not successfully opened.