SA-MP Forums Archive
Textdraw Issue - 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 Issue (/showthread.php?tid=559329)



Textdraw Issue - lulo356 - 22.01.2015

Evening, I got one textdraw line thats not hiding, can some help me?

pawn Код:
new PlayerText: ServerTitle;
new Text: TDRecord;
new Text: TDVersion;
new Text: Copyright;

    ServerTitle = CreatePlayerTextDraw(playerid,185.000000, 71.000000, "Divoro life Roleplay");
    PlayerTextDrawBackgroundColor(playerid, ServerTitle, 255);
    PlayerTextDrawFont(playerid,ServerTitle, 2);
    PlayerTextDrawLetterSize(playerid,ServerTitle, 0.550000, 2.600000);
    PlayerTextDrawColor(playerid,ServerTitle, 8843263);
    PlayerTextDrawSetOutline(playerid,ServerTitle, 1);
    PlayerTextDrawSetProportional(playerid,ServerTitle, 1);

    //loginscreen
    PlayerTextDrawShow(playerid, ServerTitle);
    TextDrawShowForPlayer(playerid,Copyright);
    TextDrawShowForPlayer(playerid,TDRecord);
    TextDrawShowForPlayer(playerid,TDVersion);

        //loginscreen exit
        PlayerTextDrawHide(playerid, ServerTitle);
        TextDrawHideForPlayer(playerid, TDRecord);
        TextDrawHideForPlayer(playerid, TDVersion);

 ServerLine = TextDrawCreate(159.000000, 83.000000, "-");
    TextDrawBackgroundColor(ServerLine, 255);
    TextDrawFont(ServerLine, 2);
    TextDrawLetterSize(ServerLine, 27.600036, 2.000000);
    TextDrawColor(ServerLine, -1);
    TextDrawSetOutline(ServerLine, 0);
    TextDrawSetProportional(ServerLine, 1);
    TextDrawSetShadow(ServerLine, 1);
   
    Copyright = TextDrawCreate(9.000000, 435.000000, "Copyright 2013 - 2014");
    TextDrawBackgroundColor(Copyright, 255);
    TextDrawFont(Copyright, 1);
    TextDrawLetterSize(Copyright, 0.500000, 1.000000);
    TextDrawColor(Copyright, -1);
    TextDrawSetOutline(Copyright, 0);
    TextDrawSetProportional(Copyright, 1);
    TextDrawSetShadow(Copyright, 1);

    TDVersion = TextDrawCreate(510.000000, 435.000000, "_");
    TextDrawBackgroundColor(TDVersion, 255);
    TextDrawFont(TDVersion, 1);
    TextDrawLetterSize(TDVersion, 0.500000, 1.000000);
    TextDrawColor(TDVersion, -1);
    TextDrawSetOutline(TDVersion, 0);
    TextDrawSetProportional(TDVersion, 1);
    TextDrawSetShadow(TDVersion, 1);

    TDRecord = TextDrawCreate(256.000000, 435.000000, "_");
    TextDrawBackgroundColor(TDRecord, 255);
    TextDrawFont(TDRecord, 1);
    TextDrawLetterSize(TDRecord, 0.500000, 1.000000);
    TextDrawColor(TDRecord, -1);
    TextDrawSetOutline(TDRecord, 0);
    TextDrawSetProportional(TDRecord, 1);
    TextDrawSetShadow(TDRecord, 1);