Raised This Month: $ Target: $400
 0% 

if's


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
GhostMan
Senior Member
Join Date: Jun 2012
Old 07-16-2012 , 08:01   if's
Reply With Quote #1

PHP Code:
public hook_TakeDamage(victimattackeruselessFloat:damagedamagebits) {
    
    if(
g_iTimeLeft 0)
    {
        if((
specialday[20] != DAY_HNS) || bits & (1<<24))
        {
            return 
HAM_SUPERCEDE
        
}
        else if(
cs_get_user_team(victim) == CS_TEAM_CT)
        {
            return 
HAM_SUPERCEDE
        
}
    }
    return 
HAM_IGNORED

What would be if specialday[20] == DAY_HNS and grenade will be dropped? So the damage wount be deal or it would, but just for terrorist team?

Last edited by GhostMan; 07-16-2012 at 08:06.
GhostMan 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:24.


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