Thread
:
[L4D1 & L4D2] Map changer with rating system
View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
03-07-2020 , 20:36 Re: [L4D] Map changer with rating system
#
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.
__________________
My Plugins
Last edited by Marttt; 03-07-2020 at
20:38
.
Marttt
View Public Profile
Send a private message to Marttt
Visit Marttt's homepage!
Find More Posts by Marttt