function onLogin(cid)
local freeOutfitMan = {lookType = 136, lookHead = 78, lookLegs = 49, lookBody = 85, lookFeet = 76}
local freeOutfitWoman = {lookType = 128, lookHead = 78, lookLegs = 49, lookBody = 85, lookFeet = 76}
if isPremium(cid) == FALSE and getPlayerSex(cid) == 1 and getPlayerStorageValue(cid, 12890) == 1 then
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
doCreatureChangeOutfit(cid, freeOutfitMan)
doPlayerSendTextMessage(cid, 22, "Your Premium time has been expired")
setPlayerStorageValue(cid, 12890, 0)
elseif isPremium(cid) == FALSE and getPlayerSex(cid) ~= 1 and getPlayerStorageValue(cid, 12890) == 1 then
doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid)))
doCreatureChangeOutfit(cid, freeOutfitWoman)
doPlayerSendTextMessage(cid, 22, "Your Premium time has been expired")
setPlayerStorageValue(cid, 12890, 0)
end
return TRUE
end