Thunder, more than 1 use
I already changed the havetk to other values such as 3, but even so the use is limited to one use only.
PHP Code:
PHP Code:
Thanks. |
Re: Thunder, more than 1 use
After you have set havetk[id] to a higher value, you need to change it to reduce the variable by one.
Currently, it just resets it to 0: havetk[attacker] = 0 But instead you should do: havetk[attacker]-- |
Re: Thunder, more than 1 use
It worked perfectly, thank you!
One more doubt please. I would also put a time of 5 seconds for the player take damage, I tried the way down, but did not work. PHP Code:
PHP Code:
#EDIT I even managed to fix, but I still get warning of loose indentaion. |
Re: Thunder, more than 1 use
tools -> indentor
|
Re: Thunder, more than 1 use
Two fixed and two generated in other lines.
I think it's okay to let the warnings. Thanks. |
| All times are GMT -4. The time now is 08:35. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.