Teams
#5

I think that what are you trying to find ?
Code:
public OnPlayerTakeDamage (playerid, issuerid, Float:amount, weaponid, bodypart)
{
    //Do something
}
You will take the issuerid and check if he is from team1 and check if playerid(who took the shot) from team2
If this statement is true you will set the playerid's health to 100(or his health before shot).
Reply


Messages In This Thread
Teams - by SapMan - 18.12.2018, 20:49
Re: Teams - by SapMan - 18.12.2018, 23:00
Re: Teams - by Threshold - 19.12.2018, 03:10
Re: Teams - by SapMan - 19.12.2018, 14:55
Re: Teams - by Osamakurdi - 19.12.2018, 15:24
Re: Teams - by Nero_3D - 19.12.2018, 17:49
Re: Teams - by SapMan - 19.12.2018, 22:18
Re: Teams - by Threshold - 20.12.2018, 02:16
Re: Teams - by SapMan - 20.12.2018, 17:43
Re: Teams - by Nero_3D - 20.12.2018, 18:03
Re: Teams - by SapMan - 20.12.2018, 20:16
Re: Teams - by Nero_3D - 20.12.2018, 23:05

Forum Jump:


Users browsing this thread: 1 Guest(s)