amxmodx/plugins/include/vault.inc

26 lines
619 B
PHP
Raw Normal View History

/* Vault functions
2004-01-31 23:56:22 +03:00
*
* by the AMX Mod X Development Team
* originally developed by OLO
2004-02-08 14:31:54 +03:00
*
2004-01-31 23:56:22 +03:00
* This file is provided as is (no warranties).
*/
#if defined _vault_included
#endinput
#endif
#define _vault_included
2004-01-31 23:56:22 +03:00
/* Reads a data from given key.
* 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[]);