GetClientAbsOrigin Function

Returns the client's origin vector.

void GetClientAbsOrigin(int client, float vec[3])

Parameters

int client

Player's index.

float[3] vec

Destination vector to store the client's origin vector.

Errors

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