EdenEternal Posted April 25, 2010 Posted April 25, 2010 hello maxcheaters! i have question,it's possible to disable trade only for GM-s?
0 Thelasthero Posted April 29, 2010 Posted April 29, 2010 try: if(player.isGM() || target.isGM()) no it's not working :( i mean not Gm, GM
0 EdenEternal Posted April 29, 2010 Author Posted April 29, 2010 i mean not Gm, GM yes i know i have try it but nothing changed
0 Setekh Posted April 29, 2010 Posted April 29, 2010 u alredy have it on l2jserver god freaking damn it READ THE FREAKING RULES! specify the client version and pack that ur using >.> omfg T_T
0 EdenEternal Posted April 29, 2010 Author Posted April 29, 2010 i'm using La2Base Interlude Pay Version
0 ˚کe®κ Posted April 29, 2010 Posted April 29, 2010 add this is working if(player.isGM()) { player.sendMessage("You cant Trade Item") player.sendPacket(ActionFailed.STATIC_PACKET); return; }
0 BloodyWarrior Posted April 29, 2010 Posted April 29, 2010 Lol, why you just dont enable the config on options from in game?
0 EdenEternal Posted April 29, 2010 Author Posted April 29, 2010 if(player.isGM()) { player.sendMessage("You cant Trade Item") player.sendPacket(ActionFailed.STATIC_PACKET); return; } this is working only for me (GM) i can't give trade to normal players but they can!
0 EdenEternal Posted April 29, 2010 Author Posted April 29, 2010 i have do this :) // Disable Normal Players Trade to GM if (partner.isGM()) { player.sendMessage("You Can't Trade With GM!"); sendPacket(new ActionFailed()); return; } :)
Question
EdenEternal
hello maxcheaters! i have question,it's possible to disable trade only for GM-s?
26 answers to this question
Recommended Posts