Help with ProgressBar .. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with ProgressBar .. (
/showthread.php?tid=410340)
Help with ProgressBar .. -
OTACON - 25.01.2013
Hi all, I need help with this. I can not think how to do to verify:
pawn Код:
ValueTemporal[playerid]++;
//place the overall Value plus the time value for the remaining charge will have the bar and apart from there add the temporary Value
SetProgressBarValue( VariableProgressBar[playerid], ValueGeneral[playerid]+ValueTemporal[playerid]);
UpdateProgressBar(VariableProgressBar[playerid], playerid);
if(ValueTemporal[playerid] == 100) //Here I have the problem, not as a place: S: (.
//the limit is 100 bar
{
// Here the SetProgressBarValue with ValueGeneral, Example:
ValueGeneral[playerid]=ValueTemporal[playerid];
SetProgressBarValue(VariableProgressBar[playerid], ValueGeneral[playerid]);
}
I understand and can hopefully help.
Thanks in advance.
sorry for my English.