'Baggos' Posted September 1, 2011 Share Posted September 1, 2011 Hey. I want a Java Code, when the player move, don't can to do enchant. Link to comment Share on other sites More sharing options...
0 [DEV]DjSt3rios Posted September 1, 2011 Share 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. Link to comment Share on other sites More sharing options...
0 'Baggos' Posted September 1, 2011 Author Share 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. Link to comment Share on other sites More sharing options...
Question
'Baggos'
Hey.
I want a Java Code, when the player move, don't can to do enchant.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts