Thread
: [Solved]
[TF2] Client is not in game bug
View Single Post
Mitchell
~lick~
Join Date: Mar 2010
08-15-2019 , 15:42 Re: [TF2] Client is not in game bug
#
22
Quote:
Originally Posted by
Whai
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
Imagine the pain of developing a program if conditional's boolean checks were asynchronous.
Mitchell
View Public Profile
Send a private message to Mitchell
Visit Mitchell's homepage!
Find More Posts by Mitchell