I started back my server and I currently need a script that matches the following:
When a team wins 4 rounds, the round must restart without any admin does it.
Regards,
Jepo.
edited 1×, last 21.09.15 01:55:35 pm
rounds = 0 addhook("endround","_end") function _end(id) if mode == 1 then rounds = rounds +1 if rounds == 5 then parse("restart") elseif mode == 2 then rounds = rounds +1 if rounds == 5 then parse("restart") end end end end
rounds = 0 addhook("endround","_end") function _end(id) if mode == 1 then rounds = rounds +1 if rounds == 5 then parse("restart") elseif mode == 2 then rounds = rounds +1 if rounds == 5 then parse("restart") end end end end