Raised This Month: $ Target: $400
 0% 

[L4D2]Survivor_Legs remove two entities/clone when smoked


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ddd123
Senior Member
Join Date: May 2021
Old 08-28-2021 , 14:49   Re: [L4D2]Survivor_Legs remove two entities/clone when smoked
Reply With Quote #3

Update:
Okay, i redid the Marttt code(Thank you btw!) and solve spam console error by myself
Now i need to know how to delay the reappear the clone after hiding since i still can see the clone short time after third person view go to first person view (What i mean is the camera zooming in player and back to first person view)

What i did and added
Code:
static bool ShouldHideLegs(int iClient) 
{
	if(bThirdPerson[iClient])
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_hZoomOwner") == iClient)
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_hViewEntity") > 0)
		return true;
	if(GetEntPropFloat(iClient, Prop_Send, "m_TimeForceExternalView") > GetGameTime())
		return true;
	if(GetEntProp(iClient, Prop_Send, "m_iObserverMode") == 1)
		return true;
	if(GetEntProp(iClient, Prop_Send, "m_isIncapacitated") > 0)
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_pummelAttacker") > 0)
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_carryAttacker") > 0)
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_pounceAttacker") > 0)
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_jockeyAttacker") > 0)
		return true; 
	if(GetEntProp(iClient, Prop_Send, "m_isHangingFromLedge") > 0)
		return true;
	if(GetEntPropEnt(iClient, Prop_Send, "m_reviveTarget") > 0)
		return true;  
	if(GetEntPropFloat(iClient, Prop_Send, "m_staggerTimer", 1) > -1.0)
		return true; 
	if(GetEntPropEnt(iClient, Prop_Send, "m_tongueOwner") > 0) //added
		return true; 
	if(GetEntProp(iClient, Prop_Send, "m_isHangingFromTongue") > 0) //added
		return true; 
	if(GetEntProp(iClient, Prop_Send, "m_reachedTongueOwner") > 0) //added
		return true; 
	if(GetEntProp(iClient, Prop_Send, "m_isProneTongueDrag") > 0) //added
		return true; 
	switch(GetEntProp(iClient, Prop_Send, "m_iCurrentUseAction"))
	{

Can anyone please teach me how delay the entities or something?
Attached Files
File Type: sp Get Plugin or Get Source (EDIT [L4D2]Survivor_Legs.sp - 47 views - 25.7 KB)

Last edited by ddd123; 08-28-2021 at 17:02. Reason: Sorry for late reply
ddd123 is offline
 


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


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