function Gebietsabfrage()
for k,v in pairs(GetPlayersInWorld()) do
local area = v:GetAreaId()
-- Sonnenwindposten
if(area == 3622) then
if(v:HasFinishedQuest(18)) then
local phase = v:GetPhase()
if(phase == 1) then
v:SetPhase(2,1)
end
end
else
v:SetPhase(1,1)
end
end
end
RegisterTimedEvent("Gebietsabfrage", 1000, 0)