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[]="" );