Text Draw doesn't appear!
#1

Hi, I've been trying to make a label for my Progress Bars through TextDraw but for some reason it doesn't appear. I get the X and Y coordinates of the bar and increment X by 2 points. Here is my code.

pawn Код:
//NEWs
new Text:thirsttext;

thirsttext = TextDrawCreate(539.00, 134.00,"Thirst: ");
ThirstBar[i] = CreateProgressBar(549.00, 134.00,55.50, 3.20, 1490286591, 100.0);

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid,thirsttext);
    ShowProgressBarForPlayer(playerid,ThirstBar[playerid]);
    return 1;
}

public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,thirsttext);
    ShowProgressBarForPlayer(playerid,ThirstBar[playerid]);
    return 1;
}
Any required code will be provided. Please help ASAP.
Reply


Messages In This Thread
Text Draw doesn't appear! - by Tayab - 17.01.2014, 00:55
Re: Text Draw doesn't appear! - by Tayab - 18.01.2014, 13:22
Re: Text Draw doesn't appear! - by amirab - 18.01.2014, 14:22
Re: Text Draw doesn't appear! - by Tayab - 18.01.2014, 19:47
Re: Text Draw doesn't appear! - by Hansrutger - 18.01.2014, 20:15
Re: Text Draw doesn't appear! - by ikey07 - 18.01.2014, 20:19
Re: Text Draw doesn't appear! - by Hansrutger - 18.01.2014, 21:16
Re: Text Draw doesn't appear! - by Tayab - 19.01.2014, 01:48

Forum Jump:


Users browsing this thread: 2 Guest(s)