• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

WorldSession :: SendListInventory

faiver

Esteemed Member
Hello friends trying to compile I get the following error
line (1273): error C2660WorldSession :: SendListInventory': function does not accept 2 arguments


Line 1273
player->GetSession()->SendListInventory(item->GetGUID(), 700020);


Thx
 

Tommy

Founder
Hello friends trying to compile I get the following error
line (1273): error C2660WorldSession :: SendListInventory': function does not accept 2 arguments


Line 1273
player->GetSession()->SendListInventory(item->GetGUID(), 700020);


Thx

That's only if you have Multi Vendor modification. Regardless, I believe the Multi Vendor modification has different function than that. 'SendListInventory' only has one argument and that is the vendor's GUID.

Code:
player->GetSession()->SendListInventory(creature->GetGUID());
 

Tommy

Founder
No.. I wrote in the code tags the correct way you're suppose to do it. It only has ONE argument, not two..
 
Top