View Single Post
404UserNotFound
BANNED
Join Date: Dec 2011
Old 04-11-2019 , 14:06   Re: IsClientOnCoach?? How i can check player on Coach??
Reply With Quote #3

I assume he means how to check if a player is currently "Coaching" someone in TF2. There's an entprop for that;
PHP Code:
stock bool IsClientOnCoach(int client)
{
    return 
GetEntProp(clientProp_Send"m_bIsCoaching");

It's as simple as that. It'll return true/false based on if that player is coaching someone.

Although I do see he has CSGO named in his profile Location but I'm unaware of whether or not CSGO has coaching, soooo...

Last edited by 404UserNotFound; 04-11-2019 at 14:11.
404UserNotFound is offline