Element/Team

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

The team class represents player teams. Players on the same team can use team features such as teamchat or friendly fire.

The element type of this class is "team".

NOTE: It is likely that the colorR/G/B values will be changed to the more standard color="#RRGGBB" before the final release.

XML syntax

<team name="" colorR="" colorG="" colorB="" friendlyfire=""/>

Required Attributes

  • name: Название Команды (Фракции)

Optional Attributes

  • colorR: Компонент красного цвета в цвете команды (фракции)
  • colorG: Компонент зеленого цвета в цвете команды (фракции)
  • colorB: Компонент синего цвета в цвете команды (фракции)
  • friendlyfire: Возможно ли убийство напарников по команде (фракции) (true/false)

Related scripting functions

Client

Shared



Server