Textdraws
#1

pawn Код:
new Float:hp;
    GetPlayerHealth(playerid, hp);
   
    format(string, sizeof(string), "Health: %f", floatround(hp));
    PlayerTextDrawSetString(playerid, Textdraw1[playerid], string);
    PlayerTextDrawShow(playerid, Textdraw1[playerid]);
Why does it display as "Health: 0.00000000000000000000" in game?
Reply


Messages In This Thread
Textdraws - by BigGroter - 05.08.2013, 13:05
Re: Textdraws - by ScRipTeRi - 05.08.2013, 13:06
Re: Textdraws - by BigGroter - 05.08.2013, 13:09
Re: Textdraws - by ScRipTeRi - 05.08.2013, 13:11
Re: Textdraws - by morocco - 05.08.2013, 13:25
Re: Textdraws - by BigGroter - 05.08.2013, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)