Raised This Month: $ Target: $400
 0% 

How to detect when somebody suicides on acid?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
AfteR.
Veteran Member
Join Date: Dec 2008
Location: λ
Old 07-30-2010 , 14:37   Re: How to detect when somebody suicides on acid?
Reply With Quote #8

Bugsy, it didn't work. Thanks anyway, I could solve it with this:

PHP Code:
#include <amxmodx>
#include <hamsandwich>

const DMG_ACID 76

public plugin_init()
{
    
    
RegisterHamHam_TakeDamage"player""HamTakeDamagePre")
}

public 
HamTakeDamagePrevicinfattFloat:dmgdmgbits )
{
    if( 
dmgbits DMG_ACID )
        return 
HAM_SUPERCEDE;
        
    return 
HAM_IGNORED;

AfteR. 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 00:15.


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