Teammates can pistol whip despite hittype.
#1

Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
	if(hittype == 1 && gTeam[playerid] == gTeam[hitid]) {
	    SendClientMessage(playerid, COLOR_RED, "Do not shoot your teammates!");
	    return 0;
	}
    return 1;
}
No matter what I do, players can pistol whip each other, and can occasionally kill each other with headshots whilst in vehicles, is this fixable?
Reply


Messages In This Thread
Teammates can pistol whip despite hittype. - by Sebz - 24.12.2015, 16:47
Re: Teammates can pistol whip despite hittype. - by TwinkiDaBoss - 24.12.2015, 16:51
Re: Teammates can pistol whip despite hittype. - by Sebz - 24.12.2015, 17:02
Re: Teammates can pistol whip despite hittype. - by TwinkiDaBoss - 24.12.2015, 17:25
Re: Teammates can pistol whip despite hittype. - by Karan007 - 24.12.2015, 19:58

Forum Jump:


Users browsing this thread: 1 Guest(s)