Raised This Month: $ Target: $400
 0% 

2 things


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 09-09-2012 , 08:45   Re: 2 things
Reply With Quote #10

Quote:
Originally Posted by daniel46 View Post
2 i build this code

PHP Code:
new armor get_user_armor(victim);
    new 
health get_user_health(victim);
    new 
szName[32];
    
get_user_name(victim,szName,31)

    if(
armor && cs_get_user_team(attacker) == CS_TEAM_T && DayActive)
    {
        
set_hudmessage(255000.010.2906.012.0)
        
show_hudmessage(attacker"Name: %s^nHealth: %d^nArmor: %d"szNamehealtharmor)
    }
    else if(
cs_get_user_team(attacker) == CS_TEAM_T && DayActive)
    {
        
set_hudmessage(255000.010.2906.012.0)
        
show_hudmessage(attacker"Name: %s^nHealth: %d"szNamehealth)
    }

its with ham take dmg and there is 1 thing i dont know how to do when i hit hemm its shows hes health but not the health with the -health i hited hemm how can i cout it to?
hook it as post
Code:
RegisterHam(Ham_TakeDamage, "player", "doneGotShotAfter", 1)
__________________
What an elegant solution to a problem that doesn't need solving....
Liverwiz 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 08:13.


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