Raised This Month: $359 Target: $400
 89%   Almost there!

Solved Human Pass through the entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NOVA GAMING
Member
Join Date: Apr 2020
Old 03-23-2021 , 23:58   Human Pass through the entity
Reply With Quote #1

How can i let any particular team to pass through an entity ? something like Sandbags for ZP

i have tried Touch things to make the Toucher the pev_owner and let him Pass through the Entity but if more than 2 touches they stuck .

i have heard of pev_groupinfo but i have no idea about this
__________________

Last edited by NOVA GAMING; 03-28-2021 at 07:28.
NOVA GAMING is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 03-24-2021 , 00:37   Re: Human Pass through the entity
Reply With Quote #2

By hooking addtofullpack
__________________
@Jailbreak Main Mod v2.6.6 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
NOVA GAMING
Member
Join Date: Apr 2020
Old 03-24-2021 , 02:46   Re: Human Pass through the entity
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
By hooking addtofullpack
Any example sir ?
__________________
NOVA GAMING is offline
CryWolf
Senior 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
Reply


Thread Tools
Display Modes

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 22:43.


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