07.08.2013, 10:31
Код:
format(text, sizeof(text), "~r~Damage received: %.0f || Issuer: %s", amount, issuer); GameTextForPlayer(damagedid, text, 3000, 1);
For example:
A player damages another guy and reduces 10% health. And the "Damage Received: 10" text will appear. But that player will damage another guy or the same guy 30%. So what I want is that the text will display the addition of both these damages within that 3 seconds of the text. So the text should display according to this example is "Damage Received: 40".
Thanks,
Mani.