Function
Core
Core_AddPlayerToTeam
Has a player join a specific team
On this page
Core_AddPlayerToTeam(player, teams_table)Description
Will remove the player from his previous team. If you pass in nil for newTeam, will add to a new empty team
Parameters
playerPlayerIDrequiredteams_tableTeamrequired
Returns
VoidSource
Declared in the game's script sources at:
scar/core.scar