Textdraw show but then disappear?
#1

Hi.
I have created a command where it showes a few textdraws...
It's all ok, but when I do the command /wallet, it appears all correctly, but then the Background box disappears...
Can you help me?
Here's the code...
pawn Код:
if(strcmp(cmd, "/wallet", true) == 0)
    {
    SelectTextDraw(playerid, 0x00C2C2C2);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio100);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio1);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio2);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio3);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio4);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio5);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio6);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio7);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio8);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio9);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio10);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio11);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio12);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio13);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio14);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio15);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio16);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio17);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio18);
    TextDrawShowForPlayer(playerid, Textdrawportafoglio19);
    return 1;
    }
And the Textdraw that disappears.
pawn Код:
Textdrawportafoglio100 = TextDrawCreate(498.000000, 104.000000, "              ");
TextDrawBackgroundColor(Textdrawportafoglio100, 255);
TextDrawFont(Textdrawportafoglio100, 1);
TextDrawLetterSize(Textdrawportafoglio100, 1.700000, 13.000000);
TextDrawColor(Textdrawportafoglio100, 75);
TextDrawSetOutline(Textdrawportafoglio100, 0);
TextDrawSetProportional(Textdrawportafoglio100, 1);
TextDrawSetShadow(Textdrawportafoglio100, 1);
TextDrawUseBox(Textdrawportafoglio100, 1);
TextDrawBoxColor(Textdrawportafoglio100, 255);
TextDrawTextSize(Textdrawportafoglio100, 630.000000, -110.000000);
TextDrawSetSelectable(Textdrawportafoglio100, 0);
Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)