why this shit
#5

No,

Add this ontop of your script.
pawn Код:
new indmarea[MAX_PLAYERS];

Add this under ''public OnPlayerConnect''

pawn Код:
indmarea[playerid] = 0;
Add this on your command which you want to disable it.
example

pawn Код:
CMD:kill(playerid,params[])
{
if(indmarea[playerid] == 1) SendClientMessage(playerid, COLOR_WHITE, You're in a DM area, you cant use this command.);
      {
          SetPlayerHealth(playerid, 0);
          indmarea[playerid] = 1;
      }
}
Reply


Messages In This Thread
why this shit - by UfsDev - 05.04.2014, 23:48
Re: why this shit - by UfsDev - 05.04.2014, 23:50
Re: why this shit - by VerticalGaming - 06.04.2014, 00:14
Re: why this shit - by UfsDev - 06.04.2014, 00:39
Re: why this shit - by Equuuuin0X - 06.04.2014, 01:20
Re: why this shit - by superrobot48 - 06.04.2014, 01:41

Forum Jump:


Users browsing this thread: 2 Guest(s)