[fw_TakeDamage] Incredible Numbers !
Hi there !
I have a problem with my code. I wanted to make an ability that 50% of your damage absorbs to your health. (100 damage = 50 additional health) PHP Code:
|
Re: [fw_TakeDamage] Incredible Numbers !
'damage' is a float, and not an integer.
|
Re: [fw_TakeDamage] Incredible Numbers !
So, how can I transfer a float to an integer?
I have checked that deleting 'Float:' before damage nothing changes. |
Re: [fw_TakeDamage] Incredible Numbers !
Quote:
|
Re: [fw_TakeDamage] Incredible Numbers !
Thank You ; ]
|
| All times are GMT -4. The time now is 06:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.