Raised This Month: $ Target: $400
 0% 

Entity removing each round start?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
bibu
Veteran Member
Join Date: Sep 2010
Old 11-21-2010 , 13:34   Entity removing each round start?
Reply With Quote #1

I am using this code:

PHP Code:
public plugin_init()
{
    
register_plugin"Entity Remover at Plugin Start""1.0""Alucard" );
    
    
register_event"HLTV""EventNewRound""a""1=0""2=0" );
}

public 
EventNewRound( )
{
    
set_task(5.0"remove_entity_task");
}

public 
remove_entity_task()
{
    
remove_entityfind_ent_by_model( -1"func_breakable""*1" ) );

This removes the entity forever. I want one which removes it 5 seconds after round starts and if round starts, the entity should re-spawn.
bibu is offline
 



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 11:15.


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