how can i disable gm accounts to drop item

Brynner

Community Contributors
Messages
563
Points
0
Github
https://github.com/bgamez23
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.

 
Last edited by a moderator:
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;}


default_ani_meow.gif


 
Last edited by a moderator:
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;}


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

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

default_ani_meow.gif


 
Back
Top