Jump to content
  • 0

[Question] Disable Trade for GM-s


Question

Recommended Posts

  • 0
Posted

well friend in my server have this.. but don't think is that.. I remember before have this function in my old server.. here is code

 

# Trade Chat.
# Available Options: ON (global), OFF, GM, LIMITED (region)
# Default: LIMITED
TradeChat = LIMITED

  • 0
Posted

well friend in my server have this.. but don't think is that.. I remember before have this function in my old server.. here is code

 

# Trade Chat.
# Available Options: ON (global), OFF, GM, LIMITED (region)
# Default: LIMITED
TradeChat = LIMITED

He don't mean the trade chat he mean the trade for items etc ;P
  • 0
Posted

He don't mean the trade chat he mean the trade for items etc ;P

I know GodPower I told him before in my config just have this, in my old pack have a config with this code GM Can trade items just put false and done but this pack have now don't found that
  • 0
Posted

It's Working! i can't give normal players trade.but they can give me trade! how to fix?

if(player.isGm() || target.isGm())

this is not works

of course it works

 

if(player.isGm() || target.isGm())

return;

  • 0
Posted

i have this error when compiling

 

    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\clientpackets\Trade
Request.java:88: cannot find symbol
    [javac] symbol  : method isGm()
    [javac] location: class net.sf.l2j.gameserver.model.L2Object
    [javac]     if(player.isGM() || target.isGm())
    [javac]                               ^

  • 0
Posted

i have this error when compiling

 

    [javac] D:\LA2Base\GameServer\java\net\sf\l2j\gameserver\clientpackets\Trade
Request.java:88: cannot find symbol
    [javac] symbol  : method isGm()
    [javac] location: class net.sf.l2j.gameserver.model.L2Object
    [javac]     if(player.isGM() || target.isGm())
    [javac]                               ^

try: if(player.isGM() || target.isGM())

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..