function onLogin(cid)
registerCreatureEvent(cid,"FimPremium")
local pos = {x = 32369, y = 32241, z = 7}
if isPremium(cid) then
setPlayerStorageValue(cid, 59898989, 1)
elseif getPlayerStorageValue(cid, 59898989) == 1 and not isPremium(cid) and getPlayerSex(cid) == 0 then
doCreatureChangeOutfit(cid, {lookType = 136})
doTeleportThing(cid, pos)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You premium is Over!")
setPlayerStorageValue(cid, 59898989, -1)
elseif getPlayerStorageValue(cid, 59898989) == 1 and not isPremium(cid) and getPlayerSex(cid) == 1 then
doCreatureChangeOutfit(cid, {lookType = 128})
doTeleportThing(cid, pos)
doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "You premium is Over!")
setPlayerStorageValue(cid, 59898989, -1)
end
return TRUE
end