[FilterScript] Damage counter for body parts
#1

Weapon damage counter

A lot of people have been asking me to post this, so here it is. It is very simple and you can add a lot more features, such as detecting whether the bullet penetrated a player's vest and then display it on /damages.

You can easily implement it on your gamemode with better enhancements but that's just how I think it should look like.

There's one bug which is when a player dies and the damage resets, his "falls" damages increment by 1 due to a samp bug. If you want you to fix that, simply declare that the player has died under the function and when he spawns reset his damages.


Links
Link for pastebin:
http://pastebin.com/j12D1PwP

Video:
https://www.youtube.com/watch?v=5RF-Nxph8f8

You must have ZCMD and SSCANF, otherwise you can change the command structure at your own discretion.

Reply


Messages In This Thread
Damage counter for body parts - by PaulDinam - 15.01.2015, 14:15
Re: Damage counter for body parts - by RayC - 15.01.2015, 14:55
Re: Damage counter for body parts - by georgian1 - 15.01.2015, 14:58
Re: Damage counter for body parts - by BlazeGaming - 16.01.2015, 03:40
Respuesta: Damage counter for body parts - by fabianlamas33 - 16.01.2015, 09:27
Re: Damage counter for body parts - by Skully82 - 16.01.2015, 11:11
Re: Damage counter for body parts - by AgusZ - 16.01.2015, 13:43
Re: Damage counter for body parts - by Eonik - 16.01.2015, 14:29
Re: Damage counter for body parts - by Team_PRO - 17.01.2015, 08:51
Re: Damage counter for body parts - by PaulDinam - 18.01.2015, 06:18

Forum Jump:


Users browsing this thread: 1 Guest(s)