View Single Post
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 12-15-2018 , 08:56   Re: [CS GO] client for start_round event
Reply With Quote #7

Quote:
Originally Posted by Indarello View Post
Maybe you will write what you want, cause I dont understand this code
solved.


/*********************************
* IsValidClient
*********************************/
stock bool IsValidClient(int client)
{
if(client <= 0)
return false;
if(client > MaxClients)
return false;
if(!IsClientInGame(client))
return false;
if(!IsClientSourceTV(client))
return false;
if(IsFakeClient(client))
return false;
return true;
}

Last edited by Dr.Mohammad; 12-15-2018 at 08:58.
Dr.Mohammad is offline