Jump to content
  • 0

How To Add This?


V e n { } m

Question

12 answers to this question

Recommended Posts

  • 0

Check the check with karma

http://pastebin.com/ipJfBqNs

st.getPlayer().player.getKarma() > 0 && player.getPvpFlag() > 0)

 

something like this should look like?

Link to comment
Share on other sites

  • 0

if st.getPlayer().getKarma() > 0 or st.getPlayer().getPvpFlag() > 0:

return

 

the return has indention which doesn't show here... :lol:

Edited by Tessa
Link to comment
Share on other sites

  • 0

Maybe you just put the check in wrong place.

 

Just put above the line where you send main html and it will work, but don't forget to put return; like Tessa said, or else it wont work :D

Edited by lsj14
Link to comment
Share on other sites

  • 0

Maybe you just put the check in wrong place.

else:
st.takeItems(ADENA_ID,0)
st.getPlayer().setTarget(st.getPlayer())
if st.getPlayer().getKarma() > 0 or st.getPlayer().getPvpFlag() > 0:
return
 
if event == "1":
 
 
P.S If someone can put it on the right place plz PM ME i will send the all code. Thx!
Edited by V e n { } m
Link to comment
Share on other sites

  • 0

You are god of L2J.

st.getPlayer().setTarget(st.getPlayer())

Getting self in target. What it this the sacred action?

 

You want take yourself by the collar and throw out the window of the first floor? Good idea.

Link to comment
Share on other sites

  • 0

You are god of L2J.

st.getPlayer().setTarget(st.getPlayer())

Getting self in target. What it this the sacred action?

 

You want take yourself by the collar and throw out the window of the first floor? Good idea.

yeah .. and you are the god of helpers. Big thanks for this "You want take yourself by the collar and throw out the window of the first floor?" 

Link to comment
Share on other sites

  • 0

yeah .. and you are the god of helpers. Big thanks for this "You want take yourself by the collar and throw out the window of the first floor?" 

 

Your knowledge is so small, that anyone who will help you will be like as your mother when she fed you from a spoon. Your main problem in solving the simple problem is that you know nothing about programming. I mean, what this topic have simple answer and it's not a reason for her creation.

Link to comment
Share on other sites

  • 0

Your knowledge is so small, that anyone who will help you will be like as your mother when she fed you from a spoon. Your main problem in solving the simple problem is that you know nothing about programming. I mean, what this topic have simple answer and it's not a reason for her creation.

im not pretending that i have programming skills, so shut the fuck up if you don't want to help me.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...