09.08.2011, 19:01
(
Last edited by Darnell; 21/08/2011 at 11:04 AM.
Reason: Updating.
)
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:
pawn Code:
pawn Code:
|
OnPlayerShootPlayer - REQUIRED.
Code :
================================================== ====================
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. ]