Raised This Month: $ Target: $400
 0% 

Solved Human Pass through the entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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 08:53.


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