lol no prob glad to help. To know what values your variablles inside of functions hold , just look at the paramters for that function.
Has 4 paramters. Players s the first 1 , that actaully holds the index value of the players. The 2nd param is the number of players, then theres the flags , and a team constant to be passed if the flag e is specified.