Thread
:
Trying to target a client that is not ingame after verification
View Single Post
ddhoward
Veteran Member
Join Date: May 2012
Location: California
03-30-2020 , 01:12 Re: Trying to target a client that is not ingame after verification
#
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.
__________________
My plugins:
Dynamic Targeting
|
Target Name Changers
|
Session Flags
|
Change Overrides
Command Cooldowns
|
[TF2] Trade Requests
|
Pause the Game
|
Plugin AutoReloader
[TF2/CSGO] Double Quote Fix
|
Coordinate Printer
|
[TF2] Kart Horns
|
DelayCmd
Donate
ddhoward
View Public Profile
Send a private message to ddhoward
Visit ddhoward's homepage!
Find More Posts by ddhoward