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

Suggestion for the c-bug allowance #142

Open
TamerGezici opened this issue Apr 28, 2020 · 2 comments
Open

Suggestion for the c-bug allowance #142

TamerGezici opened this issue Apr 28, 2020 · 2 comments

Comments

@TamerGezici
Copy link

TamerGezici commented Apr 28, 2020

Hello,

We can enable c-bug per-player or globally, which was a very useful addition. Thank you for that.

As you know, the c-bug system may have some false positives sometimes. For example, when you press C while shooting an M4. It will freeze you and switch your weapon. Putting WC aside, this seems to be an issue which is present in all c-bug prevention scripts and there doesn't seem to be a proper work around.

Since c-bugging with M4 is practically useless, I say we should have a function which allows us to control which weapons are allowed to c-bug with and which ones are not.

It would be a great addition because some servers may want to allow per-weapon c-bug for specific occasions but disable it for a different weapon. It could also have a per-player parameter as well.

@AliLogic
Copy link
Contributor

Vouched. I'll look into if I get some time.

@ADRFranklin
Copy link
Collaborator

You could do that your self, using OnPlayerUpdate you could detect a weapon change, and if that weapon happens to be deagle, or sniper etc, you could use the functions provided to enable/disable it like that.

Maybe in the future this could be implemented directly, but as a work around I think the suggestion I gave will do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants