AMX Mod X API Documentation

Signature
native bool:json_array_replace_number(JSON:array, index, number);
Description

Replaces an element in the array with number.

Parameters
  • array Array handle
  • index Position in the array to be replaced
  • number Number to set
Returns

True if succeed, false otherwise

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