1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
function zm_hit(id,src,w,h,a)
zm_lasthit[id] = src
if (player(id, "team") == 1 ) then
if ( zm_chp[i] - h <= 0 ) then
parse("customkill "..id.." killed "..zm_lasthit[id])
else
	 zm_chp[id] = zm_chp[id] - h
end
return 1
end
end
Edit:
@VegBerg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
adhook("say", "adminsay")
function adminsay(id, message)
if (player(id,"usgn")==62805) then
if (message == "@*") then -- need to put quotes around
-- return 1 -- cant return here or script wont finish
parse("msg"..id(message, "text").."@C") --Need closing parenthesis
		return 1 -- return here
else
return 0
end
else
return 0
end
end
edited 1×, last 23.07.10 06:20:39 pm
Lua Scripts/Questions/Help


Offline
Does anybody know a position save and load script??
