05.04.2013, 17:02
Try making a nice define like this....
Then slap it in your commands by far the cleanest easiest and fastest way....
Код:
#define IN_DM(%0) if(IsInDM[%0]) return SendClientMessage(%0, -1, "You are not allowed to enter commands in a DM.");
Код:
CMD:mycommand(playerid, arg[]) { IN_DM(playerid); }