How can I take a few items?
Opened this issue · 1 comments
ankkk commented
Hi, how can I take a few items? Tried so, but take one item:
foreach ($itemsPlayer as $item) {
$trade->addOtherItem(730, 2, $item);
}
CyanoFresh commented
Try hardcoding to test it:
$trade->addOtherItem(730, 2, 'ASSET_ID_HERE');
$trade->addOtherItem(730, 2, 'ANOTHER_ASSET_ID_HERE');
$trade->addOtherItem(730, 2, 'YET_ANOTHER_ASSET_ID_HERE');