Ham_TakeDamage?? help
[English/Ingles]
HI, This is my code: PHP Code:
Whath is the error? Sorry my bad english , Iīm from Argentina [Spanish/Espaņol] Hola, aqui les dejo mi codigo del plugin: PHP Code:
Alguien save cual es el error? |
Re: Ham_TakeDamage?? help
public fw_TakeDamage(victim_ent, inflictor_ent, attacker_ent, Float:fDamage, DmgBits)
|
Re: Ham_TakeDamage?? help
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. |
Re: Ham_TakeDamage?? help
plis can get an example or my code fixed? plis
excuse me is that this fuction does not understand much! Sorry for my bad english , Iīm form Argentina |
Re: Ham_TakeDamage?? help
PHP Code:
|
Re: Ham_TakeDamage?? help
:)Thanks for the help, now i understand more.
+karma for you.... |
| All times are GMT -4. The time now is 02:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.