[FilterScript] Anti-Team Kill For Any Server!
#1

REMOVED
Reply
#2

adfly noob D:

And there's OnPlayerTakeDamage now
Reply
#3

yah but this one works for me + i need some urgent money :-/ this is why adf.ly
Reply
#4

Quote:
Originally Posted by [DBZ]Gohan
Посмотреть сообщение
yah but this one works for me + i need some urgent money :-/ this is why adf.ly
go outside and get a job then, with adfly you earn 0.10$ a month
Reply
#5

Quote:
Originally Posted by RobinOwnz
Посмотреть сообщение
go outside and get a job then, with adfly you earn 0.10$ a month
gohan you should add normal link xD. You wont earn much cash here. Use mediafire.com
Reply
#6

also this is stolen nub i will report you immediately

Adrenaline StuntWorld Gamemode made by vassilis:
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
   if ( Shooter != INVALID_PLAYER_ID )
    {
        if ( GetPlayerTeam( Target ) == GetPlayerTeam( Shooter ) ) // check if the victim is from the same team as the shooter.
        {

            new Float:hp;
            GetPlayerHealth(Target, hp);
            SetPlayerHealth(Target, hp + HealthLost);
            SetPlayerHealth( Shooter, 0 );
            SendClientMessage( Shooter, COLOR_RED, "Team killing is not allowed!" );
            GivePlayerMoney( Shooter, - 5000 );
            GameTextForPlayer(Shooter, "~w~next time dont teamkill!",5000,5);
        }
    }
    return 1;
}
its a public fuction from adrenaline stuntworld gamemode.REPORTED.
ALso
you use anti-spawn kill protection and claim it as your own which is released by kerlan named k665 protection system which i is used to Adrenaline StuntWorld Gamemode too
pawn Код:
{
format(str, sizeof(str), "[NBTDM]:You are under anti-spawn kill for %d second(s) (spawn protection)", PROTECTIONTIME);
    SendClientMessage(playerid, -1, str);
    SetPlayerChatBubble(playerid, "[NBTDM]:Protected By AntiSpawnKill", 0xFF0000AA, 100.0, 5000);
    SetTimerEx("AntiSpawnkill",PROTECTIONTIME*1000,0,"d",playerid);
return 1;
}
Reply
#7

Hey thats not a copy... i used only OPSP and i made my own else :-/
Reply
#8

And SetPlayerTeam doesn't allow you to shoot each other D:

pawn Код:
public OnPlayerStreamIn(playerid, forplayerid)
{
    SetPlayerTeam(playerid, pTeam[playerid]); //or anything else.
    return 1;
}
Reply
#9

And instead of this, for an effective anti team-kill would be better using
Код:
SetPlayerTeam(playerid, teamid)
https://sampwiki.blast.hk/wiki/SetPlayerTeam

EDIT: Somebody wrote before me
Reply
#10

Quote:
Originally Posted by [DBZ]Gohan
Посмотреть сообщение
Hey thats not a copy... i used only OPSP and i made my own else :-/
stop lyinh you copied it from somewhere and to show that its copied from somewhere you have even left the //comments ..... stop lying
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)