View Single Post
MAGNAT2645
Senior Member
Join Date: Nov 2015
Location: AlliedMods.net
Old 08-09-2019 , 04:17   Re: [TF2] Deathrun Redux 2019
Reply With Quote #8

This is another error, i'll check that out.

EDIT: Weird, i don't have this error. I don't know why this error appears because there's client index check.
Code:
	int iClient = GetClientOfUserId( data );
	if ( iClient && !IsPlayerAlive( iClient ) )
I can do something like this:
Code:
	int iClient = GetClientOfUserId( data );
	if ( iClient && IsClientInGame( iClient ) && !IsPlayerAlive( iClient ) )
but i don't think that this is necessary. In fact, if ( iClient ) replaces IsClientInGame.
__________________

Last edited by MAGNAT2645; 08-09-2019 at 04:47.
MAGNAT2645 is offline