26.01.2010, 22:32
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);
}
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