Guest User

Untitled

a guest
Jan 15th, 2023
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. // kill entity with given targetname with 1 second delay
  2. EntFire("test_trigger", "Kill", "", 1.0, null, null);
  3.  
  4. local hEntity = Entities.CreateByClassname("info_target");
  5. // kill the entity by handle after 2 second delay
  6. EntFireByHandle(hEntity,"Kill","",2.0,null,null);
  7.  
  8. // kill all entities starting with "test_"
  9. EntFire("test_*", "Kill", "", 0.0, null, null);
  10.  
  11. // kill all entities with given classname
  12. EntFire("npc_nmrih_*", "Kill", "", 0.0, null, null);
Advertisement
Add Comment
Please, Sign In to add comment