Thread: [Solved] Error in restmenu
View Single Post
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-18-2021 , 01:16   Re: Error in restmenu
Reply With Quote #8

I think I found the source of the error. It occurs when there are 32 players and you use the amx_restrict command (as far as I can tell). I belive I've fixed this issue in this new debug version. When you have 32 players on the server, use the amx_restrict command (excluding the "list" subcommand) and we'll see if there is another error. Though it sounds like you probably use this enough to trigger testing of the fix.

Basically, if you see "32/32" in the debug log but do not have a corresponding error at that same time in the error log then it's fixed in this version.

Once you confirm that it fixes it, I'll create a pull request on GitHub to fix it.
Attached Files
File Type: sma Get Plugin or Get Source (restmenu.sma - 17 views - 17.6 KB)
__________________

Last edited by fysiks; 06-18-2021 at 01:40.
fysiks is offline