Raised This Month: $ Target: $400
 0% 

Remove entity after time


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Toastt
BANNED
Join Date: Nov 2009
Old 03-18-2010 , 15:20   Remove entity after time
Reply With Quote #1

I have a aurmor_entity named "ignore" and after two minutes (roundtime) i want it to disapear.
how would i do that?
Toastt is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 03-18-2010 , 15:29   Re: Remove entity after time
Reply With Quote #2

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().
__________________
Arkshine is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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