You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to use when we change player's team with rg_set_user_team or rg_switch_team. I explain it in the next example:
We have 2 players, both of them in Terrorist team and alive. We set to one of them the Counter-Terrorist team by rg_set_user_team(id, TEAM_CT); and then kill him. The round will end.
But if one player is dead and another is alive and that dead player will change team by rg_set_user_team(id, TEAM_CT); the round will not end. In this case we can use then this native to check win conditions. So it will check if round should be ended.
The text was updated successfully, but these errors were encountered:
It would be useful to use when we change player's team with
rg_set_user_team
orrg_switch_team
. I explain it in the next example:We have 2 players, both of them in Terrorist team and alive. We set to one of them the Counter-Terrorist team by
rg_set_user_team(id, TEAM_CT);
and then kill him. The round will end.But if one player is dead and another is alive and that dead player will change team by
rg_set_user_team(id, TEAM_CT);
the round will not end. In this case we can use then this native to check win conditions. So it will check if round should be ended.The text was updated successfully, but these errors were encountered: