SA-MP Forums Archive
[AJUDA] TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] TextDraw (/showthread.php?tid=348759)



[AJUDA] TextDraw - JESSICAVIP51 - 06.06.2012

meu gm nao tem textdraw ai retirei de gm meu antigo para colocar nele e compilei tudo nao deu erro masi qaundo abro meu serve nao aparace nada ta faltando aluma coisa ajuda ai help o codigo esse da textdraw


pawn Код:
gText3 = TextDrawCreate(120.0, 413.0, "/~L~TIME~U~ ~b~/HARDS~U~ ~g~/ARENA ~u~ ~y~/CASADAJESSICA ~u~ ~p~XITERS? ~r~/REPORT ID MOTIVO"); //Texto < Text
TextDrawFont(gText3,1); //Fonte do texto < Text Font
TextDrawAlignment(gText3,0);
TextDrawBackgroundColor(gText3,0x000000ff);
TextDrawFont(gText3,2);
TextDrawLetterSize(gText3,0.2999, 1.4);
TextDrawBoxColor(gText3,0x00000050);
TextDrawColor(gText3,0xffffffff);
TextDrawSetOutline(gText3,1);
TextDrawSetProportional(gText3,1);
TextDrawSetShadow(gText3,1);
//-------------------------------------------------------------------------

//======================================================
    texto9 = TextDrawCreate(180,6,"                                            BRASIL GUERRA TERRORISTICA");
    TextDrawAlignment(texto9,0);
    TextDrawUseBox(texto9, false);
    TextDrawTextSize(texto9,650.0,3.0);
    TextDrawBackgroundColor(texto9,0x000000AA);
    TextDrawFont(texto9,1);
    TextDrawColor(texto9,0xFF0000FF);
    TextDrawSetProportional(texto9,1);
    TextDrawSetOutline(texto9,1);
    TextDrawLetterSize(texto9,0.359999,1.400000);
    TextDrawSetShadow(texto9,0);
    TextDrawShowForAll(texto9);
//-------------------------------------------------------------------------
    texto1 = TextDrawCreate(215.0,352.0,"Escolha sua skin e divirta - se");
    TextDrawAlignment(texto1,0);
    TextDrawUseBox(texto1, false);
    TextDrawTextSize(texto1,650.0,3.0);
    TextDrawBackgroundColor(texto1,0x000000AA);
    TextDrawFont(texto1,1);
    TextDrawColor(texto1,0xFFFF00FF);
    TextDrawSetProportional(texto1,1);
    TextDrawSetOutline(texto1,1);
    TextDrawLetterSize(texto1,0.359999,1.400000);
    TextDrawSetShadow(texto1,0);
    TextDrawShowForAll(texto1);
//=======================================================
    texto8 = TextDrawCreate(190.0,335.0,"      BRASIL GUERRA TERRORISTICA 2012");
    TextDrawAlignment(texto8,0);
    TextDrawUseBox(texto8, false);
    TextDrawTextSize(texto8,650.0,3.0);
    TextDrawBackgroundColor(texto8,0x000000AA);
    TextDrawFont(texto8,1);
    TextDrawColor(texto8,0xFF0000FF);
    TextDrawSetProportional(texto8,1);
    TextDrawSetOutline(texto8,1);
    TextDrawLetterSize(texto8,0.359999,1.400000);
    TextDrawSetShadow(texto8,0);
    TextDrawShowForAll(texto8);
//===============================================
Textdraw0 = TextDrawCreate(644.000000, 428.000000, "New Textdraw");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 0.699999);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, -5.000000, 0.000000);
Textdraw1 = TextDrawCreate(3.000000, 429.000000,"~y~/Ajuda /Ganhar Adm /Comandos /Admins /Creditos /TELES /TELESNOVOS");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.519999, 1.000000);
TextDrawColor(Textdraw1, -16776961);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
}
}
//=================================================================
topblack = TextDrawCreate(1.000000,-45.000000,"__");
bottomblack = TextDrawCreate(-2.000000,371.000000,"__");
TextDrawUseBox(topblack,1);
TextDrawBoxColor(topblack,0x000000ff);
TextDrawTextSize(topblack,655.000000,80.000000);
TextDrawUseBox(bottomblack,1);
TextDrawBoxColor(bottomblack,0x000000ff);
TextDrawTextSize(bottomblack,840.000000,240.000000 );
TextDrawAlignment(topblack,0);
TextDrawAlignment(bottomblack,0);
TextDrawBackgroundColor(topblack,0x000000ff);
TextDrawBackgroundColor(bottomblack,0x000000ff);
TextDrawFont(topblack,3);
TextDrawLetterSize(topblack,1.000000,14.000000);
TextDrawFont(bottomblack,3);
TextDrawLetterSize(bottomblack,1.000000,24.000000) ;
TextDrawColor(topblack,0xffffffff);
TextDrawColor(bottomblack,0xffffffff);
TextDrawSetOutline(topblack,1);
TextDrawSetOutline(bottomblack,1);
TextDrawSetProportional(topblack,1);
TextDrawSetProportional(bottomblack,1);
TextDrawSetShadow(topblack,1);
TextDrawSetShadow(bottomblack,1);
///=========
a foto de quando eu abro




Re: AJUDA AI TextDraw - sanalex - 06.06.2012

Jйssica por favor edite seu post e coloque isso antes e no final do cуdigo:

PHP код:
[pawn]
CУDIGO
[/pawn



Re: AJUDA AI TextDraw - Mr.Hardy - 06.06.2012

AFF.. esses textdraw fui eu que fiz AFF.. Foi um tal de Jean que te passou nй ?


Re: AJUDA AI TextDraw - mau.tito - 06.06.2012

[PAWN*] Code [/PAWN*]

So tirar os **


Re: AJUDA AI TextDraw - Delete_ - 06.06.2012

pawn Код:
gText3 = TextDrawCreate(120.0, 413.0, "/~L~TIME~U~ ~b~/HARDS~U~ ~g~/ARENA ~u~ ~y~/CASADAJESSICA ~u~ ~p~XITERS? ~r~/REPORT ID MOTIVO"); //Texto < Text
TextDrawFont(gText3,1); //Fonte do texto < Text Font
TextDrawAlignment(gText3,0);
TextDrawBackgroundColor(gText3,0x000000ff);
TextDrawFont(gText3,2);
TextDrawLetterSize(gText3,0.2999, 1.4);
TextDrawBoxColor(gText3,0x00000050);
TextDrawColor(gText3,0xffffffff);
TextDrawSetOutline(gText3,1);
TextDrawSetProportional(gText3,1);
TextDrawSetShadow(gText3,1);
//-------------------------------------------------------------------------

//================================================== ====
texto9 = TextDrawCreate(180,6," BRASIL GUERRA TERRORISTICA");
TextDrawAlignment(texto9,0);
TextDrawUseBox(texto9, false);
TextDrawTextSize(texto9,650.0,3.0);
TextDrawBackgroundColor(texto9,0x000000AA);
TextDrawFont(texto9,1);
TextDrawColor(texto9,0xFF0000FF);
TextDrawSetProportional(texto9,1);
TextDrawSetOutline(texto9,1);
TextDrawLetterSize(texto9,0.359999,1.400000);
TextDrawSetShadow(texto9,0);
TextDrawShowForAll(texto9);
//-------------------------------------------------------------------------
texto1 = TextDrawCreate(215.0,352.0,"Escolha sua skin e divirta - se");
TextDrawAlignment(texto1,0);
TextDrawUseBox(texto1, false);
TextDrawTextSize(texto1,650.0,3.0);
TextDrawBackgroundColor(texto1,0x000000AA);
TextDrawFont(texto1,1);
TextDrawColor(texto1,0xFFFF00FF);
TextDrawSetProportional(texto1,1);
TextDrawSetOutline(texto1,1);
TextDrawLetterSize(texto1,0.359999,1.400000);
TextDrawSetShadow(texto1,0);
TextDrawShowForAll(texto1);
//================================================== =====
texto8 = TextDrawCreate(190.0,335.0," BRASIL GUERRA TERRORISTICA 2012");
TextDrawAlignment(texto8,0);
TextDrawUseBox(texto8, false);
TextDrawTextSize(texto8,650.0,3.0);
TextDrawBackgroundColor(texto8,0x000000AA);
TextDrawFont(texto8,1);
TextDrawColor(texto8,0xFF0000FF);
TextDrawSetProportional(texto8,1);
TextDrawSetOutline(texto8,1);
TextDrawLetterSize(texto8,0.359999,1.400000);
TextDrawSetShadow(texto8,0);
TextDrawShowForAll(texto;
//===============================================
Textdraw0 = TextDrawCreate(644.000000, 428.000000, "New Textdraw");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 0.699999);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
TextDrawUseBox(Textdraw0, 1);
TextDrawBoxColor(Textdraw0, 255);
TextDrawTextSize(Textdraw0, -5.000000, 0.000000);
Textdraw1 = TextDrawCreate(3.000000, 429.000000,"~y~/Ajuda /Ganhar Adm /Comandos /Admins /Creditos /TELES /TELESNOVOS");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.519999, 1.000000);
TextDrawColor(Textdraw1, -16776961);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
TextDrawShowForPlayer(i, Textdraw0);
TextDrawShowForPlayer(i, Textdraw1);
}
}
//================================================== ===============
topblack = TextDrawCreate(1.000000,-45.000000,"__");
bottomblack = TextDrawCreate(-2.000000,371.000000,"__");
TextDrawUseBox(topblack,1);
TextDrawBoxColor(topblack,0x000000ff);
TextDrawTextSize(topblack,655.000000,80.000000);
TextDrawUseBox(bottomblack,1);
TextDrawBoxColor(bottomblack,0x000000ff);
TextDrawTextSize(bottomblack,840.000000,240.000000 );
TextDrawAlignment(topblack,0);
TextDrawAlignment(bottomblack,0);
TextDrawBackgroundColor(topblack,0x000000ff);
TextDrawBackgroundColor(bottomblack,0x000000ff);
TextDrawFont(topblack,3);
TextDrawLetterSize(topblack,1.000000,14.000000);
TextDrawFont(bottomblack,3);
TextDrawLetterSize(bottomblack,1.000000,24.000000) ;
TextDrawColor(topblack,0xffffffff);
TextDrawColor(bottomblack,0xffffffff);
TextDrawSetOutline(topblack,1);
TextDrawSetOutline(bottomblack,1);
TextDrawSetProportional(topblack,1);
TextDrawSetProportional(bottomblack,1);
TextDrawSetShadow(topblack,1);
TextDrawSetShadow(bottomblack,1);



Re: AJUDA AI TextDraw - JESSICAVIP51 - 06.06.2012

ja consegui arruma tinha colocar um treco no OnPlayerConnect(playerid)

tinha esquecido di fazer isso

NAO ISSO EU PEGUEI DE GM AI QUIS PASSAR PARA MEU INTEDI


Re: AJUDA AI TextDraw - Mr.Hardy - 06.06.2012

N naum.. esse sistema de Horario ai fui eu que desemvolvi para uso pessoal.. Infelismente o Pegador ou o Jean te passou nй ?

@EDIT

Foi mal pela acusasгo.. Creio que estava meio noob naquela hora e qchei que seu textdraw йra igual ao meu !


Re: AJUDA AI TextDraw - JESSICAVIP51 - 06.06.2012

ha tem problema nao mais si foi vc que fez memso fico mt bom viu adorei notal 1.0000000