GetClientEyePosition Function

Returns the client's eye position.

void GetClientEyePosition(int client, float pos[3])

Parameters

int client

Player's index.

float[3] pos

Destination vector to store the client's eye position.

Errors

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