24.05.2009, 07:32
the greatest problem for many textdraw begginers are the coordinates, but it isn't all that hard.
open up your paint.exe and create canvas of 640x480. you can also load a gta picture of 640x480 for better recognision of other visual interface. next thing is to draw a box somewhere. select a point at which ou would like the text to start (navigate your mouse on the 640x480 canvas) and see the coordinates at the bottom. those are the x and y you need for your textdraw. that's probably it
ofc you need yo show it to player so I suggest you use something like
and then you can show the player the textdraw 'TextDraw' since it has been returned on creation to the id of the actua textdraw
open up your paint.exe and create canvas of 640x480. you can also load a gta picture of 640x480 for better recognision of other visual interface. next thing is to draw a box somewhere. select a point at which ou would like the text to start (navigate your mouse on the 640x480 canvas) and see the coordinates at the bottom. those are the x and y you need for your textdraw. that's probably it
![Smiley](images/smilies/smile.png)
pawn Код:
//on top
new Text:TextDraw;
//wherever needed
TextDraw=TextDrawCreate(x,y,text);// or whatever params there are