AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Deathmatch Stats (https://forums.alliedmods.net/showthread.php?t=15882)

EKS 10-31-2005 11:59

? whats not working. Maybe other plugins are sending messages on the same hud channel

Podunk 12-31-2005 16:32

bug fix for a runtime error complaining about "player 0"




Code:

public Event_Damage()
{
        new victim = read_data(0)
        new OrgDmg = read_data(2)
       
        if (victim == 0) return PLUGIN_CONTINUE
       
        new attacker = get_user_attacker(victim)
       
       
        if(OrgDmg == 0 || victim == 0 || victim == attacker) return PLUGIN_CONTINUE

        g_DmgGiven[attacker] += OrgDmg
        g_DmgTaken[victim] += OrgDmg
        return PLUGIN_CONTINUE
}


EKS 03-10-2006 09:26

Fixed bug reported by Ricky.

Ricky 03-10-2006 12:32

latest version shows this on 1.70



L 03/10/2006 - 09:30:10: [AMXX] Displaying debug trace (plugin "dm_stats.amxx")
L 03/10/2006 - 09:30:10: [AMXX] Run time error 4: index out of bounds
L 03/10/2006 - 09:30:10: [AMXX] [0] dm_stats.sma::Event_Damage (line 132)

EKS 03-10-2006 16:52

Try now

Ricky 03-10-2006 20:07

Quote:

Originally Posted by EKS
Try now

so far so goood

sytremelaker 03-07-2007 22:43

Re: Deathmatch Stats
 
Where is the HUD message located? Maybe a screenshot?


All times are GMT -4. The time now is 03:36.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.