Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <amxmodx>
- #include <hamsandwich>
- #include <fakemeta>
- public plugin_init()
- {
- RegisterHam( Ham_TakeDamage , "player" , "TakeDamage_Post" , true );
- }
- public TakeDamage_Post( Victim , Inflictor , Attacker , Float:fDamage , bitDamage )
- {
- new iLossInHP = pev( Victim , pev_dmg_take );
- new Float:fSize = 1.0 + ( float( iLossInHP ) / 100.0 );
- switch ( iLossInHP )
- {
- case 50 .. 255:
- {
- }
- default:
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement