[AYUDA] TextDraw Alignment -
[M]xFire - 03.02.2011
Bueno tengo un problema con el Alignment del Textdraw, se supone que el textdraw deberia ir al centro
pawn Код:
TextDrawAlignment(Textdraw49[playerid], 2);
pero me muestra asн:
Welcome
To
xTreme
Cops
And
Robbers
Cuando deberнa ser asi:
Weltome to
xTreme Cops And Robbers
No se que esta mal, espero me ayuden
Respuesta: [AYUDA] TextDraw Alignment -
[J]ulian - 03.02.2011
Ponй el create.
Respuesta: [AYUDA] TextDraw Alignment -
[M]xFire - 03.02.2011
pawn Код:
Textdraw49[playerid] = TextDrawCreate(320.000000, 190.000000,"~w~Welcome to~n~~y~xTreme Cops And Robbers");
TextDrawLetterSize(Textdraw49[playerid],0.199999,0.899999);
TextDrawAlignment(Textdraw49[playerid],2);
TextDrawUseBox(Textdraw49[playerid], 0);
TextDrawTextSize(Textdraw49[playerid],600.000000,0.000000);
TextDrawBackgroundColor(Textdraw49[playerid],0x000000ff);
TextDrawFont(Textdraw49[playerid],2);
TextDrawSetOutline(Textdraw49[playerid],1);
TextDrawSetProportional(Textdraw49[playerid],1);
TextDrawSetShadow(Textdraw49[playerid],1);
Respuesta: [AYUDA] TextDraw Alignment -
Pepot - 03.02.2011
Y si pruebas:
pawn Код:
Textdraw49[playerid] = TextDrawCreate(320.000000, 190.000000,"~w~Welcome ~n~to~n~~y~xTreme ~n~Cops ~n~And~n~ Robbers");
TextDrawLetterSize(Textdraw49[playerid],0.199999,0.899999);
TextDrawAlignment(Textdraw49[playerid],2);
TextDrawUseBox(Textdraw49[playerid], 0);
TextDrawTextSize(Textdraw49[playerid],600.000000,0.000000);
TextDrawBackgroundColor(Textdraw49[playerid],0x000000ff);
TextDrawFont(Textdraw49[playerid],2);
TextDrawSetOutline(Textdraw49[playerid],1);
TextDrawSetProportional(Textdraw49[playerid],1);
TextDrawSetShadow(Textdraw49[playerid],1);
Re: [AYUDA] TextDraw Alignment -
MrDeath537 - 03.02.2011
Intenta con este cуdigo:
pawn Код:
Textdraw49[playerid] = TextDrawCreate(320.000000, 190.000000,"~w~Welcome to~n~~y~xTreme Cops And Robbers");
TextDrawLetterSize(Textdraw49[playerid],0.199999,0.899999);
TextDrawAlignment(Textdraw49[playerid],2);
TextDrawUseBox(Textdraw49[playerid], 0);
TextDrawTextSize(Textdraw49[playerid],0.000000,200.000000);
TextDrawBackgroundColor(Textdraw49[playerid],0x000000ff);
TextDrawFont(Textdraw49[playerid],2);
TextDrawSetOutline(Textdraw49[playerid],1);
TextDrawSetProportional(Textdraw49[playerid],1);
TextDrawSetShadow(Textdraw49[playerid],1);
EDIT: No mencionй que cuando usбs box y no tiene el tamaсo como para contener el texto, йste se muestra como tu dijiste (cada palabra en una lнnea separada).
Respuesta: [AYUDA] TextDraw Alignment -
[M]xFire - 04.02.2011
Gracias MrDeath! tu codigo me ayudo mucho =P... mil gracias