Functions

nvault.inc

amxmodx 1.8.2 hg65

Function Type Description
nvault_close native Closes a vault
nvault_get native Gets a vault value by returning an int
setting a byref float or setting a string + maxlength
nvault_lookup native Looks up a vault value for full information
Returns 0 if the entry is not found
nvault_open native Opens a vault by name (such as "myvault")
Returns a vault id, INVALID_HANDLE otherwise (-1)
nvault_prune native Prunes the vault for entries that are within the given timestamps.
This will not erase values set with pset
nvault_pset native Sets a permanent vault value (no timestamp)
nvault_remove native Removes a key from the vault
nvault_set native Sets a vault value (with current timestamp)
nvault_touch native "Touches" a key to update its timestamp value.
If stamp is -1 (default), it will use the current time.
Like the unix command "touch," it will create an empty key
if the value does not exist.