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

Implementation error #303

Open
jobmail opened this issue Jan 12, 2024 · 0 comments
Open

Implementation error #303

jobmail opened this issue Jan 12, 2024 · 0 comments

Comments

@jobmail
Copy link

jobmail commented Jan 12, 2024

cell AMX_NATIVE_CALL rg_round_end(AMX *amx, cell *params)

В regame уже есть подходящая функция для завершения раунда:

https://github.com/s1lentq/ReGameDLL_CS/blob/051dc0751afdf86d79660bc85c6d7ecbe1e25587/regamedll/dlls/multiplay_gamerules.cpp#L1009C1-L1009C38

Почему бы не использовать ее, вместо:
CSGameRules()->EndRoundMessage(message, _event);
CSGameRules()->TerminateRound(_tmDelay, _winStatus);

Добавив в ReGame для "case ROUND_NONE:" - TerminateRound(_tmDelay, _winStatus);

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

1 participant