From cf65ebf64784a3d434936a5b7afb41a2e4644d62 Mon Sep 17 00:00:00 2001 From: Lukasz Wlasinksi Date: Fri, 10 Sep 2004 10:08:22 +0000 Subject: [PATCH] added DoD include files --- plugins/include/dodx.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/include/dodx.inc b/plugins/include/dodx.inc index 10ee5dd5..f84fd611 100755 --- a/plugins/include/dodx.inc +++ b/plugins/include/dodx.inc @@ -18,6 +18,7 @@ enum { XMF_DAMAGE = 0, XMF_DEATH, + XMF_SCORE, } /* Use this function to register forwards */ @@ -31,6 +32,9 @@ forward client_damage(attacker,victim,damage,wpnindex,hitplace,TA); * if player was killed by teammate TK is set to 1 */ forward client_death(killer,victim,wpnindex,hitplace,TK); +/* Function is called if player scored */ +forward client_score(index,score,total); + /* Custom Weapon Support */ /* function will return index of new weapon */ native custom_weapon_add( wpnname[],melee = 0,logname[]="" );