Raised This Month: $ Target: $400
 0% 

[Solved] Show Final Damage done


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 10-19-2015 , 01:39   Re: [Help] Damage done
Reply With Quote #7

PHP Code:
public fwd_TakeDamage_Post(victiminflictorattackerFloat:damagedamage_type)
{
    new 
dmg_take
    
if ((dmg_take pev(victimpev_dmg_take)) <= 0) return HAM_IGNORED

    
if (!is_user_connected(attacker) || victim == attacker) return HAM_IGNORED

    
if (damage_type DMG_BLAST)
    {
        
ColorChat(0Grey"^x04[Jetpack+Bazooka]^x01 Damage to^x03 %s^x01 ::^x04 %i damage"victimdmg_take)
    }
    return 
HAM_IGNORED

No error at all
but damage done isn't shown idk why
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
 



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 22:11.


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