<globalevent name="change" interval="3600" event="script" value="change.lua"/>
function onThink(interval)
if setWorldType(PVP) then
doBroadcastMessage('Gameworld type set to: PVP.', MESSAGE_EVENT_ADVANCE)
end
return true
end
add this in globalevent.xml
add this in globalevent folderLUA:<globalevent name="change" interval="3600" event="script" value="change.lua"/>
and make another one to change itLUA:function onThink(interval) if setWorldType(PVP) then doBroadcastMessage('Gameworld type set to: PVP.', MESSAGE_EVENT_ADVANCE) end return true end
then change from interval to onTimer
and from"8:50:12" to"20:51:00"