The key to fix this in the AG code, looks like I was right about RemoveAllItems() functions breaks players scoreboard, the author has make a separate function for that where it doesn't send the message
https://github.com/martinwebrant/agmod/ ... .cpp#L5320And when you want to send to spectator a player, you can't do that in the first spawn.
https://github.com/martinwebrant/agmod/ ... s.cpp#L184Anyway, I want a fix for an amxx plugin, so I can use it everywhere, I don't care if the fix is only inside of bugfixed hl, well it would be cool to implement it.
I leave this message only for me, in case I want to continue to fix it, I think no one cares about this hehe
PD: So if we want to set someone to spectator without using set_task(), we must use the function RemoveAllItemsNoClientMessage() instead of RemoveAllItems() and bugs with scoreboard will dissapear.