Command broken, don't know why.
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
pawn Код:
tbhealedhealth = 100-health; // 100 - 100 = ?
healprice = tbhealedhealth*10; // tbhealedhealth * 10 = 0 * 10 = ?
healtime = tbhealedhealth*100; // 0*100 = ?
and health: %d replace to health: %.4f
Thanks, will check if it works. That code is to calculate how much health is to be healed, as that is needed to calculate the time the player will spend in hospital (health to be healed in seconds) and the cost (health to be healed * 10 in dollars)
Reply


Messages In This Thread
Command broken, don't know why. - by Trekkx - 28.08.2012, 23:16
Re: Command broken, don't know why. - by Jefff - 29.08.2012, 00:33
Re: Command broken, don't know why. - by Trekkx - 29.08.2012, 01:42

Forum Jump:


Users browsing this thread: 3 Guest(s)