05.04.2013, 16:45
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 ?
Replace IsInDM with your variable.
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!" ) ;