fvault_touch

Синтаксис

stock fvault_touch(const vaultname[], const key[], const timestamp=-1)

Употреба

vaultname
Vault name to look in
key
Key to update timestamp (if it doesn't exist, a blank value will be set)
timestamp
Unix Time to set for the key (-1 for current time)

Описание

Updates the timestamp on a key located within the vault

Връщаща стойност

Returns 2 on new entry, 1 on success, 0 on failure for the key having a permanent timestamp