local TEMPLE_POS = {x=1000,y=1000,z=7}
local VIP_POS = {x=1000,y=1000,z=7}
local VIP_PLAYER = --storage value for VIP membership?--
function onStepIn(cid, item, position, fromPosition)
if isPlayer(cid) and getPlayerStorageValue(cid,VIP_PLAYER) == 1 then
doTeleportThing(cid, VIP_POS)
doSendMagicEffect(VIP_POS, 10)
doPlayerSendTextMessage(cid, 25, 'Welcome to the VIP island.')
else
doTeleportThing(cid, TEMPLE_POS)
doSendMagicEffect(TEMPLE_POS, 10)
doPlayerSendTextMessage(cid, 25, 'You do not have a VIP membership.')
end
return true
end