Skip to content

TvT Only Nobless

Featured Replies

Does someone knows how to do that (TvT only for nobless) ?

add this in tvt.java

 

	public static boolean checknoble()
{
	if (!activeChar.isNoblesseBlessed())
	activeChar.sendMessage("you must be noblesse.");
	return true;
}

  • Author

In witch place ?

by the way, thanks, man :)

  • Author

In know that in tvt.java !!! But in with place to put it ?

after

 

	public static boolean checkMinLevel(int minlvl)
{
	if (_maxlvl <= minlvl) {
		return false;
	}
	return true;
}

  • Author

Thanks, solved, someone can lock the topic. :)

Thanks, solved, someone can lock the topic. :)

Unlocked.

 

Does someone knows how to do that (TvT only for nobless) ?

 

 

public static boolean checknoble()

{

if (!activeChar.isNoblesseBlessed())

activeChar.sendMessage("you must be noblesse.");

return true;

}

 

hmm??

 

Logic please.

 

 

 

Unlocked.

 

 

hmm??

 

Logic please.

 

 

 

sorry it's my fault

 

add this

 

	public static boolean checknoble()
{
	if (!activeChar.isNoble())
	activeChar.sendMessage("you must be noblesse.");
	return false;
}

fixed

Wouldnt it be better?

public static boolean checknoble()
{
	if (!activeChar.isNoble()){
	          activeChar.sendMessage("you must be noblesse.");
	          return false;
               }
               return true;
}

  • Author

Ok, now lock the topic :D

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.