View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
Old 03-12-2020 , 08:49   Re: [L4D] Map changer with rating system
Reply With Quote #18

Quote:
Originally Posted by Dragokas View Post
How are you guys receiving "0" index of client?
I'm used to test plugins in my local server, usually they work, from my experience, most of the failures (returning client index = 0) are related to running cmds through the console or with "sm_xxx" bound to keys (which also runs in the console).
Also, index = 0, depending on the hook event, can mean the "worldspawn" classname entity.
Maybe one "workaround" would find which player is the "hoster" and change the index = 0 to the host index. But is just something that I thought.
__________________
Marttt is offline