English Team balance script fix icon

7 comments
16.04.18 12:34:20 am
like 2 like it!
859 b, 23 Downloads
SkullFace
User
Offline Off
Originally by Manny
(Profile :http://www.unrealsoftware.de/profile.php?userid=11681)
(File :http://www.unrealsoftware.de/files_show.php?file=7037)

I've been having a problem with his script, it is a neat script actually, but I saw just 1 problem.
Whenever teams had equal amount of players on both sides (e.g. 9=9), one from Team A could switch to Team B, which leads to unbalanced teams (10=8).
So, all I did was change the expression from
Code:
CT > T
to
Code:
CT >= T


Check the link below for GIF example.
https://i.imgur.com/GEXqbJS.gif
edited 4×, last 17.04.18 09:39:39 am
ok This file has been reviewed and approved by DC (24.04.18 10:16:54 pm)

Comments

7 comments
Goto Page
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in
27.04.18 10:44:52 pm
Up
_l_l_
User
Offline Off
@user Waldin: Thanos is coming!
27.04.18 10:42:59 pm
like I like it!
Up
Waldin
User
Offline Off
no you lie dc is hacked by skullface gaios and cure pikachu too
27.04.18 05:58:35 pm
like I like it!
Up
Cure Pikachu
User
Offline Off
Exactly. The first few lines of the description clearly said that this is meant to fix some problems the original creator didn't fix. Doesn't help that he isn't around since 4 years ago.
edited 2×, last 25.06.18 01:51:37 am
27.04.18 05:39:22 pm
Up
Gaios
Security Supporter
Offline Off
@user Waldin: This is mentioned in post and approved by user DC.
27.04.18 04:58:54 pm
like I like it!
Up
Waldin
User
Offline Off
this is a copy of http://www.unrealsoftware.de/files_show.php?file=7037
this should be BANNED ! ill report to DC
16.04.18 09:43:07 am
Up
SkullFace
User
Offline Off
Hey, @user mrc:, forgot about spectators completely. Just changed the lines in the script. Thanks!

EDIT: Fixed again, I forgot to remove ''then'' before ''or'' when i copy+pasted the line
edited 1×, last 17.04.18 09:26:15 am
16.04.18 04:35:11 am
Up
mrc
User
Offline Off
Hey buddy, change these to the script be perfect:

1. if player(id,"team") == 2 then TO if player(id,"team") == 2 or player(id,"team") == 0 then

2. if player(id,"team") == 1 then TO if player(id,"team") == 1 or player(id,"team") == 0 then

This way even spectators are not allowed to join a team with a higher number of players.
To the start Previous 1 Next To the start