Cops n Robbers Anti team kill
#4

I try but i cant man.

See:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
if(issuerid != INVALID_PLAYER_ID)
{
if(GetPlayerTeam(issuerid) == GetPlayerTeam(playerid))
{
new Float:h;
GetPlayerHealth(playerid,h);
SetPlayerHealth(playerid,h+amount);
GameTextForPlayer(issuerid,"Don't shoot your team",2000,3);
return 1;
}else if(GetPlayerTeam(issuerid) == Civilians){
return 1;
}
}
return 1;
}
Reply


Messages In This Thread
Cops n Robbers Anti team kill - by kyriakos587 - 15.05.2015, 10:48
Re: Cops n Robbers Anti team kill - by arlindi - 15.05.2015, 10:51
Re: Cops n Robbers Anti team kill - by Vince - 15.05.2015, 10:52
Re: Cops n Robbers Anti team kill - by kyriakos587 - 15.05.2015, 10:54
Re: Cops n Robbers Anti team kill - by Konstantinos - 15.05.2015, 10:59
Re: Cops n Robbers Anti team kill - by rappy93 - 15.05.2015, 10:59
Re: Cops n Robbers Anti team kill - by kyriakos587 - 15.05.2015, 11:00
Re: Cops n Robbers Anti team kill - by arlindi - 15.05.2015, 11:02
Re: Cops n Robbers Anti team kill - by kyriakos587 - 15.05.2015, 11:03
Re: Cops n Robbers Anti team kill - by rappy93 - 15.05.2015, 11:05

Forum Jump:


Users browsing this thread: 1 Guest(s)