question about commands
#2

Just create a variable like
pawn Код:
new IsInDM[MAX_PLAYERS];
and on each command put
pawn Код:
if(IsInDM[playerid]) return SendClientMessage(playerid, -1, "You are not allowed to enter commands in a DM.");
Reply


Messages In This Thread
question about commands - by HurtLocker - 05.04.2013, 16:36
Re: question about commands - by L.Hudson - 05.04.2013, 16:39
Re: question about commands - by SilverKiller - 05.04.2013, 16:40
Re: question about commands - by HurtLocker - 05.04.2013, 16:44
Re: question about commands - by Ronaldo_raul™ - 05.04.2013, 16:45
Re: question about commands - by Pottus - 05.04.2013, 17:02

Forum Jump:


Users browsing this thread: 4 Guest(s)