15.08.2009, 17:10
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"
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"