Help with Zamaroht's Texdraw editor
#1

pawn Код:
#include <a_samp>

new Text:Textdraw0;

public OnFilterScriptInit()
{
    print("Textdraw file generated by");
    print("    Zamaroht's textdraw editor was loaded.");

    // Create the textdraws:
    Textdraw0 = TextDrawCreate(353.000000, 425.000000, "You can use : /vip /help /shop /report");
    TextDrawAlignment(Textdraw0, 2);
    TextDrawBackgroundColor(Textdraw0, 65535);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.500000, 1.600000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawSetShadow(Textdraw0, 2);

   
    return 1;
}

public OnFilterScriptExit()
{
    TextDrawHideForAll(Textdraw0);
    TextDrawDestroy(Textdraw0);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    return 1;
}
whene i go In game i don't see the TD
hope you help me
Reply
#2

Worked fine for me, remember to load the filterscript BEFORE you connect, or else you wont see it.
Reply
#3

oh it works now thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)