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

Request: New hook for CBasePlayerWeapon::EjectBrassLate() #828

Open
RauliTop opened this issue Apr 26, 2023 · 1 comment
Open

Request: New hook for CBasePlayerWeapon::EjectBrassLate() #828

RauliTop opened this issue Apr 26, 2023 · 1 comment

Comments

@RauliTop
Copy link
Contributor

This will help us to disable the 'brass shells' from weapons when firing.
An example about I'm talking about:
https://imgur.com/UrquTs8
https://imgur.com/gmgHW40

Probably we need to pass player index on the function too, to be used by plugins.

More info, discussed here: https://dev-cs.ru/threads/29436/

@Vaqtincha
Copy link
Contributor

you can block only for weapons awp, m3, scout (clientside effect for other guns) with message "Brass" or set PrimaryAttack (post) m_flEjectBrass = 0

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

2 participants