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

ClassReplace causes you to lose your streaks that you get when you respawn. #2

Open
Chenterito opened this issue Aug 15, 2023 · 2 comments

Comments

@Chenterito
Copy link

ClassReplace causes you to lose your streaks that you get when you respawn.
Also, you may want to override the event "self waittill("spawned_player");" by "self waittill("changed_kit");, since it's the correct notification for class change or choice, if you use spawned_player you can still bypass the restriction by changing class within a few seconds of respawning.

@LastDemon99
Copy link
Owner

ClassReplace causes you to lose your streaks that you get when you respawn. Also, you may want to override the event "self waittill("spawned_player");" by "self waittill("changed_kit");, since it's the correct notification for class change or choice, if you use spawned_player you can still bypass the restriction by changing class within a few seconds of respawning.

Initially I used a "changed_kit" but the bots use another notification, it is resolved with a waitill_any. Regarding the other mention, I am aware, I have to make time to update all the scripts, at that time I was just learning.... and.... you don't speak Spanish?

@Chenterito
Copy link
Author

Si, hablo español. El problema de la perdida delas rachas creo es la línea 56 donde llamas la función maps\mp\killstreaks\_killstreaks::clearKillstreaks();

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