nvault_get

Syntax

native nvault_get(vault, const key[], any:...);

Usage

vault
A vault handle returned from nvault_open()
key
A key to get the value from
...
If three argument are given, gets a float value and
puts it in the third argument by reference.
If four arguments are given, gets a string from the
vault and copies it to the third argument, up to
4th argument characters.

Description

Retrieves a value from the given key

Note

An example of retrieving a string:
nvault_get(vaultHandle, "myKey", myString, charsmax(myString));

Return

This function has no return value.

Error

On invalid vault handle.