AMX Mod X API Documentation

Signature
native nvault_touch(vault, const key[], timestamp = -1);
Description

"Touches" an entry in the vault, updating its timestamp.

Notes
  • If timestamp is equal to -1, it will use the current time.
  • An empty entry is created if one with the given key doesn't exist.
Parameters
  • vault A vault handle returned from nvault_open()
  • key The key to search for
  • timestamp Update an entry's timestamp to this one. Default is -1.
No return value
Errors
  • On invalid vault handle.
Назад
Верх