Raised This Month: $ Target: $400
 0% 

Just a stupid Question..About Damage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
davidto1995
Member
Join Date: Jul 2010
Location: hong kong
Old 07-30-2010 , 20:57   Re: Just a stupid Question..About Damage
Reply With Quote #4

..i can't understand at all..
can someone just make a easy explanation for me
PS:i come form Hong Kong my english is poor= =
#define PORCENT 50

public FwdTakeDamage(id, iInflictor, iAttacker, Float:fDamage, iDamagebits)
{
new Float:fResult = (fDamage * PORCENT) / 100;

fDamage += fResult;
so it means increase 50% damage?

Last edited by davidto1995; 07-30-2010 at 21:00.
davidto1995 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:11.


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