Team

From Multi Theft Auto: Wiki
Revision as of 14:54, 30 June 2006 by MrJax (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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. You can get a team object from a player using getPlayerTeam, or getTeamFromName.