How to sum damage
#7

Beacuse your code is wrong ... i gave you finished code, but you modified it wrong!

Код:
SetPVarFloat(issuerid, "DamageTaken", GetPVarFloat(issuerid, "DamageTaken") + amount);
issuerid is the attacker player, not playerid!
Reply


Messages In This Thread
How to sum damage - by GwENiko - 12.05.2014, 11:39
Re: How to sum damage - by ball - 12.05.2014, 11:49
Re: How to sum damage - by gekas - 12.05.2014, 12:24
Re: How to sum damage - by GwENiko - 12.05.2014, 16:34
Re: How to sum damage - by GwENiko - 14.05.2014, 18:31
Re: How to sum damage - by GwENiko - 15.05.2014, 17:36
Re: How to sum damage - by ball - 15.05.2014, 17:54
Re: How to sum damage - by GwENiko - 16.05.2014, 16:35
Re: How to sum damage - by Konstantinos - 16.05.2014, 16:42
Re: How to sum damage - by GwENiko - 16.05.2014, 16:49

Forum Jump:


Users browsing this thread: 2 Guest(s)