AMX Mod X API Documentation

Signature
native bool:json_array_replace_value(JSON:array, index, const JSON:value);
Description

Replaces an element in the array with value.

Parameters
  • array Array handle
  • index Position in the array to be replaced
  • value JSON handle to set
Returns

True if succeed, false otherwise

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