Hiho,
why this 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"...