function hit1(id,s,wpn)
x = player(id,[[x]])
y = player(id,[[y]])
if wpn==86 then
if player(s,[[team]])==1 then
if player(id,[[team]])==2 then
parse("customkill "..s.." Infected "..id)
al[id]=1
parse([[maket ]]..id)
parse("spawnplayer "..id.." "..x.." "..y)
parse("sv_sound2 "..id.." !ALFA!SOUND/human_pain1.wav")
parse("sv_sound2 "..s.." !ALFA!SOUND/human_pain1.wav")
al[id]=0
aps[s]=aps[s]+1
end
end
end
if wpn==78 then
if player(s,[[team]])==1 then
if player(id,[[team]])==2 then
parse("customkill "..s.." Infected "..id)
al[id]=1
parse([[maket ]]..id)
parse("spawnplayer "..id.." "..x.." "..y)
aps[s]=aps[s]+1
parse("sv_sound2 "..id.." !ALFA!SOUND/human_pain1.wav")
parse("sv_sound2 "..s.." !ALFA!SOUND/human_pain1.wav")
al[id]=0
end
end
end
end
this script is fo my zombie server, but it appears that zm kills Humans instantly with one hit instead of converting them into same with gutbomb, but instead of gutbomb and claws it writes "Infected" as wpn name, pls help me