Help with ProgressBar ..
#1

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)