Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // kill entity with given targetname with 1 second delay
- EntFire("test_trigger", "Kill", "", 1.0, null, null);
- local hEntity = Entities.CreateByClassname("info_target");
- // kill the entity by handle after 2 second delay
- EntFireByHandle(hEntity,"Kill","",2.0,null,null);
- // kill all entities starting with "test_"
- EntFire("test_*", "Kill", "", 0.0, null, null);
- // kill all entities with given classname
- EntFire("npc_nmrih_*", "Kill", "", 0.0, null, null);
Advertisement
Add Comment
Please, Sign In to add comment