Death Screen
#8

You'll have to make an array of some sort, that stores the ID of the player who caused the damage, and how much damage they did.

This will be rather advanced as it will require shifting the oldest damages up in the array, and putting them into the next on each OnPlayerTakeDamage/OnPlayerGiveDamage. Which really, may take a bit of work, and you'll need to optimize it as if you do it wrong, you'll end up lagging out the server if multiple people are fighting.
Reply


Messages In This Thread
Death Screen - by DavidSF - 30.04.2017, 09:23
Re: Death Screen - by Kane - 30.04.2017, 10:32
Re: Death Screen - by Sew_Sumi - 30.04.2017, 10:58
Re: Death Screen - by Kane - 30.04.2017, 11:11
Re: Death Screen - by DavidSF - 30.04.2017, 12:20
Re: Death Screen - by Sew_Sumi - 30.04.2017, 19:02
Re: Death Screen - by DavidSF - 18.05.2017, 19:23
Re: Death Screen - by Sew_Sumi - 19.05.2017, 10:22
Re: Death Screen - by Logic_ - 19.05.2017, 11:03
Re: Death Screen - by DavidSF - 22.05.2017, 13:07

Forum Jump:


Users browsing this thread: 2 Guest(s)