BarTime(id, iSeconds = 0){ if( iSeconds < 0 ) { return } static BarTime = 0 if( !BarTime ) { BarTime = get_user_msgid("BarTime") } message_begin(MSG_ONE, BarTime, .player=id) write_short( iSeconds ) message_end()}
BarTime2(id, Float:flTime = 0.0){ if( flTime < -0.0 ) { return } static BarTime2 = 0 if( !BarTime2 ) { BarTime2 = get_user_msgid("BarTime2") } new iSeconds = floatround(flTime, floatround_ceil) message_begin(MSG_ONE, BarTime2, .player=id) write_long( iSeconds | ( ( 100 - floatround( (flTime/ iSeconds ) * 100 ) ) << 8 ) ) message_end()}