SenSidethink has written
The KpD Hud is simply this:
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
if player(id,"deaths") == 0 then
				KpD = 0
			else
				KpD = tostring(player(id,"score")/player(id,"deaths"))
				if string.len(KpD) > 4 then
					KpD = string.sub(KpD,1,4)
				end
			end
			parse('hudtxt2 '..id..' 7 "©000255000KpD: '..KpD..' " 5 157')
Hm.. i got this error:
http://x13.img-up.net/lua_errorp4ixp.png
I think i need a hook..?
What about a killhook, so it will update when i kill somebody.. (:
Lua Scripts/Questions/Help


Offline