AMX Mod X API Documentation

Signature
native json_array_get_string(const JSON:array, index, buffer[], maxlen);
Description

Gets string data from the array.

Parameters
  • array Array handle
  • index Position in the array (starting from 0)
  • buffer Buffer to copy string to
  • maxlen Maximum size of the buffer
Returns

The number of cells written to the buffer

Errors
  • If passed handle is not a valid array
Назад
Верх