Raised This Month: $12 Target: $400
 3% 

I need this plugin for deathrun


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Beowulf123
Junior Member
Join Date: Jul 2015
Old 07-18-2015 , 07:57   I need this plugin for deathrun
Reply With Quote #1

Hello guys!
I have all usual plugins and addons but I am looking for one.
Server has autobhop so I want to remove those parts that falls when I step on it or I hit it with knife.
I will post how it looks and how it needs to look.

How it looks now on server:
http://************/image/siwzg9pd5/

How it needs to be:
http://************/image/c5c3ahirh/

So guys if there is a plugin like this but I think there is please reply to me

Last edited by Beowulf123; 07-18-2015 at 07:58.
Beowulf123 is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 07-18-2015 , 09:36   Re: I need this plugin for deathrun
Reply With Quote #2

Try with this, not tested. It will not remove breakables that are only destroyable by activating them via button.
PHP Code:
#include <amxmodx>
#include <fakemeta>

#pragma semicolon 1

new PLUGIN[]  = "";
new 
AUTHOR[]  = "";
new 
VERSION[] = "0.00";

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
    new 
pEnt get_maxplayers();
    while((
pEnt engfunc(EngFunc_FindEntityByStringpEnt"classname""func_breakable")) > 0)
    {
        if(!(
pev(pEntpev_spawnflags) & SF_BREAK_TRIGGER_ONLY))
            
engfunc(EngFunc_RemoveEntitypEnt);
    }


Last edited by klippy; 07-18-2015 at 09:36.
klippy is offline
Beowulf123
Junior Member
Join Date: Jul 2015
Old 07-18-2015 , 09:43   Re: I need this plugin for deathrun
Reply With Quote #3

Thanks I will try
Beowulf123 is offline
Old 07-18-2015, 11:07
Beowulf123
This message has been deleted by Beowulf123. Reason: frff
ZiZox
Senior Member
Join Date: Sep 2014
Location: Morocco
Old 07-18-2015 , 14:11   Re: I need this plugin for deathrun
Reply With Quote #4

Quote:
Originally Posted by Beowulf123 View Post
Druz mozes li napraviti plugin meni nece :/
English ONLY !
__________________
ZiZox is offline
Send a message via Skype™ to ZiZox
Beowulf123
Junior Member
Join Date: Jul 2015
Old 07-19-2015 , 14:24   Re: I need this plugin for deathrun
Reply With Quote #5

He gave me code that removes also some parts that only needs to break with activating button :/ Any help?
Beowulf123 is offline
Keys PK
Member
Join Date: Mar 2015
Location: Romania
Old 07-19-2015 , 18:50   Re: I need this plugin for deathrun
Reply With Quote #6

Try https://forums.alliedmods.net/showthread.php?t=137576
__________________
Keys PK is offline
Send a message via Skype™ to Keys PK
Beowulf123
Junior Member
Join Date: Jul 2015
Old 07-22-2015 , 17:27   Re: I need this plugin for deathrun
Reply With Quote #7

No, wrong plugin I need plugin that removes falling parts of map
Beowulf123 is offline
InsanityKARAI
Member
Join Date: Jul 2014
Old 07-22-2015 , 18:46   Re: I need this plugin for deathrun
Reply With Quote #8

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
Beowulf123
Junior Member
Join Date: Jul 2015
Old 07-23-2015 , 08:19   Re: I need this plugin for deathrun
Reply With Quote #9

InsanityKARAI thank you so much!

That's what I needed
Beowulf123 is offline
Linkin Hisoka
Senior Member
Join Date: Sep 2014
Location: Morocco, Marrakesh
Old 07-23-2015 , 08:25   Re: I need this plugin for deathrun
Reply With Quote #10

use enity remover
__________________
Moroccan and proud
Linkin Hisoka is offline
Reply



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 18:18.


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