Raised This Month: $ Target: $400
 0% 

Ham_TakeDamage?? help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-15-2009 , 13:27   Re: Ham_TakeDamage?? help
Reply With Quote #3

Your code is totally wrong. fw_TakeDamage is a forward.

Param should look : public fw_TakeDamage ( Victim, Inflictor, Attacker, Float:Damage, DamageBits);

And you can not called a forward with custom values, it will do nothing. You have to create a global var which you could save the damage multiplier then in the forward using this var.
Arkshine 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 02:24.


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