Thread
: [Solved]
[TF2] Client is not in game bug
View Single Post
Whai
Senior Member
Join Date: Jul 2018
08-14-2019 , 03:45 Re: [TF2] Client is not in game bug
#
6
You have to do that :
PHP Code:
if (
iClient
)
if ( !
IsPlayerAlive
(
iClient
) )
TF2_RespawnPlayer
(
iClient
);
Because your code checks the client index is not equal to 0
BUT
also checks at the SAME TIME if the player is alive
__________________
My GitHub repo.
My plugins
Last edited by Whai; 08-14-2019 at
03:46
.
Whai
View Public Profile
Send a private message to Whai
Find More Posts by Whai