[HELP] Health TextDraw?
#1

Why this dont work? it gives me random numbers on my TextDraw, like: 145614251456


pawn Code:
public OnPlayerUpdate(playerid)
{
    new string[128];
    new Float:health;
    GetPlayerHealth(playerid, health);

    format(string, sizeof(string), "%i", health);
    TextDrawSetString(HealthTD, string);
    return 1;
}
Reply


Messages In This Thread
[HELP] Health TextDraw? - by Larsey123IsMe - 09.01.2011, 21:48
Re: [HELP] Health TextDraw? - by Kitten - 09.01.2011, 21:55
Re: [HELP] Health TextDraw? - by Joe Staff - 09.01.2011, 21:56
Re: [HELP] Health TextDraw? - by MrDeath537 - 09.01.2011, 22:05
Re: [HELP] Health TextDraw? - by Joe Staff - 09.01.2011, 22:17
Re: [HELP] Health TextDraw? - by Larsey123IsMe - 09.01.2011, 22:22
Re: [HELP] Health TextDraw? - by _rAped - 09.01.2011, 22:35
Re: [HELP] Health TextDraw? - by Larsey123IsMe - 09.01.2011, 22:51
Re: [HELP] Health TextDraw? - by Zamaroht - 09.01.2011, 22:56
Re: [HELP] Health TextDraw? - by Larsey123IsMe - 09.01.2011, 23:03

Forum Jump:


Users browsing this thread: 2 Guest(s)