API PurchaseMerchandiseItem

From Vendetta Lua
Revision as of 21:50, 16 February 2009 by Mick (talk | contribs) (callback)
Jump to navigationJump to search

PurchaseMerchandiseItem

Definition: PurchaseMerchandiseItem(int itemid, int amount, func callback) -> nil
Description:
buy the provided item
Arguments:
itemid itemid of cargo merch item callback function that gets called when transaction is finished, callback is called with no arguments in case of success or with numeric errorcode in case of failure