IsClientObserver Function

Returns if a certain player is an observer/spectator.

bool IsClientObserver(int client)

Parameters

int client

Player index.

Return Value

True if player is an observer, false otherwise.