API StationSellItem
From Vendetta Lua
Jump to navigationJump to search
StationSellItem
Definition:
StationSellItem(userdata button, table item, int quantity, function cb) -> nil
Description:
Sell items with aconfirmation dialog
Arguments:
button button that clalled this function. it will be activated if sale failed
item iteminfo
quantity how many units to sell
cb optional function to call when done. an error code is passed to it