Skip to content

feat: Add ability to retrieve player viewmodel settings #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

captainswain
Copy link
Contributor

@captainswain captainswain commented Jun 5, 2025

This pr introduces functionality to extract player viewmodel settings (offsets and field of view)

Changes

  • Added ViewmodelOffset and ViewmodelFOV methods to the Player struct to retrieve viewmodel settings. These methods return zero values for CS:GO demos or when player data is unavailable.
  • Added relevant tests
  • Added example + readme

@captainswain captainswain changed the title feat: Add ability to retrive player viewmodel settings feat: Add ability to retrieve player viewmodel settings Jun 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant