if(getPlayerCondition(cid, CONDITION_INFIGHT)) then
return true
else
if(isPremium(cid)) then
send player to pos
else
you need prem
end
end
if getPlayerPremiumDays(cid) == 0 then
doPlayerSendTextMessage(cid, 22, "Your premium has ended.")
doTeleportThing(cid, {x=x, y=x, z=x})
end
Code:if getPlayerPremiumDays(cid) == 0 then doPlayerSendTextMessage(cid, 22, "Your premium has ended.") doTeleportThing(cid, {x=x, y=x, z=x}) end
not sure if it works but this is maybe a idea for you how to do it you can add this in login.lua in creaturescripts