AMX Mod X API Documentation

Signature
native get_time(const format[], output[], len);
Description

Retrieves the current time using the specified format string.

Notes
  • Uses the strftime C function. For a list of valid format parameters,

    see: http://cplusplus.com/reference/clibrary/ctime/strftime.html

    A common example for a format string would be: "%m/%d/%Y - %H:%M:%S"

Parameters
  • format Format string
  • output Buffer to copy formatted time string to
  • len Maximum size of buffer
Returns

Number of cells written to buffer

Назад
Верх