View Single Post
Author Message
rtxa
Senior Member
Join Date: Mar 2018
Location: Argentina
Old 07-28-2018 , 02:41   set_task not working when server is in pause
Reply With Quote #1

Hello, I'm running into a trouble in my plugin for Half-Life 1. I have a vote system, where for example, you do a vote to change mp_footsteps to 1, if after 30 seconds the vote doesn't get enough votes, it will be denied. I use set_task for that, the problem is when someone pause the server, the vote is never denied.

Same thing happens when you flood the chat (antiflood plugin that comes with amxx), the blocking never frees.

I'm using amxx 1.8.3 dev 5141, hlds 7561 and latest metamod-p.

If you need more information, you can check yourself in the source code on line 1705.
https://github.com/rtxa/agmodx/blob/...ing/agmodx.sma

Last edited by rtxa; 07-28-2018 at 02:47.
rtxa is offline