Forum
CS2D Scripts how can i find a 1 player alive detector script?how can i find a 1 player alive detector script?
6 replies 1
1
2
3
4
5
6
2
3
4
5
6
addhook("die","i") function i(vic) 	if (#player(0,"tableliving") <= 1) then 		parse("mp_restargame 1") 	end end
.luafile and place it inside of it, then move it to the following folder:
cs2d\sys\lua\autorun
Mami Tomoe has written
oh, but i added admin script to sys and now my cs2d don't have autorun only autoexec
http://www.cs2d.com/faq.php?show=scr_uselua#scr_uselua
1