View Single Post
Iciaria
Member
Join Date: Aug 2022
Old 03-25-2023 , 09:44   Re: [L4D2] About "IsClientInGame()"
Reply With Quote #3

Quote:
Originally Posted by Marttt View Post
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
Thanks a lot, everything is clear now.my stupid mistakexD

PS.I only see this error in the log, so I didn't paste the other lines because they are the same.
__________________
Sorry,my english not good
Iciaria is offline