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/
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: