Raised This Month: $ Target: $400
 0% 

Amplify damage taken from trigger_hurt


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 06-22-2014 , 13:25   Amplify damage taken from trigger_hurt
Reply With Quote #1

I can't find damage type trigger_hurt in the hlsdk_const.ini. Please help me detect the trigger_hurt damage.

Code:
#include <amxmodx> #include <hamsandwich> public plugin_init() {     register_plugin("D7 Damage Amplifier Trigger Hurt", "0.0.1", "D i 5 7 i n c T")         RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage") } public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type) {     if (damage >= 100.0 && /* DETECT TRIGGER_HURT DAMAGE */)     {         damage *= 500.0                 SetHamParamFloat(4, damage)     } }
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
 



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 21:09.


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