Battery
#1

pawn Код:
if      ( TVar[ playerid ][ tBattery ] <= 100 ) {   format( Battery, sizeof( Battery ),"|||||");}
        else if ( TVar[ playerid ][ tBattery ] <= 75 )  {   format( Battery, sizeof( Battery ),"||||");}
        else if ( TVar[ playerid ][ tBattery ] <= 50 )  {   format( Battery, sizeof( Battery ),"|||" );}
        else if ( TVar[ playerid ][ tBattery ] <= 25 )  {   format( Battery, sizeof( Battery ),"||" );}
        else if ( TVar[ playerid ][ tBattery ] <= 0 )   {   format( Battery, sizeof( Battery ),"|" );}
whats wrong it's showing 5 bars, even if i have 0 battery
Reply


Messages In This Thread
Battery - by No Fear - 29.12.2011, 08:26
Re: Battery - by Seven_of_Nine - 29.12.2011, 08:30
Re: Battery - by No Fear - 29.12.2011, 08:32
Re: Battery - by Seven_of_Nine - 29.12.2011, 08:34
Re: Battery - by No Fear - 29.12.2011, 08:35
Re: Battery - by [ABK]Antonio - 29.12.2011, 08:40
Re: Battery - by Seven_of_Nine - 29.12.2011, 08:42
Re: Battery - by No Fear - 29.12.2011, 08:49
Re : Battery - by decondelite - 29.12.2011, 09:26

Forum Jump:


Users browsing this thread: 2 Guest(s)