[SOLVED] Algebraic Expression
#4

A problem is that that isn't how you get the player health.

pawn Код:
new Float:playerHP = 100.0;
    playerHP *= 2.04;
    playerHP += 400;
    printf("%f", playerHP);
That gives you a good value with 100, but you still get the pesky 0008 with 1.0
Reply


Messages In This Thread
[SOLVED] Algebraic Expression - by Blantas - 10.08.2009, 19:16
Re: Algebraic Expression - by RSX - 10.08.2009, 19:30
Re: Algebraic Expression - by Blantas - 10.08.2009, 19:41
Re: Algebraic Expression - by Weirdosport - 10.08.2009, 22:13
Re: Algebraic Expression - by s0nic - 10.08.2009, 22:32
Re: Algebraic Expression - by Blantas - 10.08.2009, 22:52
Re: Algebraic Expression - by paytas - 10.08.2009, 22:55
Re: Algebraic Expression - by Blantas - 10.08.2009, 23:04
Re: Algebraic Expression - by paytas - 10.08.2009, 23:06
Re: Algebraic Expression - by Blantas - 10.08.2009, 23:13

Forum Jump:


Users browsing this thread: 1 Guest(s)