Posts: 1,701
Threads: 110
Joined: Aug 2010
Reputation:
0
How to put a function that don't allow over 4 members on a team?
I have cod5 GM and everybody join USA!
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
use a variable.
if(variable >= 4) return ForceClassSelection
or something like that.
Posts: 1,701
Threads: 110
Joined: Aug 2010
Reputation:
0
Ohh..i need to try that..thx!
Posts: 253
Threads: 15
Joined: Jul 2006
Reputation:
0
You'll need to do a loop to count how many are on a team when the callback is called for OnPlayerSpawn, or OnPlayerRequestClass.