[Ajuda] Include ProgressBar
#3

PHP код:
stock SetProgressBarValue(Bar:baridFloat:value)
{
        if(
barid == INVALID_BAR_ID || Bar:MAX_BARS barid Bar:-1)
                return 
0;
        if(
Bars[_:barid][pb_created])
        {
                
value =
                        (
value 0.0) ? (0.0) : (value Bars[_:barid][pb_m]) ? (Bars[_:barid][pb_m]) : (value);
                
TextDrawUseBox(Bars[_:barid][pb_t3], value 0.0);
                        
Bars[_:barid][pb_v] = value;
                        
TextDrawTextSize(Bars[_:barid][pb_t3],
                        
pb_percent(Bars[_:barid][pb_x], Bars[_:barid][pb_w], Bars[_:barid][pb_m], value), 0.0);
                return 
1;
        }
        return 
0;

vocк precisa identar(alinhar) o codigo .

Como identar
Reply


Messages In This Thread
Include ProgressBar - by JuniorTheDM - 08.08.2015, 03:19
Re: IncludE pROGESSBAR - by JonathanFeitosa - 08.08.2015, 05:20
Re: Include ProgressBar - by KamoTo - 08.08.2015, 08:15

Forum Jump:


Users browsing this thread: 1 Guest(s)