[FilterScript] Damage counter for body parts - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Damage counter for body parts (
/showthread.php?tid=557893)
Damage counter for body parts -
PaulDinam - 15.01.2015
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.
Re: Damage counter for body parts -
RayC - 15.01.2015
This is awesome! rep, this could be a good use for medics. +1
Re: Damage counter for body parts -
georgian1 - 15.01.2015
Thanks For Sharing This REP+
Re: Damage counter for body parts -
BlazeGaming - 16.01.2015
oh it's look like ls-rp
10/10
Respuesta: Damage counter for body parts -
fabianlamas33 - 16.01.2015
my respects 1+
Re: Damage counter for body parts -
Skully82 - 16.01.2015
Good FS,+rep
rep me back if you want
Re: Damage counter for body parts -
AgusZ - 16.01.2015
awesome
Re: Damage counter for body parts -
Eonik - 16.01.2015
Awesome! Thank you. +rep
Re: Damage counter for body parts -
Team_PRO - 17.01.2015
better if you use textdraw
Re: Damage counter for body parts -
PaulDinam - 18.01.2015
Quote:
Originally Posted by Team_PRO
better if you use textdraw
|
Feel free to alter it if you think it's better to use a textdraw.