Jump to content
MakeWebGames

Adding a will potion to the dp's


spazz

Recommended Posts

Hello,

I have been searching around and trying diferent things for the past 2 weeks and now I am starting to get frustrated. What I am trying to do is when someone purchases one of the Donator Packs, along with all the standard items ie...money, crystals, etc, I would like to add a will potion to the list.

2 days ago, I finally figured out how to add it to staff_special and get it to work right using the following:

$itemid = 1;
item_add($userid, $itemid, 1);

and it seems to work fine, not sure if this is the correct way but after trial an error that seems to be the only way it works.

I tried to add the same lines to my ipn_donator and didn't work, unless I am doing something wrong. Since then I have been working countless hours trying to get it to work but to no avail...I can't seem to get it.

Could someone either point me in the right direction and give me an idea of what to do, but at this point I think I hit a brick wall.

Thanks

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.

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