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

csgo_knives_canbuy #2

Open
scratchyentree6 opened this issue Jan 3, 2017 · 1 comment
Open

csgo_knives_canbuy #2

scratchyentree6 opened this issue Jan 3, 2017 · 1 comment

Comments

@scratchyentree6
Copy link

csgo_knives_canbuy convar does not work.

@xDShot xDShot added the bug label Jan 4, 2017
xDShot added a commit that referenced this issue Jan 5, 2017
when it's restricted. Possibly fixes issue #2.
@xDShot
Copy link
Owner

xDShot commented Jan 7, 2017

Alright, after digging, I discovered that the cvar didn't disable SWEP.EquipMenuData table and knives were still appearing in store. I added additional check for that, but they still appear during game as SWEP.EquipMenuData wasn't updating, although nobody could buy this anyway.

For now, I'm merging changes into master, but leaving this issue opened as it needs additional workarounds.

If you need to disable it, add "csgo_knives_canbuy" 0" in garrysmod/cfg/server.vdf on your server then restart it.

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

2 participants