Textdraw help.
#9

Quote:
Originally Posted by Tee
Посмотреть сообщение
Here is a code i use for health.

pawn Код:
public OnPlayerUpdate(playerid)
{
    new string[128],Float:health;
    GetVehicleHealth(GetPlayerVehicleID(playerid), health);
     format(string, sizeof(string), "Health: %.1f", health);
     TextDrawSetString(Textdraw3, string);
    return 1;
}
I wouldn't recommend setting a TextDraw string about 37 times per second.
Reply


Messages In This Thread
Textdraw help. - by zack3021 - 06.10.2010, 23:39
Re: Textdraw help. - by Kitten - 06.10.2010, 23:41
Re: Textdraw help. - by Tee - 06.10.2010, 23:44
Re: Textdraw help. - by LarzI - 06.10.2010, 23:44
Re: Textdraw help. - by bigcomfycouch - 06.10.2010, 23:45
Re: Textdraw help. - by zack3021 - 06.10.2010, 23:47
Re: Textdraw help. - by zack3021 - 06.10.2010, 23:56
Re: Textdraw help. - by LarzI - 07.10.2010, 00:13
Re: Textdraw help. - by Toni - 07.10.2010, 02:43
Re: Textdraw help. - by Retardedwolf - 07.10.2010, 02:57

Forum Jump:


Users browsing this thread: 1 Guest(s)