-
Need help with teams.
Ok i'm making a mod, but I've run into a problem. First of all I need to set max players to 8. Then i need to make that one team has only one player and give him some stuff, and then the other team with 7 players to give them they're regular load out. How do I do it?
-
-
add this onPlayerConnect thread:
[php]setDvar("sv_maxclients", 8);
setDvar("party_maxplayers", 8);
setDvar("ui_maxclients", 8);[/php]
and for the teams, you could first put all players in one team and after a time you switch on of the players to the other team. you can use these syntaxes for it.
[php]self [[level.axis]]();
self [[level.allies]]();[/php]