AlexHack Posted March 9, 2021 Share Posted March 9, 2021 Geia sas paidia tou max mipws mporei kaneis na mou pei pws mporw na kanw to chat shot na einai me item kai na to ksodeuei otan grafei sto !chat?? Quote Link to comment Share on other sites More sharing options...
0 Kara Posted March 9, 2021 Share Posted March 9, 2021 10 hours ago, AlexHack said: Geia sas paidia tou max mipws mporei kaneis na mou pei pws mporw na kanw to chat shot na einai me item kai na to ksodeuei otan grafei sto !chat?? First of all this is EN section and you write in GR. Second the class that handle's the chat is called Say2.java There you can add your check (which channel type and which item it consume every time), with a simple if (Objects.isNull(activeChar.destroyItemById(getClass().getSimpleName(), 57, 100, activeChar, true))) { activeChar.sendMessage("You don't have the proper item(s) to chat.); return; } Quote Link to comment Share on other sites More sharing options...
0 AlexHack Posted March 9, 2021 Author Share Posted March 9, 2021 Thanks Kara if i want stop destroy item . becuase i have 100 pvp kills maybe you know Quote Link to comment Share on other sites More sharing options...
0 Kara Posted March 9, 2021 Share Posted March 9, 2021 5 hours ago, AlexHack said: Thanks Kara if i want stop destroy item . becuase i have 100 pvp kills maybe you know A simple check if PvpKills() <= 100 and then && destroyItemById() 1 Quote Link to comment Share on other sites More sharing options...
0 AlexHack Posted March 31, 2021 Author Share Posted March 31, 2021 (edited) thanks for help Edited March 31, 2021 by AlexHack Quote Link to comment Share on other sites More sharing options...
Question
AlexHack
Geia sas paidia tou max
mipws mporei kaneis na mou pei pws mporw na kanw
to chat shot na einai me item kai na to ksodeuei otan grafei
sto !chat??
Link to comment
Share on other sites
4 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.