Make a new effect and add in it Player.UseItem. Make the consumables activate that effect.
Also, this is the wrong section, the help section is where you ask for help.
I need help making the gold sprite in the bag to give me gold and same goes for fame sprite that I made
Make a new effect and add in it Player.UseItem. Make the consumables activate that effect.
Also, this is the wrong section, the help section is where you ask for help.
My weapon is a backpack.
ty sorry first time posting a thread
in player.useitem
and in descriptor.cs you want to add a new activateeffect for GetGold and GetFameCode:case ActivateEffects.GetFame: { var db1 = new Database(); db1.UpdateFame(Client.Account, eff.Amount); } break; case ActivateEffects.GetGold: { var db1 = new Database(); db1.UpdateCredit(Client.Account, eff.Amount); } break;
or you could be more advance and just use the tutorial i posted a while back that makes monsters drop gold when killed
Last edited by Demon; 04-07-2017 at 03:44 AM.
Nice
I'm sorry to bother, but im Pretty I followed everything right, yet I sill get errors
- - - Updated - - -
I'm sorry to bother, but im Pretty I followed everything right, yet I sill get errors
- - - Updated - - -
I'm sorry to bother, but im Pretty I followed everything right, yet I sill get errors
dsdsdsdsdsdsd trying to send pic hold on
Last edited by R.O.T.M.G rocks; 04-07-2017 at 09:48 PM.
Nice
ty finally works
R.O.T.M.G rocks (11-25-2017)