Raised This Month: $ Target: $400
 0% 

respawning func_breakables?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-23-2007 , 06:17   Re: respawning func_breakables?
Reply With Quote #2

pseudocode:
Code:
plugin_init
       get all func_breakable entities and save needed values such as origin, angle, min/max boxes, id
       register remove_entity forward

remove_entity forward:
       set task restore ent

restore ent:
       create new entity
       set all needed data you saved in plugin init and replace the entityid in the saved data with the new one
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
 



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 21:24.


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