AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Remove entity after time (https://forums.alliedmods.net/showthread.php?t=121678)

Toastt 03-18-2010 15:20

Remove entity after time
 
I have a aurmor_entity named "ignore" and after two minutes (roundtime) i want it to disapear.
how would i do that?

Arkshine 03-18-2010 15:29

Re: Remove entity after time
 
register_think() on "ignore" ; set get_gametime() + 2minutes in pev_nextthink on this entity ; then add some code to remove the entity in the callback of register_think().


All times are GMT -4. The time now is 08:41.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.