Wysłany: 2014-11-11, 00:44
akon823
Czekotubka :D
Wiek: 29 Na forum: 4815 dni Posty: 399
Nick w MP: Remik14
Piwa : 152
Witam, mam problem poniewa? mam sobie takie 2 textdrawy:
Kod: TD_PP15[playerid] = CreatePlayerTextDraw(playerid,253.000000, 319.000000, "Kup");
PlayerTextDrawBackgroundColor(playerid,TD_PP15[playerid], 255);
PlayerTextDrawFont(playerid,TD_PP15[playerid], 0);
PlayerTextDrawLetterSize(playerid,TD_PP15[playerid], 0.639999, 2.100000);
PlayerTextDrawColor(playerid,TD_PP15[playerid], -65281);
PlayerTextDrawSetOutline(playerid,TD_PP15[playerid], 0);
PlayerTextDrawSetProportional(playerid,TD_PP15[playerid], 1);
PlayerTextDrawSetShadow(playerid,TD_PP15[playerid], 1);
PlayerTextDrawSetSelectable(playerid,TD_PP15[playerid], 1);
TD_PP16[playerid] = CreatePlayerTextDraw(playerid,337.000000, 319.000000, "Dalej");
PlayerTextDrawBackgroundColor(playerid,TD_PP16[playerid], 255);
PlayerTextDrawFont(playerid,TD_PP16[playerid], 0);
PlayerTextDrawLetterSize(playerid,TD_PP16[playerid], 0.639999, 2.100000);
PlayerTextDrawColor(playerid,TD_PP16[playerid], -65281);
PlayerTextDrawSetOutline(playerid,TD_PP16[playerid], 0);
PlayerTextDrawSetProportional(playerid,TD_PP16[playerid], 1);
PlayerTextDrawSetShadow(playerid,TD_PP16[playerid], 1);
PlayerTextDrawSetSelectable(playerid,TD_PP16[playerid], 1);
No i wszystko fajnie itd ale one s? obok siebie i jak chce zaznaczyc 1 to zaznaczaja sie oba i nie wiem dlaczego.
Wyczyta?em w necie ?e funkcja PlayerTextDrawAligment mo?e pom?c ale nic ona nie daje.
Potem pisali co? o TextDrawTextSize no i zmieniam te parametry ale nic r?wnie? nie daje a nawet gorzej bo wgl nie dzia?a zaznaczenie.
Mia?em kiedy? taki problem i zast?pi?em to spite'ami ale ile mo?na ucieka? od problemu.
(Reszty kodu nie pokazuje bo na co to komu, kod jest przyk?adowy ale r?wnie? si? zaznaczaj? oba bo sprawdza?em )
Jakie? pomys?y jak to naprawi? ?
Pozdrawiam
Wysłany: 2014-11-11, 09:48
kazami
Pawner/PTG
Wiek: 27 Na forum: 4596 dni Posty: 405
Nick w MP: adi888
Piwa : 43
Pawn
TD_PP15 [ playerid ] = CreatePlayerTextDraw ( playerid , 253.000000 , 319.000000 , "Kup" );
PlayerTextDrawBackgroundColor ( playerid , TD_PP15 [ playerid ], 255 );
PlayerTextDrawFont ( playerid , TD_PP15 [ playerid ], 0 );
PlayerTextDrawLetterSize ( playerid , TD_PP15 [ playerid ], 0.639999 , 2.100000 );
PlayerTextDrawColor ( playerid , TD_PP15 [ playerid ], - 65281 );
PlayerTextDrawSetOutline ( playerid , TD_PP15 [ playerid ], 0 );
PlayerTextDrawSetProportional ( playerid , TD_PP15 [ playerid ], 1 );
PlayerTextDrawSetShadow ( playerid , TD_PP15 [ playerid ], 1 );
PlayerTextDrawSetSelectable ( playerid , TD_PP15 [ playerid ], 1 );
PlayerTextDrawTextSize ( playerid , TD_PP15 [ playerid ], 290.0 , 10.0 );
TD_PP16 [ playerid ] = CreatePlayerTextDraw ( playerid , 337.000000 , 319.000000 , "Dalej" );
PlayerTextDrawBackgroundColor ( playerid , TD_PP16 [ playerid ], 255 );
PlayerTextDrawFont ( playerid , TD_PP16 [ playerid ], 0 );
PlayerTextDrawLetterSize ( playerid , TD_PP16 [ playerid ], 0.639999 , 2.100000 );
PlayerTextDrawColor ( playerid , TD_PP16 [ playerid ], - 65281 );
PlayerTextDrawSetOutline ( playerid , TD_PP16 [ playerid ], 0 );
PlayerTextDrawSetProportional ( playerid , TD_PP16 [ playerid ], 1 );
PlayerTextDrawSetShadow ( playerid , TD_PP16 [ playerid ], 1 );
PlayerTextDrawSetSelectable ( playerid , TD_PP16 [ playerid ], 1 );
PlayerTextDrawTextSize ( playerid , TD_PP16 [ playerid ], 355.0 , 10.0 );
Spr?buj tego Powinno zadzia?a?
Wysłany: 2014-11-11, 13:33
akon823
Czekotubka :D
Wiek: 29 Na forum: 4815 dni Posty: 399
Nick w MP: Remik14
Piwa : 152
No tak ?rednio to wysz?o no ale dobra pobawie si? tymi parametrami mo?e co? lepszego wyjdzie . Masz bronka .
Wysłany: 2014-11-11, 15:33
kazami
Pawner/PTG
Wiek: 27 Na forum: 4596 dni Posty: 405
Nick w MP: adi888
Piwa : 43
x to jest szeroko?? a y to wysoko?? wi?c y zostaw na 6-10 ?eby by?o tak jak wjedziesz na ten napis no ?eby poprostu zadzia?a? , je?li by? da? y na np. 300 to by? pod napisem by? nisko i by si? pod?wietla? trzeba si? troszk? pobawi? z tym spr?buj tak
Pawn
TD_PP15 [ playerid ] = CreatePlayerTextDraw ( playerid , 253.000000 , 319.000000 , "Kup" );
PlayerTextDrawBackgroundColor ( playerid , TD_PP15 [ playerid ], 255 );
PlayerTextDrawFont ( playerid , TD_PP15 [ playerid ], 0 );
PlayerTextDrawLetterSize ( playerid , TD_PP15 [ playerid ], 0.639999 , 2.100000 );
PlayerTextDrawColor ( playerid , TD_PP15 [ playerid ], - 65281 );
PlayerTextDrawSetOutline ( playerid , TD_PP15 [ playerid ], 0 );
PlayerTextDrawSetProportional ( playerid , TD_PP15 [ playerid ], 1 );
PlayerTextDrawSetShadow ( playerid , TD_PP15 [ playerid ], 1 );
PlayerTextDrawSetSelectable ( playerid , TD_PP15 [ playerid ], 1 );
PlayerTextDrawTextSize ( playerid , TD_PP15 [ playerid ], 270.0 , 10.0 );
TD_PP16 [ playerid ] = CreatePlayerTextDraw ( playerid , 337.000000 , 319.000000 , "Dalej" );
PlayerTextDrawBackgroundColor ( playerid , TD_PP16 [ playerid ], 255 );
PlayerTextDrawFont ( playerid , TD_PP16 [ playerid ], 0 );
PlayerTextDrawLetterSize ( playerid , TD_PP16 [ playerid ], 0.639999 , 2.100000 );
PlayerTextDrawColor ( playerid , TD_PP16 [ playerid ], - 65281 );
PlayerTextDrawSetOutline ( playerid , TD_PP16 [ playerid ], 0 );
PlayerTextDrawSetProportional ( playerid , TD_PP16 [ playerid ], 1 );
PlayerTextDrawSetShadow ( playerid , TD_PP16 [ playerid ], 1 );
PlayerTextDrawSetSelectable ( playerid , TD_PP16 [ playerid ], 1 );
PlayerTextDrawTextSize ( playerid , TD_PP16 [ playerid ], 365.0 , 10.0 );
Wysłany: 2014-11-11, 18:06
akon823
Czekotubka :D
Wiek: 29 Na forum: 4815 dni Posty: 399
Nick w MP: Remik14
Piwa : 152
Ju? to ogarn??em
"kazami" napisał/a :x to jest szeroko?? a y to wysoko??
na wiki jeszcze potrafie wejsc
Wysłany: 2014-11-11, 18:26
kazami
Pawner/PTG
Wiek: 27 Na forum: 4596 dni Posty: 405
Nick w MP: adi888
Piwa : 43
no spoko my?l? ?e pomog?em
Tagi: klikalne
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: