Using Teams and CustomDamage
#3

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
Im not sure, but if it does, you should be able to avoid it by doing this:
pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
    if(GetPlayerTeam(playerid) == GetPlayerTeam(hitid) return 0;
    return 1;
}
The point is that i don't want to avoid it for civilians. I want it so civilians could lost hp
Reply


Messages In This Thread
Using Teams and CustomDamage - by vassilis - 13.02.2015, 08:29
Re: Using Teams and CustomDamage - by CalvinC - 13.02.2015, 08:32
Re: Using Teams and CustomDamage - by vassilis - 13.02.2015, 08:35
Re: Using Teams and CustomDamage - by vassilis - 13.02.2015, 08:57
Re: Using Teams and CustomDamage - by CalvinC - 13.02.2015, 08:59
Re: Using Teams and CustomDamage - by vassilis - 13.02.2015, 09:05
Re: Using Teams and CustomDamage - by Threshold - 13.02.2015, 13:46

Forum Jump:


Users browsing this thread: 2 Guest(s)