Gitu Cropwel
reptera.net
- Joined
- Dec 7, 2012
- Messages
- 118
- Reaction score
- 4
Hiho,
why this code:
in login.lua, show me in tibia current time, not last login time? When i have last login time 4:00 and current hour is 7:00 it says "Your last visit in Reptera: 7:00 Day XX CET."
Thanks
why this code:
Code:
local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage
if(lastLogin > 0) then
doPlayerSetMounted(cid, mounting, 1)
--doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str)
str = "Your last visit in Reptera: " .. os.date("%a %b %d %X %Y", lastLogin) .. " CET."
else
str = str .. " It's your first visit on Reptera. First choose your outfit. Information: if you wanna buy blessings use command !blessing."
doPlayerSendOutfitWindow(cid)
setPlayerStorageValue(cid, 2500, 0)
end
in login.lua, show me in tibia current time, not last login time? When i have last login time 4:00 and current hour is 7:00 it says "Your last visit in Reptera: 7:00 Day XX CET."
Thanks