AMX Mod X API Documentation

Signature
native JSON:json_array_get_value(const JSON:array, index);
Description

Gets a value from the array.

Notes
  • Needs to be freed using json_free() native.
Parameters
  • array Array handle
  • index Position in the array (starting from 0)
Returns

JSON handle, Invalid_JSON if error occurred

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