Welcome to PenUltima Online. Click to login or register.

Functions:

DestroyItem( Item )
Parameters:
Name Type
Item Item Reference
Explanation
Removes an item from the world. Transmits commands to each client in range of item to reflect this.
Notes: runs the Item's destroy script, if any.
Return values
1 if the item was destroyed
0 if the item's destroy script disallowed destruction
Errors
"That item is being used."
"Invalid parameter type"
Related
Item