IsPlayerAlive Function

Returns if the client is alive or dead.

Note: This function was originally in SDKTools and was moved to core.

bool IsPlayerAlive(int client)


int client

Player's index.

Return Value

True if the client is alive, false otherwise.


Invalid client index, client not in game, or no mod support.