5lave Ots
Active Member
hey im using this
if pc time and server time os.time() is 1;00
it return it to 3:00 for hours only, minutes and seconds are viewed good, anyway to solve this? using tfs 0.4
Code:
if getPlayerStorageValue(cid, STR) > os.time() then
local timer = os.date("%H hours, %M minutes, %S seconds", getPlayerStorageValue(cid, STR) - os.time())
return 'you need to wait '..timer..' to open the quest agaian!'
it return it to 3:00 for hours only, minutes and seconds are viewed good, anyway to solve this? using tfs 0.4