Один человек говорил что лучше научить ловить рыбу чем дать удочку, но мы все равно на теже грабли.
PickedEntity = CameraPick (a.MatchMan\cam,MouseX,MouseY)
If PickedEntity <> 0
For h.ZombyBot=Each ZombyBot
If EntityDistance ( a.MatchMan\PiwotPers,h\ZombySphere)<10 Then
;If ZomLiw=True
;For h.ZombyBot=Each ZombyBot
If PickedEntity = h\ZombySphere Then
h\ZombyHealth#=h\ZombyHealth# - .5
FreshBlood(blood)
If h\ZombyHealth# <=0 Then
h\ZombyHealth#=0
If AnimSeq( h\ZombyMesh ) <> dead_zomby Then Animate h\ZombyMesh,3,.3,dead_zomby
kills = kills + 1:h\ZomLiw=False:FreeEntity h\ZombySphere:Delete h:PickedEntity=0
;CreateZomby("AData\ABitmap\ANps\Arahna.b3d",EntityX(a.MatchMan\PiwotPers)+Rnd(-3,3),2,EntityY(a.MatchMan\PiwotPers)+Rnd(-3,3),1,FoolLives,70)
EndIf
EndIf
EndIf
Next
EndIf