Jump to content
McKay Development

Manipulate item amount after adding it?


Recommended Posts

Hey Guys,

 

i run into a very simple problem but cant find a solution for it.

during my creation process for the trade offer, i run a kind of loop and insert each item single into the trade offer object.

the problem behind is, after ive added a item (e.g. a cs:go case) and in a other round of inserting i add the same case again the object "fails" to insert it, since its allready in it.

 

the solution should be to increase the amount of it.

and theres where i cant find a solution for, since its not only to increase it to 2..

it could also be 3-xxxx .

 

is there any way to recieve the amount of the item allready in the "offer object" so i can increase this directly or remove the item and insert it with a higher amount then ?

 

 

 

 

p.s.

sry for a non nativ english ;) tried my best :P

Link to comment
Share on other sites

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
Reply to this topic...

×   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.

Loading...
×
×
  • Create New...