Team balancer?
#1

How to make a team balancer? I wanted to make a team balancer for 3 teams, onplayerrequestspawn.. but it wasnt working....
Anyone could help me with that ?
Reply
#2

make a var when player select a team then if(var == 3) you cant select a team ..
Reply
#3

yea, very easy... duh
Reply
#4

yea so easy , i mean not important to post it here , try to search
pawn Код:
new MBX[ MAX_WHORES ];
Reply
#5

so ?anyone ?
Reply
#6

Create a variable that holds the amount of players on each team. If they spawn with the specified team, up the variable by one. Then in OnPlayerRequestSpawn, check if the team the player wants to spawn with has a higher count then the others. If so, return 0 and notify them why they cannot spawn with that team.
Reply
#7

http://forum.sa-mp.com/showthread.ph...=team+balancer
http://forum.sa-mp.com/showthread.ph...=team+balancer
http://forum.sa-mp.com/showthread.ph...=team+balancer
http://forum.sa-mp.com/showthread.ph...=team+balancer
http://forum.sa-mp.com/showthread.ph...=team+balancer


That is how much I found. If you are willing to search you will even find more.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)