Jump to content
  • 0
Brynner

how can i disable gm accounts to drop item

Question

how can i disable gm accounts to drop item. but they can still trade on the player?only the dropping item will be disabled from them.

Edited by bgamez23

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

wait I'm confuse on your statement/..hahaha

 

@trade.c

 

 

if (!pc_can_give_items(sd) || !pc_can_give_items(target_sd)) //check if both GMs are allowed to trade{  clif_displaymessage(sd->fd, msg_txt(246));  clif_tradestart(sd, 2); // GM is not allowed to trade  return;}

 

 

:meow:

Share this post


Link to post
Share on other sites
  • 0

wait I'm confuse on your statement/..hahaha

 

@trade.c

 

 

if (!pc_can_give_items(sd) || !pc_can_give_items(target_sd)) //check if both GMs are allowed to trade{  clif_displaymessage(sd->fd, msg_txt(246));  clif_tradestart(sd, 2); // GM is not allowed to trade  return;}

 

 

:meow:

opps sorry my mistake. what i mean is disable item dropping for gm account but they can still trade to the other player?

Share this post


Link to post
Share on other sites
  • 0

then remove that line or comment block it...while enabling the GM no trade flag permission..

 

:meow:

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.