SA-MP Forums Archive
How to create ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to create ? (/showthread.php?tid=90807)



How to create ? - Miny24 - 10.08.2009

Hi just want to ask if someone there who would find me I wrote How do I create this:


Re: How to create ? - Sergei - 10.08.2009

With textdraws


Re: How to create ? - Miny24 - 10.08.2009

I know it's textdraw, but do not know how to do it via textdraw not shown me someone?


Re: How to create ? - Miny24 - 15.08.2009

PLS HELP


Re: How to create ? - Joe Staff - 15.08.2009

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"


Re: How to create ? - dioptrie - 12.09.2009

pls how can i do this (write code)


Re: How to create ? - gotenks918 - 12.09.2009

Your best bet is to use a textdraw filterscript, there is a nice one out there where you can visually create textdraws, use the search.


Re: How to create ? - dioptrie - 12.09.2009

i have got textdraw editor but i cant do a box maybe i can use bacwards FS


Re: How to create ? - dioptrie - 12.09.2009

please anybody give me a code of this textdraw i dont know how can i create it!!!!!


Re: How to create ? - Correlli - 12.09.2009

Quote:
Originally Posted by dioptrie
please anybody give me a code of this textdraw i dont know how can i create it!!!!!
Then ask in the script request topic.


Re: How to create ? - Jakku - 12.09.2009

Ask this in Script Request Thread, or use Ingame Textdraw editor. Search to see some