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?