Not working any of the tips of you guys...
Its a Multiplayer game, and i made this way:
Host Group:
- On peer connected
-- Normal Multiplayer Mechanics*
-- Call function "teamup" with params (0= 0) (1= player.id)
- On function:
-- player var "team" = (function.param(0))
--- pick by comparison
---- Compare player.picked count >= Max Player Per Team
-------- Call function "teamup" with params (0= self.param(0)+1) (1= player.id)*****
----Else
-------- player set var "team" to function.param(0)
But for some reason here (*****) the function don't start again. Yes it is supposed to be a loop, I know there is loops made, but this is the only way i found right to do.