Raised This Month: $ Target: $400
 0% 

SuperKnife Damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Erdener
Senior Member
Join Date: Apr 2010
Location: Turkey
Old 02-09-2013 , 08:29   Re: SuperKnife Damage
Reply With Quote #5

Add

PHP Code:
new cvar_dmg 
PHP Code:
RegisterHam(Ham_TakeDamage"player""fw_TakeDamage"
PHP Code:
cvar_dmg register_cvar("amx_sk_dmg""20.0"
and add public

PHP Code:
public fw_TakeDamageiVictimiInflictoriAttackerFloat:fDamage,iDMGBits ) {
    if( 
/*make checks here*/ ) {
        
SetHamParamFloat4, ( fDamage get_pcvar_float(cvar_dmg) );
    }

__________________
Erdener 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 20:35.


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