Jump to content

Question

8 answers to this question

Recommended Posts

  • 0
Posted

Hello I use l2jfrozen pack and im trying to make an item that gives the play a level or more

I have made the code but the AddLevel has error

 

Code: http://pastebin.com/qMCfJqZZ

you want add 1 by 1 level per item use or you want when player use that item auto goes to 80 lvl for example?

  • 0
Posted (edited)

Because the method addLevel doesn't exist? Use proper method and you will be fine :D

Edited by SweeTs
  • 0
Posted

L2PcInstance doesn't have addLevel method.. look at head-src/com/l2jfrozen/gameserver/handler/admincommandhandlers/AdminLevel.java for example

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..