Skip to content
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

[Feature Request] Possible to directly call CountTeamPlayers function #211

Open
SmileYzn opened this issue Sep 1, 2021 · 4 comments
Open

Comments

@SmileYzn
Copy link

SmileYzn commented Sep 1, 2021

Is possible to expose the CountTeamPlayers function?

https://github.com/s1lentq/ReGameDLL_CS/blob/fbbd6bd0838749753e10499a77477bf2fb2324b1/regamedll/dlls/client.cpp#L506

Wait for endround to get m_iNumCT or m_iNumTerrorist is a mess!

Thanks

@hajimura
Copy link

hajimura commented Sep 1, 2021

Link, and then get m_iNumCT, m_iNumTerrorist members value

@SmileYzn
Copy link
Author

SmileYzn commented Sep 1, 2021

This is suposed to reinitialize counts only to get num? lol

@hajimura
Copy link

hajimura commented Sep 2, 2021

Whats the problem?

@fl0werD
Copy link
Contributor

fl0werD commented Sep 2, 2021

This is suposed to reinitialize counts only to get num? lol

The native above recalculate players count for members and also you can put they in your variables at once.

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

No branches or pull requests

3 participants