View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 07-30-2019 , 11:56   Re: [L4D2]Request fix error
Reply With Quote #24

You mean Ghost Mode?

If is what you mean just check by this stock:


Quote:
/**
* Validates if the client is a ghost.
*
* @param client Client index.
* @return True if client is a ghost, false otherwise.
*/
bool IsPlayerGhost(int client)
{
return GetEntProp(client, Prop_Send, "m_isGhost", 1) == 1;
}
__________________
Marttt is offline