Make items for All your dps name them what you want but you will have to add them names to the itmname part for each one in both of the parts of code.
First
Open Inventory.php Add at bottom with the rest
if($i['itmname'] == ' DP NAME PACK HERE')
{
echo " [[url='itemuse.php?ID={$i[']Use[/url]]";
}
This provides the use button on that dp just copy this for all your dps and rename the item name part.
Then open itemuse.php
add this in there with the others edit it to suit your dps
if($r['itmname'] == 'DP NAME HERE')
{
mysql_query("UPDATE users SET donatordaysdays=donatordays+30 WHERE userid=$userid",$c);
mysql_query("UPDATE users SET crystals=crystals+100 WHERE userid=$userid",$c);
mysql_query("UPDATE users SET money=money+1500 WHERE userid=$userid",$c);
mysql_query("UPDATE users SET iq=iq+30 WHERE userid=$userid",$c);
}
Do as many of them as you need for your DPS then save and test also you will need to edit the numbers so that it provides what you need
Thanks InToXiDaTiOn
Updated:
Want a energy potion? follow this same as above just a different query
if($i['itmname'] == 'Energy Potion')
{
echo " [[url='itemuse.php?ID={$i[']Use[/url]]";
}
if($r['itmname'] == 'Energy Potion')
{
mysql_query("UPDATE users SET energy=maxenergy WHERE userid=$userid",$c);
}
Then make a item called Energy Potion and test it and there you go you have a energy potion which you can make real cash off if you add to dps or even just have like will potions,
Thanks
InToXiCaTiOn