16 lines
260 B
Lua
16 lines
260 B
Lua
function timebuff(id)
|
|
|
|
heure = 60*60*100
|
|
minute = 60*100
|
|
seconde = 100
|
|
|
|
|
|
Restime = get_state_time(id )
|
|
|
|
Heure= math.floor (Restime / 360000)
|
|
Minute = math.floor((Restime - (Heure * 360000) )/ 6000 )
|
|
|
|
cprint("buff ID = " .. Heure .."h" .. Minute .."m" )
|
|
|
|
|
|
end |