Signature
native bool:PopStackString(Stack:handle, buffer[], maxlength, &written = 0);
Description
Pops a string value from a stack.
Parameters
- handle — Stack handle
- buffer — Buffer to copy string to
- maxlength — Maximum size of the buffer
- written — Variable to store number of characters copied to
Returns
True on success, false if the stack is empty
Errors
- If an invalid handle is provided an error will be thrown.