Jump to content
  • 0

How to fix trade/shout/olympiad


LoyLoy

Question

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.

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

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

 

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0

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?

Link to comment
Share on other sites

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...