View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-25-2023 , 09:32   Re: [L4D2] About "IsClientInGame()"
Reply With Quote #2

Wrong section, and the snippet provided doesn't give any clue about your exception (the error is the line above "Call stack trace" that you didn't copy+paste)

anyway, your "for" loop is wrong, if you use "return" inside, it will exit the "CheckStatus" function,
use "continue" instead to go to the next index, otherwise it will stop looping in the first "not in game" client
__________________

Last edited by Marttt; 03-25-2023 at 09:36.
Marttt is offline