Jump to content

Question

7 answers to this question

Recommended Posts

  • 0
Posted

Search useMagic method in L2PcInstance

 

	if ((this.isInCombat() && skill.getId() == yourid || skill.getId() == yourid)
	{
		this.sendMessage("You can not use this skill when you are in combat. or something like :D")
		return;
	}

  • 0
Posted

Search useMagic method in L2PcInstance

 

	if ((this.isInCombat() && skill.getId() == yourid || skill.getId() == yourid)
	{
		this.sendMessage("You can not use this skill when you are in combat. or something like :D")
		return;
	}

 

Not need sendPacket(new ActionFailed()); ?

 

And me need when player isincombat remove skills not no when  player isincombat he cannot use this skill :-\

  • 0
Posted

Not need sendPacket(new ActionFailed()); ?

 

And me need when player isincombat remove skills not no when  player isincombat he cannot use this skill :-\

First thing - Learn English

Second - Read the code for 100 times

3rd - Are you blind ?

 

What is difference between "remove skills in combat" and "can not use skill"

 

edit: and your description(personal text) is not a statment

  • 0
Posted

First thing - Learn English

Second - Read the code for 100 times

3rd - Are you blind ?

 

What is difference between "remove skills in combat" and "can not use skill"

 

edit: and your description(personal text) is not a statment

 

Sry for my english language.

 

When i paste this code cannot use skill only send message if player no combat or combat.

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