2004-01-31 23:56:22 +03:00
|
|
|
/* Vault
|
|
|
|
*
|
2004-02-08 14:31:54 +03:00
|
|
|
* (c) 2002-2004, OLO
|
2004-02-15 05:29:51 +03:00
|
|
|
* modified by the AMX Mod X Development Team
|
2004-02-08 14:31:54 +03:00
|
|
|
*
|
2004-01-31 23:56:22 +03:00
|
|
|
* This file is provided as is (no warranties).
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* Reads a data from given key.
|
2004-02-15 05:29:51 +03:00
|
|
|
* If len is set to zero then get_vaultdata
|
|
|
|
* returns value as an number. */
|
2004-01-31 23:56:22 +03: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 05:29:51 +03:00
|
|
|
native vaultdata_exists(const key[]);
|