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?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...