Anti-Team Kill For Any Server! -
[DBZ]Gohan - 13.12.2011
REMOVED
Re: Anti-Team Kill For Any Server! -
rbN. - 13.12.2011
adfly noob D:
And there's OnPlayerTakeDamage now
Re: Anti-Team Kill For Any Server! -
[DBZ]Gohan - 13.12.2011
yah but this one works for me
![Cheesy](images/smilies/biggrin.png)
+ i need some urgent money :-/ this is why adf.ly
Re: Anti-Team Kill For Any Server! -
rbN. - 13.12.2011
Quote:
Originally Posted by [DBZ]Gohan
yah but this one works for me ![Cheesy](images/smilies/biggrin.png) + 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
Re: Anti-Team Kill For Any Server! - Astralis - 13.12.2011
Quote:
Originally Posted by RobinOwnz
go outside and get a job then, with adfly you earn 0.10$ a month ![undecided](images/smilies/neutral.gif)
|
gohan you should add normal link xD. You wont earn much cash here. Use mediafire.com
Re: Anti-Team Kill For Any Server! -
vassilis - 13.12.2011
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;
}
Re: Anti-Team Kill For Any Server! -
[DBZ]Gohan - 13.12.2011
Hey thats not a copy... i used only OPSP and i made my own else :-/
Re: Anti-Team Kill For Any Server! -
rbN. - 13.12.2011
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;
}
Re: Anti-Team Kill For Any Server! -
Phanto90 - 13.12.2011
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
Re: Anti-Team Kill For Any Server! -
vassilis - 13.12.2011
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