textdraw no string..
#1

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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)