[FilterScript] Weapon damage system [v1.0]
#1

Weapon damage system v3
* My first filterscript, be nice.
* Add credits if you are using this script on your gamemode.

================================================== ====================

Quote:
Version 1
Adds damage to weapons, doesn't edit the damage itself.


Version 2
Edits the damage by your choice.

Version 3
Upgraded detection of hitting to textdraw.

================================================== ====================

* Has a detection if you shot the target and if the target got shot. [ Upgraded in version 3 to TextDraw ]
How to edit the weapon damage by yourself :
Quote:

The code itself :
pawn Code:
case [weaponid]: Damage = [damage];
Example for a tec9 that does 55 damage.
pawn Code:
case 31: Damage = 55;
Example for a tec9 & a micru UZI, both do 55 damage.
pawn Code:
case 31,28: Damage = 25;
================================================== ====================
OnPlayerShootPlayer - REQUIRED.

Code :
Quote:
Version 1
adf.ly
pastebin
Version 2
adf.ly
pastebin
Version 3
adf.ly
pastebin
================================================== ====================
CREDITS :
wups - OPSP
Spenzo / Darnell (me) - for this filterscript .



================================================== ====================

[ case 31: Damage = 50; , then tec9 will do 50 will deal 50 health points per bullet. ]
Reply


Messages In This Thread
Weapon damage system [v3.0] - by Darnell - 09.08.2011, 19:01
Re: Weapon damage system [v1.0] - by Elbert_Hutchinson - 09.08.2011, 19:06
Re: Weapon damage system [v1.0] - by Darnell - 09.08.2011, 19:06
Re: Weapon damage system [v1.0] - by Anzhelov - 09.08.2011, 19:32
Re: Weapon damage system [v1.0] - by Darnell - 09.08.2011, 19:36
Re: Weapon damage system [v1.0] - by 0ne - 09.08.2011, 19:39
Re: Weapon damage system [v1.0] - by Darnell - 09.08.2011, 19:41
Re: Weapon damage system [v1.0] - by wups - 09.08.2011, 19:48
AW: Weapon damage system [v1.0] - by Chenjiang - 09.08.2011, 21:19
Re: AW: Weapon damage system [v1.0] - by wups - 09.08.2011, 21:31
Re: Weapon damage system [v1.0] - by Darnell - 10.08.2011, 04:03
Re : Weapon damage system [v1.0] - by Alvin007 - 10.08.2011, 10:57
Re: Weapon damage system [v1.0] - by Darnell - 10.08.2011, 11:51
Re: Weapon damage system [v1.0] - by Darnell - 12.08.2011, 07:52
Re: Weapon damage system [v1.0] - by ricardo178 - 12.08.2011, 20:44
Re: Weapon damage system [v1.0] - by Darnell - 13.08.2011, 05:05
Re: Weapon damage system [v1.0] - by Darnell - 13.08.2011, 07:14
Re: Weapon damage system [v1.0] - by cruising - 13.08.2011, 14:24
Re: Weapon damage system [v1.0] - by Darnell - 13.08.2011, 17:22
Re: Weapon damage system [v1.0] - by Tigerkiller - 13.08.2011, 20:51
Re: Weapon damage system [v1.0] - by Darnell - 14.08.2011, 04:01
Re: Weapon damage system [v1.0] - by KfirRP - 14.08.2011, 12:27
Re: Weapon damage system [v1.0] - by Darnell - 14.08.2011, 13:02
Re: Weapon damage system [v1.0] - by KfirRP - 14.08.2011, 15:37
Re: Weapon damage system [v1.0] - by Darnell - 14.08.2011, 15:46
Re: Weapon damage system [v1.0] - by Davz*|*Criss - 21.08.2011, 17:59
Re: Weapon damage system [v1.0] - by Darnell - 22.08.2011, 12:06
Re : Weapon damage system [v1.0] - by bousla7e - 22.08.2011, 20:03
Re: Re : Weapon damage system [v1.0] - by Darnell - 23.08.2011, 09:33
Re: Weapon damage system [v1.0] - by dud - 23.08.2011, 12:07
Re: Weapon damage system [v1.0] - by God'Z War - 27.09.2012, 17:43
Re: Weapon damage system [v1.0] - by NoahF - 29.09.2012, 10:19
Re: Weapon damage system [v1.0] - by Ghost100 - 29.09.2012, 13:40
Re: Weapon damage system [v1.0] - by Alex_T - 20.10.2013, 20:00
Re: Weapon damage system [v1.0] - by Alex_T - 21.10.2013, 20:53

Forum Jump:


Users browsing this thread: 3 Guest(s)