View Single Post
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Berlin
Old 03-18-2010 , 16:30   Re: [TUT] Recording Damage/Hits Per-Round and Displaying It
Reply With Quote #51

Remove the check for damage == 0:
PHP Code:
 if( tmp_hits || tmp_rhits )
            {
                
check 1
                tmp_dmg 
pug_dmg[id][player]
                
tmp_rdmg pug_dmg[player][id]

                if( 
id == player || cs_get_user_teamplayer ) == teamid )
                {
                    continue;
                }

                
get_user_name(player,name31)
                
client_print(id,print_chat,"%s %L",pug_header2,id,"PUG_AUX_DMG",tmp_dmg,tmp_hits,tmp_rdmg,tmp_rhitsnameis_user_aliveplayer ) ? get_user_health(player) : 0)
            } 

PHP Code:
                check 1
                tmp_dmg 
pug_dmg[id][player]
                
tmp_rdmg pug_dmg[player][id]

                if( 
id == player || cs_get_user_teamplayer ) == teamid )
                {
                    continue;
                }

                
get_user_name(player,name31)
                
client_print(id,print_chat,"%s %L",pug_header2,id,"PUG_AUX_DMG",tmp_dmg,tmp_hits,tmp_rdmg,tmp_rhitsnameis_user_aliveplayer ) ? get_user_health(player) : 0
Seta00 is offline