How to create ?
#5

It requires 4 textdraws, 3 if you don't count the "WC":
1st: Create a black textdraw to be the out line
2nd: Create a faded, or otherwise off-colored textdraw that fits into the black outline
3rd: Create a full-colored textdraw that is the exact size of the 2nd
Now figure the exact size of the 3rd textdraw's maximum size you want. divide that by the maximum value (Example: maximum health, maximum fuel) and multiply all that mess by the current value (current health, current fuel). That number will be your 'Y' parameter for "TextDrawTextSize(Text:text,Float:X,Float:Y)" then after using that, you update the player's view of it by using "TextDrawShowForPlayer"
Reply


Messages In This Thread
How to create ? - by Miny24 - 10.08.2009, 13:28
Re: How to create ? - by Sergei - 10.08.2009, 13:37
Re: How to create ? - by Miny24 - 10.08.2009, 13:55
Re: How to create ? - by Miny24 - 15.08.2009, 16:49
Re: How to create ? - by Joe Staff - 15.08.2009, 17:10
Re: How to create ? - by dioptrie - 12.09.2009, 13:26
Re: How to create ? - by gotenks918 - 12.09.2009, 13:33
Re: How to create ? - by dioptrie - 12.09.2009, 14:15
Re: How to create ? - by dioptrie - 12.09.2009, 18:36
Re: How to create ? - by Correlli - 12.09.2009, 18:38
Re: How to create ? - by Jakku - 12.09.2009, 18:41

Forum Jump:


Users browsing this thread: 2 Guest(s)