2004-01-31 20:56:22 +00:00
|
|
|
/* Vault
|
|
|
|
*
|
2004-02-08 11:31:54 +00:00
|
|
|
* (c) 2002-2004, OLO
|
2004-02-15 02:29:51 +00:00
|
|
|
* modified by the AMX Mod X Development Team
|
2004-02-08 11:31:54 +00:00
|
|
|
*
|
2004-01-31 20:56:22 +00:00
|
|
|
* This file is provided as is (no warranties).
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Reads a data from given key.
|
2004-02-15 02:29:51 +00:00
|
|
|
* If len is set to zero then get_vaultdata
|
|
|
|
* returns value as an number. */
|
2004-01-31 20:56:22 +00:00
|
|
|
native get_vaultdata(const key[], data[] = "", len = 0);
|
|
|
|
|
|
|
|
/* Sets a data under given key. */
|
|
|
|
native set_vaultdata(const key[], const data[] = "" );
|
|
|
|
|
|
|
|
/* Removes a key from vault.*/
|
|
|
|
native remove_vaultdata(const key[]);
|
|
|
|
|
|
|
|
/* Checks if a key exists in the vault.*/
|
2004-02-15 02:29:51 +00:00
|
|
|
native vaultdata_exists(const key[]);
|