Help with DM
#2

Umm i'll try taking a guess


pawn Код:
new DMZONE[MAX_PLAYERS];
onplayerconnect:

pawn Код:
DMZONE[playerid] = 0;
onplayerdisconnect:

pawn Код:
DMZONE[playerid] = 0;

Then when they try to do a command add this in the command

pawn Код:
if(DMZONE[playerid] == 1) {
SendClientMessage(playerid, COLOR_ERROR, "You cannot use this command in a DM ZONE");
return 1;
}
Reply


Messages In This Thread
Help with DM - by ViruZZzZ_ChiLLL - 07.05.2010, 03:13
Re: Help with DM - by MWF2 - 07.05.2010, 03:20
Re: Help with DM - by dcmd_crash - 07.05.2010, 04:15

Forum Jump:


Users browsing this thread: 3 Guest(s)