Raised This Month: $ Target: $400
 0% 

I need this plugin for deathrun


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
InsanityKARAI
Member
Join Date: Jul 2014
Old 07-22-2015 , 18:46   Re: I need this plugin for deathrun
Reply With Quote #9

this?

PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>

#define PLUGIN "Remove func_breakable"
#define VERSION "1.0"
#define AUTHOR "Rowan"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    new 
Entity = -1;

    while ( ( 
Entity find_ent_by_classEntity"func_breakable" ) ) )
    {
        
engfunc(EngFunc_RemoveEntity,Entity)
    }

@EDIT

Use:
PHP Code:
#include <amxmodx>
#include <engine>
#include <fakemeta>

#define PLUGIN "Remove func_breakable"
#define VERSION "1.0"
#define AUTHOR "Rowan"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    new 
Entity = -1;
    new 
target[32]

    while ( ( 
Entity find_ent_by_classEntity"func_breakable" ) ) )
    {
        
pev(Entity,pev_targetname,target,charsmax(target))
        
        if(
equal(target,""))
            
engfunc(EngFunc_RemoveEntity,Entity)
    }

Remove all breakable entities that is not given by another entity ...
Ex: Button 4 uses the entity 5 (breakable) does not remove the entity
if the entity 5 without any buttons, does not remove the map.



Last edited by InsanityKARAI; 07-22-2015 at 18:59. Reason: At
InsanityKARAI 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 23:18.


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