Anim Bug + Need help in progress bar
#5

I think robbingtime should be a global variable ? Try
pawn Код:
new robbingtime[MAX_PLAYERS];
forward RobberyBar(playerid);
public RobberyBar(playerid)
{
    robbingtime[playerid] ++;
    SetProgressBarValue(MyRobberyBar, robbingtime[playerid]);
    if(robbingtime == 15)
    {
        KillTimer(RobbingTime);
        HideProgressBarForPlayer(playerid,MyRobberyBar);
        HideProgressBarForPlayer(playerid,MyRobberyBar);
        robbingtime[playerid] = 0;
    }
    return 1;
}
Reply


Messages In This Thread
Deleted. - by iFiras - 30.11.2013, 13:45
Re: Anim Bug + Need help in progress bar - by xVIP3Rx - 30.11.2013, 13:49
Re: Anim Bug + Need help in progress bar - by Konstantinos - 30.11.2013, 13:50
Deleted. - by iFiras - 30.11.2013, 14:38
Re: Anim Bug + Need help in progress bar - by xVIP3Rx - 30.11.2013, 14:46
Re: Anim Bug + Need help in progress bar - by Konstantinos - 30.11.2013, 16:29

Forum Jump:


Users browsing this thread: 1 Guest(s)