Twice first infected preventer
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Hi,
Sometimes a player gets first infected for two consecutive rounds. Sometimes for three O_O
This doesn't happen all the time but it's very frustrating. How to switch team for a player if he gets first infected a second time consecutively? (switching first infected to other team should activate the timer that picks a new first infected or not?).
Find first infected and put his name/xuid in a dvar
Next round, find the first infected
if he is the same, switch him to allies team
Find first infected and put his name/xuid in a dvar
etc..
To find first infected OnInterval(2000, ....) check if there's only one player in axis team and at least one player in allies team then save the player name /xuid.
What I'm missing is how to switch a player's team?