1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
function betlock()
		betable = false
		msg("team bidding is now locked")
	end
	function startround(mode)
		betable = true
		timer(''..(1000)..','..betlock()..'')
		if mode == 50 then
			winner = 1
		elseif mode == 51 then
			winner = 2
		end
	end
when i start the server the startround function doesn't even run and then when i restart the betlock function that is supposed to run 10 seconds later it runs instantly. am i doing something wrong?
edited 1×, last 15.07.12 08:27:58 pm
 
 timer command
 
 1 
 Offline
 krabob
 
 .. connects strings in Lua