• 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!

Balance team

freddzor11

Member
Joined
May 25, 2009
Messages
695
Reaction score
5
Hello I got an script that when I say "false" at balance team (TEAMBATTLE) it still do it, is it anywrong here?

http://otland.net/threads/mod-full-auto-war-teambattle-event-with-random-rewards.92825/

Code:
if not balanceTeams() then
resetEvent()
return false
end
for _,cid in ipairs(getBlueMembers()) do
doTeleportThing(cid,blueTeamPos,false)
doSendMagicEffect(getThingPos(cid),10)
end
setBlueCount(#getBlueMembers())
for _,cid in ipairs(getRedMembers()) do
doTeleportThing(cid,redTeamPos,false)
doSendMagicEffect(getThingPos(cid),10)
end
setRedCount(#getRedMembers())
startCountDown()
return true
end
 
Last edited:
Back
Top