Progress2.inc warning
#5

Quote:

stock PlayerBar:CreatePlayerProgressBar(playerid, Float, Float:y, Float:width = 55.5, Float:height = 3.2, colour = 0xFF1C1CFF, Float:max = 100.0, direction = BAR_DIRECTION_RIGHT)
{

new barid = _bar_NewID(playerid);

if(barid == -1)
{
print("[CreatePlayerProgressBar] ERROR: MAX_PLAYER_BARS limit reached.");
return INVALID_PLAYER_BAR_ID;
}

Quote:

_RenderBar(playerid, barid, update = false)
{

if(!IsValidPlayerProgressBar(playerid, PlayerBar:barid))
return false;

PlayerTextDrawDestroy(playerid, pbar_TextDraw[playerid][barid][pbar_back]);
PlayerTextDrawDestroy(playerid, pbar_TextDraw[playerid][barid][pbar_fill]);
PlayerTextDrawDestroy(playerid, pbar_TextDraw[playerid][barid][pbar_main]);

fixed
Reply


Messages In This Thread
Progress2.inc warning - by fahlevy - 03.07.2015, 06:53
Re: Progress2.inc warning - by fahlevy - 03.07.2015, 07:58
Re: Progress2.inc warning - by fahlevy - 03.07.2015, 09:30
Re: Progress2.inc warning - by fahlevy - 05.07.2015, 04:07
Re: Progress2.inc warning - by LovelySoomro - 14.02.2016, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)