Jump to content

how can I invoke current player's bag in Player.cpp


Recommended Posts

Posted

As the head talking about, I want to invoke current player's inventory and count how many empty slots it has.

I just copy the code like "Bag* pBag = (Bag*)GetItemByPos (INVENTORY_SLOT_BAG_0, bag);"

Does it work?

Can somebody give me an instruction?

thanks in advance!

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use