SA-MP Forums Archive
Textdraw [HELP] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Textdraw [HELP] (/showthread.php?tid=498920)



Textdraw [HELP] - DanRellex - 05.03.2014

I'm trying to create a text draw (box) in the red highlighted area. When I do create this it makes my login screen black...

Thanks for the help in advance...




Re: Textdraw [HELP] - DanRellex - 06.03.2014

bump


Re: Textdraw [HELP] - Raza2013 - 06.03.2014

have you enabled box?


Re: Textdraw [HELP] - DanRellex - 06.03.2014

Quote:
Originally Posted by Raza2013
Посмотреть сообщение
have you enabled box?
Yes, When I place the coordinate it just covers the whole screen, Not the section I wanted. Can you create a textdraw for the area in red?


Re: Textdraw [HELP] - Clad - 06.03.2014

Can I see the Text Code ?


Re: Textdraw [HELP] - DanRellex - 06.03.2014

**double post**


Re: Textdraw [HELP] - DanRellex - 07.03.2014

Quote:
Originally Posted by Clad
Посмотреть сообщение
Can I see the Text Code ?
Код:
	
    MainMenuTxtdraw[5] = TextDrawCreate(-590.000000,0.000000,"|");
    TextDrawUseBox(MainMenuTxtdraw[5],1);
    TextDrawBoxColor(MainMenuTxtdraw[5],0x000000ff);
    TextDrawTextSize(MainMenuTxtdraw[5],660.000000,22.000000);
    TextDrawAlignment(MainMenuTxtdraw[5],0);
    TextDrawBackgroundColor(MainMenuTxtdraw[5],0x000000ff);
    TextDrawFont(MainMenuTxtdraw[5],3);
    TextDrawLetterSize(MainMenuTxtdraw[5],1.000000,52.200000);
    TextDrawColor(MainMenuTxtdraw[5],0x000000ff);
    TextDrawSetOutline(MainMenuTxtdraw[5],1);
    TextDrawSetProportional(MainMenuTxtdraw[5],1);
    TextDrawSetShadow(MainMenuTxtdraw[5],1);



Re: Textdraw [HELP] - CutX - 07.03.2014

Quote:
Originally Posted by DanRellex
Посмотреть сообщение
Код:
	
    MainMenuTxtdraw[5] = TextDrawCreate(-590.000000,0.000000,"|");
    TextDrawUseBox(MainMenuTxtdraw[5],1);
    TextDrawBoxColor(MainMenuTxtdraw[5],0x000000ff);
    TextDrawTextSize(MainMenuTxtdraw[5],660.000000,22.000000);
    TextDrawAlignment(MainMenuTxtdraw[5],0);
    TextDrawBackgroundColor(MainMenuTxtdraw[5],0x000000ff);
    TextDrawFont(MainMenuTxtdraw[5],3);
    TextDrawLetterSize(MainMenuTxtdraw[5],1.000000,52.200000);
    TextDrawColor(MainMenuTxtdraw[5],0x000000ff);
    TextDrawSetOutline(MainMenuTxtdraw[5],1);
    TextDrawSetProportional(MainMenuTxtdraw[5],1);
    TextDrawSetShadow(MainMenuTxtdraw[5],1);
too big, i've just made one for you go try it out:

Код:
MainMenuTxtdraw[5] = TextDrawCreate(596.000000, 1.000000, ".");
TextDrawBackgroundColor(MainMenuTxtdraw[5], 255);
TextDrawFont(MainMenuTxtdraw[5], 1);
TextDrawLetterSize(MainMenuTxtdraw[5], 0.420000, 49.299983);
TextDrawColor(MainMenuTxtdraw[5], 255);
TextDrawSetOutline(MainMenuTxtdraw[5], 0);
TextDrawSetProportional(MainMenuTxtdraw[5], 1);
TextDrawSetShadow(MainMenuTxtdraw[5], 1);
TextDrawUseBox(MainMenuTxtdraw[5], 1);
TextDrawBoxColor(MainMenuTxtdraw[5], 255);
TextDrawTextSize(MainMenuTxtdraw[5], 638.000000, 0.000000);
btw. i'd highly recommend you to use Player Textdraws instead of these