Dont allow to trade.
Posted: Sat Nov 27, 2010 3:45 pm
How to dont allow to make trade?
I need to do it temp. until i`ll fix bug with duplicating items.
I need to do it temp. until i`ll fix bug with duplicating items.
Code: Select all
INSERT INTO l2jdb.access_levels (accessLevel, name, nameColor, titleColor, childAccess, isGm, allowPeaceAttack, allowFixedRes, allowTransaction, allowAltg, giveDamage, takeAggro, gainExp) VALUES ('333', 'noTrade', '-1', '-1', '', '0', '0', '0', '0', '0', '1', '1', '1'); UPDATE characters SET accesslevel = 333 WHERE accesslevel = 0;
Code: Select all
DELETE FROM access_levels WHERE access_levels.accessLevel = 333; UPDATE characters SET accesslevel = 0 WHERE accesslevel = 333;
Code: Select all
AllowTransactions = False