Welcome to PenUltima Online. Click to login or register.

Functions:

SubtractAmount( item, amount )
Parameters:
Name Type
item Item Reference
amount Integer
Explanation
Decreases the stack size of an item. If nothing is left, deletes the item.
Return values
1 on success
Errors
"Invalid parameter type"
"That item is being used."
Related
Item