AMX Mod X API Documentation

Signature
native ArraySetString(Array:which, item, const input[]);
Description

Sets an item's data to a string value.

Notes
  • The input will be truncated if it is longer than the cellsize the array

    was created with.

  • The item index must already be valid. Use ArrayPushString to create

    a new array item in the cellarray.

Parameters
  • which Array handle
  • item Item index in the array
  • input String to copy to the array
Returns

Number of characters copied

Errors
  • If an invalid handle or an invalid index is provided an

    error will be thrown.

Назад
Верх