03.06.2015, 13:32
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
I like to move this speedometer to another location. How do i know what coordinates i need to write?
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);