SA-MP Forums Archive
[FilterScript] New Weapon Damage System [0.3z] - 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] New Weapon Damage System [0.3z] (/showthread.php?tid=488135)



Weapon Damage System [0.3z] - RenSoprano - 16.01.2014

Weapon Damage System [0.3z]
Introduction

Hello I was bored and I dicided to create the new DMG system with body parts, I didn't test it but I think it will work. Sorry for my bad english

How to install

First you need to move RealDamage.amx file to your filterscript folder then open your server.cfg and add RealDamage to Filterscripts line.

Download

SolidFiles
Pastebin


Credits

RenSoprano - Me for idea

Bugs

Not found if you find any bugs please report them here.


Re: New Weapon Damage System [0.3z] - Zamora - 16.01.2014

Looks nice, Gonna test it once I'm back.


Re: New Weapon Damage System [0.3z] - Swisher - 16.01.2014

So what does this do?


Re: New Weapon Damage System [0.3z] - Sublime - 16.01.2014

You forgot to add -:

#define BODY_PART_TORSO 3
#define BODY_PART_GROIN 4
#define BODY_PART_LEFT_ARM 5
#define BODY_PART_RIGHT_ARM 6
#define BODY_PART_LEFT_LEG 7
#define BODY_PART_RIGHT_LEG 8
#define BODY_PART_HEAD 9


Re: New Weapon Damage System [0.3z] - Pottus - 17.01.2014

This ain't gonna work properly at all you can't just set a players health less than the damage of the weapon they were shot with. Say you set deagle to 25 and the player has 26 HP they would lose 46 and die this is wrong implementation for what your trying to accomplish.


Re: New Weapon Damage System [0.3z] - $Bayside$ - 17.01.2014

Meh, you forgot to add armour.


Re: New Weapon Damage System [0.3z] - RenSoprano - 17.01.2014

Quote:
Originally Posted by [uL]Pottus
View Post
This ain't gonna work properly at all you can't just set a players health less than the damage of the weapon they were shot with. Say you set deagle to 25 and the player has 26 HP they would lose 46 and die this is wrong implementation for what your trying to accomplish.
Okay, thanks I will fix it when I get back at home.
I just create only to show how I think it should be created.

Thanks, all.