Jump to content

Question

Posted

Hey Awesome cheaters:cheer:

im stuck again :thinking:

now im working on Auction in the CB

i found a code and trying to adapt its 

i Stuck on this two things 

pack Acis

dont have the "createDummyItem"  what can replace it 

and createItem now is just Create but its giving me and error all the time

Thank you :dance:

 

ItemInstance itemBuy = ItemInstance.createItem("auction buy", ih.getItemId(), 1, player, player);
ItemInstance item = ItemTable.getInstance().createDummyItem(holder.getItemId());

1 answer to this question

Recommended Posts

  • 0
Posted
Quote

ItemInstance itemBuy =  player.addItem("auction buy", ih.getItemId(), 1, player, true);



ItemInstance item = player.addItem("auction buy", holder.getItemId(), XX , player, true);

 

 

Where XX is the count , probably holder.getCount() or smth similar exist 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...