Raised This Month: $ Target: $400
 0% 

Bullet Damage with new HudMessages | UPDATED 10/04/11


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kltar0
New Member
Join Date: Oct 2014
Old 10-19-2014 , 19:49   Re: Bullet Damage with new HudMessages | UPDATED 10/04/11
Reply With Quote #20

I have a problem with this plugin. When i set the Bullet_Hs_Mode to 2 it shows the message "HEADSHOT" every time the victim is hit in head, even is not killed with headshot.

I found this fix that works with me

I replace the code
PHP Code:
else 

       
show_client_textVictim"HEADSHOT"0pCvar_TMODE 
       
show_client_textAttacker"HEADSHOT"1pCvar_TMODE 

with
PHP Code:
else

    if( !
is_user_aliveVictim ) || !is_user_aliveAttacker ))
        {
            
show_client_textVictim"HEADSHOT"0pCvar_TMODE )
            
show_client_textAttacker"HEADSHOT"1pCvar_TMODE )
        }
    else
    {
        
show_client_valueVictimdamage0DIRECTOR_HUD_MESSAGE )
        
show_client_valueAttackerdamage1DIRECTOR_HUD_MESSAGE )
    }

Now it shows the "HEADSHOT" message only if the player is killed with headshot
kltar0 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:02.


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