View Single Post
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-24-2021 , 04:24   Re: Human Pass through the entity
Reply With Quote #4

Look at the plugin semiclip on this forums, source code, basically it does the same thing.
Im sure you will manage to add required checks for team's and entity
PHP Code:
#include < amxmodx >
#include < fakemeta >

#define PLUGIN "[RZ] Test"
#define VERSION "1.0"
#define AUTHOR "H.RED.ZONE"

public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)

    
register_forward(FM_AddToFullPack"client_AddToFullPack_P"1)
}

public 
client_AddToFullPack_P(eseentidhostflagsplayerpSet) {
    if( 
player && id != ent && get_orig_retval() && is_user_alive(id)) {
        
set_es(entES_SolidSOLID_NOT)
    }

__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 03-24-2021 at 04:25.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf