Jump to content
MakeWebGames

Recommended Posts

Posted

Re: Getting items to stack

umm....

by "stack" you mean

med X2

instead of

med

med

?? is that what you mean?

If so are you using v2?

If v2 then instead of

$db->query("INSERT INTO INVETORY")

use the function in the game...

item_add(USERID, ITEMID, QTY);

if your not using v2 that wont work. Hope this helps.

Posted

Re: Getting items to stack

I don't think I entered the code right cus I'm getting a Query error, I was using

$db->query("INSERT INTO inventory VALUES('',$itemidexplore,$userid,1)",$c);

I tried

$db->query("item_add ('',$itemidexplore,$userid,1)",$c);

any help? Sorry for being so needy Bama :(

Fixed it! Lol ty for the help though /hug to bama :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...