Jump to content

Runcode - Have x items


Recommended Posts

 

Running it like that.


Also tested:

wManager.Wow.Helpers.ItemsManager.GetItemCountByNameLUA(Boiled Blood) == 12;

wManager.Wow.Helpers.ItemsManager.GetItemCountByName(Boiled Blood) == 12;

wManager.Wow.Helpers.ItemsManager.GetItemCountById(30430) == 12;

Yea checked the name with the helper tool

 

 

Link to comment
Share on other sites

When you use name, you need to use ":

wManager.Wow.Helpers.ItemsManager.GetItemCountByNameLUA("Boiled Blood")

(but I don't recommand to use name, because this will work only with wow english client (if you use english name))

I think than you problem was caused by (you don't need to put ; at the end of conditions, if your problem is not resolved if you can share your log, you have probably errors)

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...