SA-MP Forums Archive
OnPlayerConnect Question - 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: OnPlayerConnect Question (/showthread.php?tid=307748)



OnPlayerConnect Question - VisionedGaming - 31.12.2011

Good Day All is there like a textdraw that can put entire screen black or any colour is like you in the game playing but you got black screen ??


Re: OnPlayerConnect Question - Ivonete - 01.01.2012

Using Textdrawcolor
pawn Код:
new Text:TextDraw;
TextDrawColor(TextDraw,0x000000FF);
TextDrawShowForPlayer(playerid, TextDraw);



Re: OnPlayerConnect Question - [HiC]TheKiller - 01.01.2012

Using https://sampwiki.blast.hk/wiki/TextDrawLetterSize and setting it as a massive letter, you can put it to any colour using https://sampwiki.blast.hk/wiki/TextDrawColor and it will fully take up your screen.


Re: OnPlayerConnect Question - Ballu Miaa - 01.01.2012

The one im using!

pawn Код:
Textdraw5 =TextDrawCreate(302.000000,1.000000,"~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
    TextDrawUseBox(Textdraw5,1);
    TextDrawBoxColor(Textdraw5,0x000000ff);
    TextDrawTextSize(Textdraw5,-52.000000,-738.000000);
    TextDrawAlignment(Textdraw5,2);
    TextDrawBackgroundColor(Textdraw5,0x000000ff);
    TextDrawFont(Textdraw5,1);
    TextDrawLetterSize(Textdraw5,1.000000,1.000000);
    TextDrawColor(Textdraw5,0x000000ff);
    TextDrawSetOutline(Textdraw5,1);
    TextDrawSetProportional(Textdraw5,1);
    TextDrawSetShadow(Textdraw5,1);