Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addhook("die","zombie_explode")
- function zombie_explode(id,killer,weapon,x,y)
- if player(id,"team")==1 then
- if math.random(1,100)==1 then --chance to explode 1:100
- parse("explosion "..x.." "..y.." "..math.random(48,128).." "..math.random(50,150).." "..id)
- -- x y random range random damage
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement