GetClientEyeAngles Function

Returns the client's eye angles.

bool GetClientEyeAngles(int client, float ang[3])

Parameters

int client

Player's index.

float[3] ang

Destination vector to store the client's eye angles.

Return Value

True on success, false on failure.

Errors

Invalid client index, client not in game, or lack of mod support.