Admin/mod comment
Are you too lazy to choose the right forum section? /
GeoB99
Scripts
how can i find a 1 player alive detector script?
how can i find a 1 player alive detector script?
1

GeoB99 addhook("die","i")
function i(vic)
	if (#player(0,"tableliving") <= 1) then
		parse("mp_restargame 1")
	end
end
Bowlinghead:thanks you!, but where i need to put the code? .luafile and place it inside of it, then move it to the following folder:
cs2d\sys\lua\autorun
Mami Tomoe has written
Shadow2008_br: Can't you just read?
1
