AMX Mod X API Documentation

Signature
native bool:PopStackCell(Stack:handle, &any:value, block = 0, bool:asChar = false);
Description

Pops a cell value from a stack.

Parameters
  • handle Stack handle
  • value Variable to store the value in
  • block Optionally specify which block to read from (useful if the

    blocksize is > 0)

  • asChar Optionally read as a byte instead of a cell
Returns

True on success, false if the stack is empty.

Errors
  • If an invalid handle, invalid block or invalid byte is

    provided, an error will be thrown.

Назад
Верх