mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-20 04:55:43 +00:00
actions_on_button_press 1.2.3
This commit is contained in:
parent
07811b094f
commit
6110607465
@ -76,22 +76,20 @@ DisplayVoteCount()
|
|||||||
|
|
||||||
foreach (player in level.players)
|
foreach (player in level.players)
|
||||||
{
|
{
|
||||||
|
if (isDefined(player.pers["isBot"]))
|
||||||
|
{
|
||||||
|
if (player.pers["isBot"])
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (player.pers["camera_switch_vote"])
|
if (player.pers["camera_switch_vote"])
|
||||||
{
|
{
|
||||||
yes_votes++;
|
yes_votes++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isDefined(player.pers["isBot"]))
|
human_players[human_players.size] = player;
|
||||||
{
|
|
||||||
human_players[human_players.size] = player;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
if (!player.pers["isBot"])
|
|
||||||
{
|
|
||||||
human_players[human_players.size] = player;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
votes_required = 0;
|
votes_required = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user