Raised This Month: $ Target: $400
 0% 

Jailbreak Box can kill each other CT


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-17-2014 , 06:12   Re: Jailbreak Box can kill each other CT
Reply With Quote #4

Quote:
Originally Posted by Fuck For Fun View Post
i got 2 error:

Code:
public HamTakeDamage( victim, inflictor, attacker, Float:damage, damagebits )
{
        if ( (!is_user_connected( attacker ) || !is_user_alive( attacker ))  && (!is_user_connected( victim ) || !is_user_alive( victim ) )
                return HAM_IGNORED;
       
        new Ateam = cs_get_user_team(attacker)
        new Vteam = cs_get_user_team(victim)
        if(Ateam == CS_TEAM_CT && Vteam == CS_TEAM_CT)
                   return HAM_SUPERCEDE
        HAM_IGNORE
}
why u add HAM_IGNORE line?
and i think u missed more )
in last line
Code:
!is_user_alive( victim ) )
>
Code:
!is_user_alive( victim ) ) )
Code:
Warning: Function "HamTakeDamage" should return a value
alright i fixed it
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
 



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 17:35.


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