SA-MP Forums Archive
textdraw no string.. - 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 no string.. (/showthread.php?tid=358193)



textdraw no string.. - dogman - 09.07.2012

Hi i used this script to show a bar under in the screen with the string Custom Server but when i unload the filterscript witch i have made this it doesnt show the string: Custom Server what do i do wrong?
pawn Код:
#include <a_samp>

new Text:Textdraw0;

public OnFilterScriptInit()
{
    Textdraw0 = TextDrawCreate(1.000000, 432.000000, "CUSTOM SERVER");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 3);
    TextDrawLetterSize(Textdraw0, 0.529999, 1.600000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawUseBox(Textdraw0, 1);
    TextDrawBoxColor(Textdraw0, 100);
    TextDrawTextSize(Textdraw0, 640.000000, 0.000000);
   
    return 1;
}


public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    return 1;
}