Get ItemType through Perl?
Afternoon ladies/gents/trolls,
I am trying to see if one can dig up the itemtype of an item in a bag? I am trying to accomplish this because I want to create a system where players can place temporary items in this bag, summon a pet, and have the weapons "cloned" on to the pet. I am asking because I need to ensure that a player isn't dropping two 2h weapons in there or two shields. -Hate |
You can use $client->GetItemStat($client->GetItemIDAt(Slot ID), "itemtype");
251-330 Is for bag slots, check item.cpp for slots like shared bank bags, bank bags, cursor bags, etc. |
Awesome! Thank you!
-Hate |
You're welcome.
|
All times are GMT -4. The time now is 10:35 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.