local mountoutfits = {214,215} -- outfits used while mounted.
function onLogout(cid)
if isInArray(mountoufits,getCreatureOutfit(cid).lookType) then
return doPlayerSendCancel(cid,'Please dismount before logging out.') and doSendMagicEffect(getThingPos(cid),CONST_ME_POFF) and false
end
return true
end