Raised This Month: $ Target: $400
 0% 

[ Request ] Ham_TakeDamage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 07-03-2012 , 04:15   [ Request ] Ham_TakeDamage
Reply With Quote #1

Hi !

Just one problem with this :

Code:
public Fw_HamTakeDamage( victim , inflictor , attacker , Float: damage , damage_bits ) {     if( !g_bLast_activate )         return HAM_IGNORED;         else if( g_bLast_activate     && cs_get_user_team( inflictor ) == CS_TEAM_CT     || inflictor == attacker     && cs_get_user_team( victim ) == CS_TEAM_T     && attacker != g_tempid     || inflictor != g_tempid )     {         client_print( 0 , print_chat , "WARNING" );         return HAM_SUPERCEDE;     }             else if( g_bLast_activate     && cs_get_user_team( inflictor ) == CS_TEAM_CT     || inflictor == attacker     && cs_get_user_team( victim ) == CS_TEAM_T     && attacker == g_tempid     || inflictor == g_tempid )     {         client_print( 0 , print_chat , "OKAY" );         return HAM_IGNORED;     }     return HAM_IGNORED; }

Only "WARNING" is good.
Hum, just when the player is Ct and he want to kill a Ct in duel but he can kill the terro...
__________________
Pawn ? Useless
Aooka 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:01.


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