psychosisneamia
~Beginner~
- Joined
- Jun 7, 2012
- Messages
- 162
- Reaction score
- 7
I need help with an item.. I am trying to make an item that will send you to town when clicked.. that part is simple.. What i need it to do is not let you tp if you are in a PVP battle with another player but if you're battling a normal monster u can still use it..
The function i used was
But then I get the else message
Any idea what function i can use? Thanks so much!
The function i used was
Code:
if (getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE) then
But then I get the else message
Code:
doCreatureSay(cid, "You may not use your temple scroll while in a battle!", TALKTYPE_MONSTER)
Any idea what function i can use? Thanks so much!