anti-dm
#1

hey i wanted to create a anti dm but its not working



Код:
#define TEAM_COPS 2

#define TEAM_ORANGE 4


  new killer3[30];
  new lozer[128];
  if(GetPlayerTeam(playerid) != 4 && GetPlayerTeam(playerid) != 2 && GetPlayerTeam(killerid) != 4 && GetPlayerTeam(killerid) != 2)
  {
		if(dm[playerid] == 0)
		{
			SendClientMessage(killerid, COLOR_RED, "	Stop DMing or you get a jail (first warning)");
  	  dm[playerid] = 1;
		}
		if(dm[playerid] == 1)
		{
	 		PlayerInfo[killerid][pInt] = 3;
			SetPlayerInterior(killerid,3);
	 		SetPlayerPos(killerid,197.72,175.06,1003.02);
	 		ResetPlayerWeapons(killerid);
			jailed2[killerid] = 1;
			PlayerInfo[killerid][pJailed] = 1;
			SendClientMessage(killerid, COLOR_GRAD1," You have been jailed for deathmatching.");
			PlayJailSound(1153 , 1154, 2000,264.395200, 77.564040, 1001.039000);
			JailTime[killerid] = 120;
			GetPlayerName(killerid, killer3, 30);
			format(lozer, 128, "[ANTI-DM] %s has been auto jailed for deathmatching", killer3);
			SendClientMessageToAll(COLOR_RED, lozer);
		}
	}
Reply


Messages In This Thread
anti-dm - by Think - 07.02.2009, 18:24
Re: anti-dm - by brett7 - 07.02.2009, 18:52
Re: anti-dm - by Think - 07.02.2009, 19:04
Re: anti-dm - by x-cutter - 07.02.2009, 19:39
Re: anti-dm - by Think - 07.02.2009, 19:59
Re: anti-dm - by c-middia - 07.02.2009, 20:11
Re: anti-dm - by Think - 07.02.2009, 20:50
Re: anti-dm - by Think - 07.02.2009, 22:20
Re: anti-dm - by Nero_3D - 08.02.2009, 01:37
Re: anti-dm - by Think - 08.02.2009, 10:50

Forum Jump:


Users browsing this thread: 1 Guest(s)