Raised This Month: $ Target: $400
 0% 

Removing point entities


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 12-30-2009 , 16:21   Re: Removing point entities
Reply With Quote #7

Either you use this :

PHP Code:
#include <engine_stocks>

public plugin_init()
{
    
remove_entity_name("env_explosion")


Either this

PHP Code:
#include <engine>

public plugin_init()
{
    new 
iEnt find_ent_by_class(-1"env_explosion")
    while( 
iEnt )
    {
        
remove_entityiEnt )
        
iEnt find_ent_by_class(iEnt"env_explosion")
    }

__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 04:09.


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