'Baggos' Posted September 1, 2011 Posted September 1, 2011 Hey. I want a Java Code, when the player move, don't can to do enchant.
0 [DEV]DjSt3rios Posted September 1, 2011 Posted September 1, 2011 open the file RequestEnchantItem in gameserver/network/clientpackets. Find this code: activeChar.getActiveTradeList() != null Its an if code. above this, add this code: if(activeChar.isMoving()) { activeChar.sendMessage("You can not enchant while you move"); return; } Just modify the message if you would like.
0 'Baggos' Posted September 1, 2011 Author Posted September 1, 2011 open the file RequestEnchantItem in gameserver/network/clientpackets. Find this code: activeChar.getActiveTradeList() != null Its an if code. above this, add this code: if(activeChar.isMoving()) { activeChar.sendMessage("You can not enchant while you move"); return; } Just modify the message if you would like. Thank You My Friend! Locked.
Question
'Baggos'
Hey.
I want a Java Code, when the player move, don't can to do enchant.
2 answers to this question
Recommended Posts