Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

  • 0

Help Premium On/Off Method

Go to solution Solved by Drazeal,


Hi, as title say, i want to make this premium visible on CB. It's good on .premium too, but i want something different.

If player buy for exemple, 1 day of premium, i want to display with ON, i want to add 3 methods. 1 day, 2 days and 3 days. Again, if player buy 1 day, and this is ON, 2 and 3 days, to be OFF.
I have something configured, but isn't good. I want to fix it.


int premiumDays = 0;
				returnHtml = returnHtml.replace("%if_player_buy_1_day%", Integer.toString(premiumDays, 1)); // if player buy 1 day, display ON. 2 & 3 days, off
				returnHtml = returnHtml.replace("%if_player_buy_2_days%", Integer.toString(premiumDays, 2)); // to display off
				returnHtml = returnHtml.replace("%if_player_buy_3_days%", Integer.toString(premiumDays, 3)); // to display off

Exemple it is here.


Thank's for reading ! 

for L2j-Mobius ( High Five )

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  • Solution

you can use voiced commands in htmls. i use it for "changepassword". Moved it on CB (using Mobius too)


bypass -h voice .premium (copy/move the required htmls)

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.