On all maps.
Forum
CS2D Scripts 1HP and knife1HP and knife
5 replies 1
On all maps.
1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("startround","_sr") function _sr(mode) 	for _,id in pairs (player(0,"tableliving")) do 		parse("sethealth "..id.." 1") 		parse("strip "..id) 	end end
Does not prevent acquiring weapons after round starts. Does not prevent healing after round starts. Does not work on modes where knife is not default weapon (for example 'Zombies').
1
2
3
4
5
2
3
4
5
addhook("spawn","myspawnhook") function myspawnhook(id) 	parse("sethealth "..id.." 1") 	return "x" end
edited 1×, last 25.01.16 02:49:54 pm
1
2
3
4
5
2
3
4
5
addhook("spawn","_knifemode") function _knifemode(id) parse("sethealth "..id.." 1") parse("strip "..id.."") end
1