a lil help with progress bar.
#1

i just made a progress bar its working fine but theres a small bug i want it like if player leaves the checkpoint and re enter the progress bar from 0 but it starts from where i left it so i just need to reset it. defiantly +Rep
Reply
#2

SetProgressBarValue(yourprogressbarid, 0);
Reply
#3

tried that all but didnt worked..
Reply
#4

pawn Код:
SetProgressBarValue(yourprogressbarid, 0);
UpdateProgressBar(yourprogressbarid, theplayerid);
Reply
#5

Show the code from the checkpoint? Its need to be working with setting the bar value to 0.0 and Update it.
Reply
#6

SetProgressBarValue(yourprogressbarid, 0);
UpdateProgressBar(yourprogressbarid, theplayerid);

still the same
Reply
#7

Bump please help guys :/ ill rep please
Reply
#8

pawn Код:
public OnPlayerLeaveCheckpoint(playerid)
{
    SetProgressBarValue(yourprogressbarid, 0);
    UpdateProgressBar(yourprogressbarid, theplayerid);
}
Try that.
Reply
#9

public OnPlayerLeaveCheckpoint(playerid)
{
SetProgressBarValue(yourprogressbarid, 0);
UpdateProgressBar(yourprogressbarid, theplayerid);
}

tried that a very long time ago.. didnt helped
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)