diff --git a/plugins/basevotes.sp b/plugins/basevotes.sp index c09f16d9..f19bd07a 100644 --- a/plugins/basevotes.sp +++ b/plugins/basevotes.sp @@ -406,8 +406,13 @@ void VoteSelect(Menu menu, int param1, int param2 = 0) bool TestVoteDelay(int client) { + if (CheckCommandAccess(client, "sm_vote_delay_bypass", ADMFLAG_CONVARS, true)) + { + return true; + } + int delay = CheckVoteDelay(); - + if (delay > 0) { if (delay > 60) diff --git a/plugins/funvotes.sp b/plugins/funvotes.sp index 7aaabc95..6edbe42a 100644 --- a/plugins/funvotes.sp +++ b/plugins/funvotes.sp @@ -308,8 +308,13 @@ void VoteSelect(Menu menu, int param1, int param2 = 0) bool TestVoteDelay(int client) { + if (CheckCommandAccess(client, "sm_vote_delay_bypass", ADMFLAG_CONVARS, true)) + { + return true; + } + int delay = CheckVoteDelay(); - + if (delay > 0) { if (delay > 60)