hi,
attending to some players request (including myself), I created a clock with pst time you can use inside the game!
the code that was added is this:
t = os.date('*t')
t.hour=-5 --adjusted to gmt-3, change the "-5" to your timezone
if t.hour<=0 then
t.day=t.day-1
t.hour=t.hour+24
elseif t.hour>24 then
t.day=t.day+1
t.hour=t.hour-24
end
claver = [[#c5 Ingame Clock!
#c8PST time= ]]..t.hour..[[:]].. t.min..[[ day ]]..t.day.. [[
GMT+1 time= 8 hrs ahead]]..[[
created by Silverflame, Server Mcomet]]
SetTextPanelText("npc_talk",claver);
SetWinVisable("NPCTALKWIN", true)
you can copy and paste it in a game file under the folder ../script/ui_script, preferably under player_property.lua or system_config.lua below a FUNCTION.
if u paste it in player property.lua it will activate when u click a tab in the char attrib ("C" window), while system_config.lua will be the "I" window.
If u wanna save yourself the trouble, download my file at http://www.myfileupload.net/download.php?file=27f2f23a06e1af033b06f483ce53f95b
hope u enjoy it ^^