On all maps.
Forum
CS2D Scripts 1HP and knife1HP and knife
5 Antworten 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
1× editiert, zuletzt 25.01.16 14:49:54
1
2
3
4
5
2
3
4
5
addhook("spawn","_knifemode") function _knifemode(id) parse("sethealth "..id.." 1") parse("strip "..id.."") end
1