Question + Help
#1

Hey guys can someone help me and say why or solve it for me ? is not a big problem .. but i really don't know why is not working :-s

under public onplayergivedamage

HTML Code:
new sameteam = HumanPlayer[playerid] == 1;
new sameteamd = HumanPlayer[damagedid] == 1;

Type 1: if(HumanPlayer[playerid] == 1 && HumanPlayer[damagedid] == 1) amount = 0;
Type 2: if(HumanPlayer[playerid] == 1 && HumanPlayer[damagedid] == 1 && sameteam == sameteamd) amount = 0;
nothing from type 1 and 2 is working... when i shot a team mate he still get's damage , can someone help me ?
Reply


Messages In This Thread
Question + Help - by StR_MaRy - 16.06.2017, 20:24
Re: Question + Help - by Vince - 16.06.2017, 20:53
Re: Question + Help - by StR_MaRy - 16.06.2017, 20:58
Re: Question + Help - by CheezIt - 16.06.2017, 21:07
Re: Question + Help - by StR_MaRy - 16.06.2017, 21:09
Re: Question + Help - by CheezIt - 16.06.2017, 21:12
Re: Question + Help - by StR_MaRy - 16.06.2017, 21:14
Re: Question + Help - by CheezIt - 16.06.2017, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)