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

Armor Helmet upgrade not working? #370

Open
coty9090 opened this issue May 16, 2021 · 1 comment
Open

Armor Helmet upgrade not working? #370

coty9090 opened this issue May 16, 2021 · 1 comment

Comments

@coty9090
Copy link

I have Armor helmet set to give 0.1 (10%) chance each level. I tested every level from 1 (10%) to 10 (max, 100% chance?) and it has never given me a helmet on player spawn yet. (CS:S btw)

@WanekWest
Copy link

WanekWest commented Feb 3, 2023

@peace-maker
SetEntProp(client, Prop_Send, "m_bHasHelmet", 1);
probably we should change to
int offset = FindSendPropInfo("CCSPlayer", "m_bHasHelmet"); // This to plugin start.

SetEntData(client, offset, helmet); //This to 107. It will be work faster and maybe will solve problem.

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