Progress bar value changing
#1

Hello all! Need help about progress bar value.

How can I change value of progress bar by 10.

For example, now is 100, i want to reduce it by -10. Without using SetProgressValue.... to 90..

Im using https://sampforum.blast.hk/showthread.php?tid=537468&page=11
Reply
#2

Dont know how this plugin works but it looks like youre just typing the function in wrong. Try replacing it with this.

SetPlayerProgressBarValue(playerid, PlayerBar:barid, 90);
Reply
#3

i fix it:

SetPlayerProgressBarValue(playerid, barid, GetPlayerProgressBarValue(playerid, barid)-10.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)