Damages
#5

Try using the ternary operator:
PHP код:
damage = (bodypart == 9) ? 30 20
Or, if you want to do it real easy for all weapons, you can multiply the damage by 1.5 after having established the base damage.
Reply


Messages In This Thread
Damages - by GoldenLion - 10.06.2016, 15:36
Re: Damages - by Dayrion - 10.06.2016, 15:49
Re: Damages - by GoldenLion - 10.06.2016, 15:59
Re: Damages - by SyS - 10.06.2016, 16:05
Re: Damages - by Vince - 10.06.2016, 16:05
Re: Damages - by GoldenLion - 10.06.2016, 16:10
Re: Damages - by GoldenLion - 10.06.2016, 17:08

Forum Jump:


Users browsing this thread: 1 Guest(s)