Element/Team: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
(Undo revision #0000 by Dzzagy (Talk))
Line 1: Line 1:
__NOTOC__
__NOTOC__
Класс команды представляет класс игрока. Игроки из одной команды (фракции) могут использовать особые функции команды (фракции) такие как, командый чат (Team Chat) и убийство напарников по команде (фракции).
The team class represents player teams. Players on the same team can use team features such as teamchat or friendly fire.


Тип элемента этого класса: '''"team"'''.
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.
'''NOTE:''' It is likely that the colorR/G/B values will be changed to the more standard color="#RRGGBB" before the final release.
Line 12: Line 12:


===Required Attributes===
===Required Attributes===
* '''name''': Название Команды (Фракции)
* '''name''': A name of the team


===Optional Attributes===
===Optional Attributes===
* '''colorR''': Компонент красного цвета в цвете команды (фракции)
* '''colorR''': The red component of the team's color
* '''colorG''': Компонент зеленого цвета в цвете команды (фракции)
* '''colorG''': The green component of the team's color
* '''colorB''': Компонент синего цвета в цвете команды (фракции)
* '''colorB''': The blue component of the team's color
* '''friendlyfire''': Возможно ли убийство напарников по команде (фракции) (true/false)
* '''friendlyfire''': Should friendly fire be allowed (true/false)


==Related scripting functions==
==Related scripting functions==

Revision as of 08:31, 16 October 2009

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: A name of the team

Optional Attributes

  • colorR: The red component of the team's color
  • colorG: The green component of the team's color
  • colorB: The blue component of the team's color
  • friendlyfire: Should friendly fire be allowed (true/false)

Related scripting functions

Client



Server