Half-Life и Adrenaline Gamer форум http://aghl.ru/forum/ |
|
Spectator mod ? http://aghl.ru/forum/viewtopic.php?f=12&t=2620 |
Страница 5 из 5 |
Автор: | rtxa [ 25 фев 2020, 13:29 ] |
Заголовок сообщения: | Re: Spectator mod ? |
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#L5320 And 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#L184 Anyway, 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. |
Страница 5 из 5 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |