How about this?
PHP Code:
g_time[id] = 5400
new h, m, s
h = g_time[id] / 3600
m = (g_time[id] - (h *3600)) / 60
s = (g_time[id] - (m *60))
new s_h[4], s_m[4], s_s[4];
if( h < 10 ) format( s_h, charsmax(s_h), "%d", h )
else format( s_h, charsmax(s_h), "0%d", h )
if( s < 10 ) format( s_s, charsmax(s_s), "%d", s )
else format( s_s, charsmax(s_s), "0%d", s )
if( m < 10 ) format( s_m, charsmax(s_m), "%d", m )
else format( s_m, charsmax(s_m), "0%d", m )
client_print(id, print_chat, "You can use your bonus in %d:%d:%d", h, m, s)