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.
DISCORD :
utchiha_market
telegram :
https://t.me/utchiha_market
SELLIX STORE :
https://utchihamkt.mysellix.io/
Join our server for more products :
https://discord.gg/hood-services
https://campsite.bio/utchihaamkt
Question
heladito
hi guys! im trying to write a script for clean the pk of character. Only have a part of them. Anyone can help me to finish it? please
def onEvent(self,event,st): htmltext = event count=st.getQuestItemsCount(57) if count < 5 : htmltext = "ErrorAdena.htm" elif st.getPlayer().getPkKills() < 5 : htmltext = "ErrorPkKills.htm" else: st.getPlayer().setTarget(st.getPlayer()) if event == "RemovePk": st.takeItems(57,5) st.getPlayer().setPkKills(st.getPlayer().getPkKills() - 5) st.playSound("ItemSound.quest_finish") st.setState(COMPLETED) return "End.htm" if htmltext != event: st.setState(COMPLETED) st.exitQuest(1) return htmltext
0 answers to this question
Recommended Posts
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.