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

Control roundtype.Pistol armor giving #155

Open
maketou opened this issue Jul 19, 2024 · 4 comments
Open

Control roundtype.Pistol armor giving #155

maketou opened this issue Jul 19, 2024 · 4 comments
Labels
enhancement New feature or request loadout

Comments

@maketou
Copy link

maketou commented Jul 19, 2024

Can add an optional configuration for the pistol round.

When selecting a nondefault pistol in a pistol round, remove the player's armor so that it is 0.

@yonilerner
Copy link
Owner

Next time I have time

@maketou
Copy link
Author

maketou commented Jul 20, 2024

okay, looking forward to your update

@dollannn
Copy link

dollannn commented Sep 7, 2024

Im gonna see if I can get a pr going for this tomorrow

@yonilerner
Copy link
Owner

One of the challenges with this I considered is that if you have AllowAllocationAfterFreezeTime: true, then if you buy a more expensive pistol after the round has started, the plugin would need to remove the armor. But if you then sell it back, select a glock/usp/p200 again, the plugin would not be able to give the armor back otherwise it would be a very easy way to cheat. I think the solution to this is a loadout system like I described here: #66 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request loadout
Projects
None yet
Development

No branches or pull requests

3 participants