View Single Post
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 03-30-2020 , 01:12   Re: Trying to target a client that is not ingame after verification
Reply With Quote #2

When you say "after", you are mistaken.

Look at the 4th line of your error. The error is happening because of IsPlayerAlive and IsPlayerAlive is complaining that the client is not in game. That's because the client is not in game. You need to check that the client is in game BEFORE you check is the player is alive.

Switch around your IsPlayerAlive(i) and IsClientInGame(i) checks.
__________________
ddhoward is offline