05.04.2013, 16:40
Make :
In OnPlayerConnect :
And in your command :
Then in the other commands where we will block the command if he is in the DM :
And in /exitdm add :
Hope i helped.
EDIT : Too late.
pawn Код:
new DM[MAX_PLAYERS]; // At Top
pawn Код:
DM[playerid] = 0;
pawn Код:
DM[playerid] = 1;
pawn Код:
if(DM[playerid] == 1) return SendClientMessage(playerid, -1, "You can't use this command in a DeathMatch!");
pawn Код:
DM[playerid] = 0;
EDIT : Too late.