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)

Parameters

int client

Player's index.

Return Value

True if the client is alive, false otherwise.

Errors

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