Jump to content
  • 0

[Request] Reshare


Question

8 answers to this question

Recommended Posts

  • 0
Posted

a ok so

st.getPlayer().restoreCPHPMP()

and if i dont want the player heal when he is on flag i put this

 

      else if (activeChar.getPvpFlag() != 0)
      {
         activeChar.sendMessage("You can't use restore command when you are engaged in a PvP.");
         return false;
      }


Who wants to not be use in combat, add this check

      else if (activeChar.isInCombat()
      {
         activeChar.sendMessage("You can't use restore command when you are in combat.")
         return false;
      }

 

Right??

  • 0
Posted

a ok so

st.getPlayer().restoreCPHPMP()

and if i dont want the player heal when he is on flag i put this

 

      else if (activeChar.getPvpFlag() != 0)
      {
         activeChar.sendMessage("You can't use restore command when you are engaged in a PvP.");
         return false;
      }


Who wants to not be use in combat, add this check

      else if (activeChar.isInCombat()
      {
         activeChar.sendMessage("You can't use restore command when you are in combat.")
         return false;
      }

 

Right??

st.getPlayer().restoreCPHPMP() is undefined ..

 

anyway

Intrepid unlock my topic for reshare, please.. :)

  • 0
Posted

st.getPlayer().restoreCPHPMP() is undefined ..

 

anyway

Intrepid unlock my topic for reshare, please.. :)

 

Unlocked, make us proud. :d

 

@CrazyDeagle

 

If you 're done, tell me to lock your thread.

Guest
This topic is now closed to further replies.


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