View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-07-2020 , 20:36   Re: [L4D] Map changer with rating system
Reply With Quote #14

I think that Dragokas don't support local servers, but you can change the code in this parts:

for (int i = IsDedicatedServer() ? 1 : 0

to

for (int i = 1

and try...this may stop the exception, but the plugin may not work properly.

The reason besides (from my tests) it is that when you use console commands in a local server (or binded sm_commands, being the hoster), it always runs as client index = 0, which is invalid, but if you are using commands through the chat it should work in most of the cases.
__________________

Last edited by Marttt; 03-07-2020 at 20:38.
Marttt is offline