We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
During a pause, I can put a bomb.
The bomb should not be installed during a pause.
P.S. Sorry for my English.
The text was updated successfully, but these errors were encountered:
You can use SDKHook WeaponCanSwitchTo to block players ability to use bomb Something like this:
SDKHook(client , SDKHook_WeaponCanSwitchTo, CanUse_Func);
public Action CanUse_Func(int client, int ent) { char weapon[20]; if (isPaused() && isFreezeTime() && GetEntityClassname(ent, weapon, sizeof(weapon)) && StrEqual(weapon, "weapon_c4")) return Plugin_Handled; return Plugin_Continue; }
But, i think, could be clearer way, cuz you also need to change everyone weapon to something else, if player using bomb at this moment
Sorry, something went wrong.
Or you can just disable voting, hence disable pausing with sv_allow_votes 0. Put it to cfg/sourcemod/retakes/retakes_game.cfg
sv_allow_votes 0
cfg/sourcemod/retakes/retakes_game.cfg
I don't think you need to pause a retake anyway.
No branches or pull requests
During a pause, I can put a bomb.
Expected behavior
The bomb should not be installed during a pause.
Actual behavior
During a pause, I can put a bomb.
Steps to reproduce
P.S. Sorry for my English.
The text was updated successfully, but these errors were encountered: