• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Event - WAR

Ghazer

Member
Joined
Mar 13, 2009
Messages
350
Reaction score
6
Hello!

I have one problem I want use this team battle
-->http://otland.net/f82/team-battle-scripts-map-changing-war-servers-113528/
And this is my changemap
XML:
<?xml version="1.0" encoding="ISO-8859-1"?>   
<mod name="ChangeMap" version="2.0" author="Vodkart" contact="none.com" enabled="yes">  
<config name="map_func"><![CDATA[  
                                                                                  info = {  
                                                                                                [0] = 1,
                                                                                                [1] = 2,  
                                                                                                [2] = 3,
																								[3] = 4,
																								[4] = 5,
																								[5] = 6
                                                                                                }
                                                                                                storage = 789520

]]></config>
<event type="login" name="Check Map" event="script"><![CDATA[  
domodlib('map_func')  
function onLogin(cid)
if getGlobalStorageValue(storage) == -1 then setGlobalStorageValue(storage, 0)  end
doTeleportThing(cid, getTownTemplePosition(info[getGlobalStorageValue(storage)]))  
return true  
end  
]]></event>
                                <globalevent name="ChangeMap" interval="1800" event="script"><![CDATA[  
                                domodlib('map_func')  
                                function onThink(interval, lastExecution)  
                                                                doBroadcastMessage('The map will be changed again in 30 minutes.')
                                                                setGlobalStorageValue(storage, getGlobalStorageValue(storage) < #info and getGlobalStorageValue(storage)+1 or 0)
                                                                for _, pid in ipairs(getPlayersOnline()) do
         doPlayerSetTown(pid, info[getGlobalStorageValue(storage)])
                                                                doRemoveConditions(pid, true)
doCreatureAddHealth(pid, getCreatureMaxHealth(pid))
doCreatureAddMana(pid, getCreatureMaxMana(pid))
                  doTeleportThing(pid, getTownTemplePosition(getPlayerTown(pid)))  
                                                                end
                                 return true  
end]]></globalevent>
</mod>



but I want use only in one map and I have 6 maps changes in my pvpe, its possible to use only in one map? and continue with normal change map...
 
I have my warot and I use changemap because I have 6 differents city... I want implement team battle event only in fibula city.

- - - Updated - - -

BuMp

- - - Updated - - -

BUMP

- - - Updated - - -

bump
 
Last edited:
Back
Top