Jump to content
  • 0

How to fix trade/shout/olympiad


Question

Posted

Hello guys, i want some help here

 

Actually i want to fix this one: "You can speak at trade/shout chat when u have 100 Pvps and more". How i can do it?

 

And i want at olympiad to join only players with 100+ Pvp How i can do it?

 

Thanks for your help, the server is Freya.

8 answers to this question

Recommended Posts

  • 0
Posted

first:

 

	if (_type == TRADE || _type == SHOUT)
	{
		if (!activeChar.isGM())
		{
			if(activeChar.getPvpKills() < 100 )
			{
				activeChar.sendMessage("You can speak at trade/shout chat when u have 100 Pvps and more");
				return;
			}
		}
	}

 

say2.java

 

  • 0
Posted

And where i suppose to add it? :P

 

I can make them different? I mean i want 200 Pvp in trade chat and 1000 on Shout i suppose to make 2 different codes like these and change only pvps?

  • 0
Posted

And where i suppose to add it? :P

 

I can make them different? I mean i want 200 Pvp in trade chat and 1000 on Shout i suppose to make 2 different codes like these and change only pvps?

look at my code and edit them.

 

Also i told you:Say2.java

  • 0
Posted

if (_type == TRADE) { if (!activeChar.isGM()) { if(activeChar.getPvpKills() < 200 ) { activeChar.sendMessage("You can speak at trade/shout chat when u have 200 Pvps and more"); return; } } }

 

 

It will be like that for trade chat?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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..