Jump to content
  • 0

[Request] Reshare


Question

8 answers to this question

Recommended Posts

  • 0
Posted

it was a voiced command that restored your hp cp and mp easy to make just think a bit everything you need is alredy in handy

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