Raised This Month: $32 Target: $400
 8% 

...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cristian505
Senior Member
Join Date: Oct 2020
Old 12-08-2021 , 16:35   ...
Reply With Quote #1

...

Last edited by Cristian505; 08-10-2022 at 14:19.
Cristian505 is offline
SHIFT0
Senior Member
Join Date: Apr 2021
Location: Palestine
Old 12-08-2021 , 16:38   Re: Ghost Teammates
Reply With Quote #2

u means
Anti Block Teams ?
SHIFT0 is offline
Yusochan
Member
Join Date: Sep 2021
Location: Algeria
Old 12-08-2021 , 17:59   Re: Ghost Teammates
Reply With Quote #3

Quote:
Originally Posted by Cristian505 View Post
Does anyone have that plugin that makes you go through your colleagues like ghosts?
You mean semiclip, sir ?

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

new const VERSION[] = "0.7.0"

new g_iPlayers[32], g_iNum, g_iPlayer, i
new const g_szAliveFlags[] = "a"
#define RefreshPlayersList()	get_players(g_iPlayers, g_iNum, g_szAliveFlags)

public plugin_init()
{
	register_plugin("Semiclip", VERSION, "ConnorMcLeod")

	register_forward(FM_AddToFullPack, "FM_client_AddToFullPack_Post", 1)

	RegisterHam(Ham_Player_PreThink, "player", "Ham_CBasePlayer_PreThink_Post", 1)
}

public FM_client_AddToFullPack_Post(es, e, iEnt, id, hostflags, player, pSet)
{
	if( player && id != iEnt && get_orig_retval() && is_user_alive(id) )
	{
		set_es(es, ES_Solid, SOLID_NOT)
	}
}

public Ham_CBasePlayer_PreThink_Post(id)
{
	if( !is_user_alive(id) )
	{
		return
	}

	RefreshPlayersList()

	for(i = 0; i<g_iNum; i++)
	{
		g_iPlayer = g_iPlayers[i]
		if( id != g_iPlayer && get_user_team(id) == get_user_team(g_iPlayer))
		{
			set_pev(g_iPlayer, pev_solid, SOLID_NOT)
		}
	}
}

public client_PostThink(id)
{
	if( !is_user_alive(id) )
	{
		return
	}

	RefreshPlayersList()

	for(i = 0; i<g_iNum; i++)
	{
		g_iPlayer = g_iPlayers[i]
		if( g_iPlayer != id && get_user_team(id) == get_user_team(g_iPlayer))
		{
			set_pev(g_iPlayer, pev_solid, SOLID_SLIDEBOX)
		}
	}
}
__________________
<b>IP : <font color=Red>93.115.53.168:27017</font></b>
<b>Founder : <font color=Cyan>YusoChan-</font></b>
Yusochan is offline
Nutu_
AlliedModders Donor
Join Date: Mar 2016
Location: Germany
Old 12-08-2021 , 18:57   Re: Ghost Teammates
Reply With Quote #4

if you meant team semiclip (players can go through other players) that's it -> https://forums.alliedmods.net/showthread.php?t=137980
__________________
a simple act of caring creates an endless ripple.
Nutu_ is offline
Cristian505
Senior Member
Join Date: Oct 2020
Old 12-09-2021 , 15:38   Re: Ghost Teammates
Reply With Quote #5

...

Last edited by Cristian505; 08-10-2022 at 14:19.
Cristian505 is offline
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 05:52.


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