Author Topic: Giving NPCs health through ent command?  (Read 1225 times)

0 Members and 1 Guest are viewing this topic.

Offline [FaKE]MoleMat

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Giving NPCs health through ent command?
« on: January 09, 2017, 09:17:29 PM »
Ok so, basically what I'm trying to do is have it so when the bottle spawned by this code breaks, it gives all npc's of the same type a certain HP value, but when I keep testing it nothing changes. Any suggestions?

Code: [Select]
ulx ent prop_physics physdamagescale:0.05 | model:models/props_junk/garbage_glassbottle001a.mdl | OnBreak:<npc type>,SetHealth,<ammount>,0,-1
« Last Edit: January 13, 2017, 08:21:29 PM by [FaKE]MoleMat »