Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AddCSLuaFile()
- ENT.Base = "base_nextbot"
- ENT.Spawnable = true
- function ENT:Initialize()
- self:SetModel( "models/hunter.mdl" )
- self.LoseTargetDist = 2000 -- How far the enemy has to be before we lose them
- self.SearchRadius = 1000 -- How far to search for enemies
- end
- function ENT:RunBehaviour(bothurt, ply)
- if ply == bothurt then
- ply:Kill()
- end
- end
- hook.Add("OnInjured","test123", RunBehaviour)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement