1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Code above removed!] addhook("hit","zj_godmode") function zj_godmode(id) 	if zj_invulnerable[id] == 1 then 		return 1 	end 	if zj_upgrade[id] == 1 then 		return 1 	end 	if (zj_player_knowledge[id]>=20 and zj_player_knowledge[id]<=39) then 		parse("sethealth ".. id .." ".. (player(id, "health") + 1)) 	elseif (zj_player_knowledge[id]>=40 and zj_player_knowledge[id]<=59) then 		parse("sethealth ".. id .." ".. (player(id, "health") + 2)) 	elseif (zj_player_knowledge[id]>=60 and zj_player_knowledge[id]<=79) then 		parse("sethealth ".. id .." ".. (player(id, "health") + 3)) 	elseif (zj_player_knowledge[id]>=80 and zj_player_knowledge[id]<=99) then 		parse("sethealth ".. id .." ".. (player(id, "health") + 4)) 	elseif zj_player_knowledge[id] >= 100 then 		parse("sethealth ".. id .." ".. (player(id, "health") + 5)) 	end end [Code below removed!]
edited 1×, last 23.01.12 06:04:19 am