Raised This Month: $ Target: $400
 0% 

Health


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 07-04-2009 , 16:08   Re: Health
Reply With Quote #7

PHP Code:
    if ( ( iWeapon == iWeaponTmp ) && ( iAmmoTmp iAmmo ) )
        
set_pevid pev_health pevid pev_health ) - 1.0 ); 

PHP Code:
    if ( ( iWeapon == iWeaponTmp ) && ( iAmmoTmp iAmmo ) )
    {
        new 
Float:Health;
        
pev(idpev_healthHealth);
 
        if (
Health 1)
            
set_pevid pev_health Health 1.0 );
        else
            
user_kill(id);
    } 
__________________
hleV 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 15:39.


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