23.05.2010, 08:22
Sure, erm.
You know like when you check if a player is logged in.
I bet you have one look'a'like to check if the player is in the DM. if not, then go to the top and do
then when a player enters the DM put it in like
You know like when you check if a player is logged in.
Code:
IsLogged[playerid]
Code:
new IsPlayerInDM[MAX_PLAYERS];
Code:
DCMD_COMMANDNAME(blablabla) { if(IsPlayerInDM[playerid] == 0) { //Rest of the code. } else { SendClientMessage(playerid, 0xFF0000AA, "Sorry you cannot use commands, While your in a dm"); } return 1; }