Forum

> > CS2D > Scripts > i need a lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English i need a lua

2 replies
To the start Previous 1 Next To the start

moved i need a lua

cELL
User Off Offline

Quote
Usgn hello friends I need help with a script-lua..
I want to know if they help me, I need that each 20 rounds will restart automatically. and if can have a Hudtxt that tell them rounds would be best, I need it, thanks to all

Admin/mod comment

Wrong section, this is related to CS2D - Scripts. Moved. /user GeoB99

old Re: i need a lua

Cure Pikachu
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
rnd = 0
parse('hudtxt 0 "Round '..rnd..'" 320 64 1')

addhook("startround","_startrnd")
function _startrnd()
	rnd = rnd + 1
	parse('hudtxt 0 "Round '..rnd..'" 320 64 1')
	if rnd > 20 then
		parse("restart")
		rnd = 0
	end
end
Something like this, I suppose.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview