But dont have dame with RPG,grega.. launche,some heavy weapons
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
addhook("hit","hhit") function hhit(id,source,wpn,hpdmg) 		local hp = player(id,"health") 		hehe = hp - itemtype(wpn,"dmg") 		if hp > hehe then 			parse ("sethealth "..id.." "..hehe) 		else 			parse("customkill "..player(source,"name").." killed "..player(id,"name")) 		end 		if hp > hehe then 			parse ("sethealth "..id.." "..hehe) 		else 			parse("customkill "..player(source,"name").." killed "..player(id,"name")) 		end end
1
2
3
2
3
local hp = player(id,"health") 	hehe = hp - itemtype(wpn,"dmg") 	parse ("sethealth "..id.." "..hehe)
Lua Dont have dame with RPG,heavy weapons...