TextDraw Place
#1

Hello,
Today i am trying to learn a bit textdraw code. I just wonder how do i know where the textdraw needs to be located on the screen? I mean how do real scripters know exactly what coordinates they needs to write?
For example this code
Код:
	SetPVarInt(playerid, "FuelBar", _:bar);
	new Text:speedtext = TextDrawCreate(504.000000, 354.000000, "~p~255 ~w~km/h");
	TextDrawBackgroundColor(speedtext, 0x000000FF);
	TextDrawFont(speedtext, 1);
	TextDrawLetterSize(speedtext, 0.400000, 1.000000);
	TextDrawColor(speedtext, 0xA803D0FF);
	TextDrawSetOutline(speedtext, 0);
	TextDrawSetProportional(speedtext, 1);
	TextDrawSetShadow(speedtext, 1);
	TextDrawHideForPlayer(playerid, speedtext);
	SetPVarInt(playerid, "SpeedDraw", _:speedtext);
I like to move this speedometer to another location. How do i know what coordinates i need to write?
Reply


Messages In This Thread
TextDraw Place - by Tony$$ - 03.06.2015, 13:32
AW: TextDraw Place - by Kaliber - 03.06.2015, 13:34
Re: TextDraw Place - by Tony$$ - 03.06.2015, 13:39
Re: TextDraw Place - by Vince - 03.06.2015, 13:40

Forum Jump:


Users browsing this thread: 2 Guest(s)