Team: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
The player class represents a player and should be used to call any scripting functions that involve players. You can get a player object from a named player using findPlayer.
The team class represents an individual team which can be used to group players, and should be used to call any scripting functions that involve teams.
The team class represents an individual team which can be used to group players, and should be used to call any scripting functions that involve teams.
You can get a team object from a player using getPlayerTeam, or getTeamFromName.
You can get a team object from a player using getPlayerTeam, or getTeamFromName.

Revision as of 16:20, 16 August 2006

The team class represents an individual team which can be used to group players, and should be used to call any scripting functions that involve teams. You can get a team object from a player using getPlayerTeam, or getTeamFromName.