Textdraws not updating
#6

pawn Код:
public OnPlayerUpdate(playerid)
{
    new Float:health,hstring[30];
    GetPlayerHealth(playerid,health);
    format(hstring,sizeof(hstring),"Health Level: %.0f%%",health);
    TextDrawSetString(hp, hstring);
    TextDrawShowForPlayer(playerid, hp);
    return 1;
}
%% means one % sign.
Reply


Messages In This Thread
Textdraws not updating - by WillyP - 03.12.2010, 19:32
Re: Textdraws not updating - by blackwave - 03.12.2010, 19:35
Re: Textdraws not updating - by dice7 - 03.12.2010, 19:39
Re: Textdraws not updating - by WillyP - 03.12.2010, 20:58
Re: Textdraws not updating - by Axuj - 03.12.2010, 21:04
Re: Textdraws not updating - by The_Gangstas - 03.12.2010, 21:06
Re: Textdraws not updating - by WillyP - 03.12.2010, 21:06
Re: Textdraws not updating - by Retardedwolf - 03.12.2010, 21:10
Re: Textdraws not updating - by Hiddos - 03.12.2010, 21:45
Re: Textdraws not updating - by Biesmen - 04.12.2010, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)