/** * Gets the client's view offset. * This is the position relative to the client itself. * * @param client Client Index. * @param vec Vector Buffer. * @noreturn */ stock Client_GetViewOffset(client, Float:vec[3]) { GetEntPropVector(client, Prop_Data, "m_vecViewOffset", vec); } /** * Sets the client's view offset. * This is the position relative to the client itself. * * @param client Client Index. * @param vec Vector buffer. * @noreturn */ stock Client_SetViewOffset(client, Float:vec[3]) { SetEntPropVector(client, Prop_Data, "m_vecViewOffset", vec); }