question about commands
#5

To detect the command entered by player:
Are you using ZCMD ?

Do not allow player to use any command except /exitdm:
What is the variable or Bool you are using to check if the player is in DMing area or not ?

pawn Код:
if ( IsInDM == 1 ) return SendClientMessage ( playerid , -1 , "You are not allowed to use this command while being in a DMing area!" ) ;
Replace IsInDM with your variable.
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: 1 Guest(s)