TextDraw box wont change size
#1

pawn Код:
public Level_Update(playerid)
{
    new string[256];
    new lvl = PlayerInfo[playerid][pLevel];
    new xp = PlayerInfo[playerid][pExp];
    format(string, sizeof(string), "Level %d: %dxp", lvl, xp);
    TextDrawSetString(Textdraw2, string);
    new Float:resize = 505.0 + (xp/20);
    TextDrawTextSize(Textdraw3, resize, 0.000000);
}
ok been having trouble with this code for a bit.. when i gain experience on my server i call this to update my textdraws... only thing is the box size for my progress bar doesnt change at all

ive checked to see if my float value is changing and it does but for some reason it wont change the size of the box and its annoying me now
Reply


Messages In This Thread
TextDraw box wont change size - by jonesy - 26.01.2010, 22:32
Re: TextDraw box wont change size - by [HiC]TheKiller - 26.01.2010, 23:25
Re: TextDraw box wont change size - by Backwardsman97 - 27.01.2010, 01:23

Forum Jump:


Users browsing this thread: 1 Guest(s)