Looking for an Anti Team Kill Script
#1

Hey there, Sorry to waste your time but I need a bit of help as I am dumb as fu*k

Ok first I have looked on Wiki - Scripting Tutorials - Filter Scripts and Includes and Searched as well but can't find nothing,

I have like Anti Spawn kill [So players have 30 seconds of god when they spawn to get away from the spawn]

But my server has Teams and I need an Anti Team Kill script so I don't have to be jailing every one for team kill.

So if anyone knows where one is or someone place I can find then that would be a great help.

Ask anything you want and sorry to keep you.

Thanks for your time and have a nice day.
Reply
#2

Код:
public SettingPlayerTeam()
{
  for(new playerid; playerid < 200; playerid++)
  SetPlayerTeam(playerid, gTeam[playerid]);
  return 1;
}
Код:
forward SettingPlayerTeam();
OnPlayerConnect:

Код:
SetTimerEx("SettingPlayerTeam",10,1,"i",playerid);
That's what i use for my gm. (I use gTeam.)
Reply
#3

use sniffets
Reply
#4

@Logitech90 @Mehtab Thanks very much, I will take a look at both of them,

Have a nice day
Reply
#5

Quote:
Originally Posted by Mehtab
Посмотреть сообщение
I LOLLED HARD.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)