I need a script that will list the top left corner of your score and death. Please write codes!
Thanks for all! (sorry for my english)
addhook("always","a1") function a1() for a = 1,32 do parse('hudtxt2 '..a..' 0 "©000255000Kills:'..player(a,"score")..'" 10 20') parse('hudtxt2 '..a..' 1 "©000255000Deaths:'..player(a,"deaths")..'" 10 40') end end
addhook("kill","a1") function a1() for a = 1,32 do parse('hudtxt2 '..a..' 0 "©000255000Kills:'..player(a,"score")..'" 10 20') end end addhook("die","a1") function a1() for a = 1,32 do parse('hudtxt2 '..a..' 0 parse('hudtxt2 '..a..' 1 "©000255000Deaths:'..player(a,"deaths")..'" 10 40') end end
addhook("second","OnSecond") function OnSecond() for _,id in pairs(player(0,"table")) do 	GetFrag(id) 	end end function GetFrag(id) parse('hudtxt2 '..id..' 0 "©000255000Kills:'..player(id,"score")..'" 10 20') parse('hudtxt2 '..id..' 1 "©000255000Deaths:'..player(id,"deaths")..'" 10 40') end
addhook("kill","OnStats") addhook("die","OnStats") function OnStats(id) 	GetFrag(id) end function GetFrag(id) parse('hudtxt2 '..id..' 0 "©000255000Kills:'..player(id,"score")..'" 10 20') parse('hudtxt2 '..id..' 1 "©000255000Deaths:'..player(id,"deaths")..'" 10 40') end
addhook("ms100","player_hud") function player_hud() 	for _, id in pairs(player(0,"table")) do 		parse('hudtxt '..id..' 0 "'..string.char(169)..'255255255Score: '..player(id,"score")..'" 12 116') 		parse('hudtxt '..id..' 1 "'..string.char(169)..'255255255Deaths: '..player(id,"deaths")..'" 12 130') 	end end
addhook("kill","_kill") function _kill(killer,victim) 	parse('hudtxt2 '..killer..' 0 "©255255255Score: '..player(killer,"score")..'" 12 115') 	parse('hudtxt2 '..victim..' 1 "©255255255Deaths: '..player(victim,"deaths")..'" 12 130') end
addhook('kill', 'killHook') function killhud(id) 	parse('hudtxt2 '..id..' 49 "©220050050K '..player(id, 'score')..' : D '..player(id, 'deaths')..'" 12 116') end function killHook(id, victim) 	killhud(id) 	killhud(victim) end