Ui::setHeadDisplayFlag: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
enum HeadDisplayFlag<br>{<br>  TextWithOutline = 0,<br>  NoneEmpty,<br>  HealthBar,<br>  AudioSpeaker,<br>  FlagOrPaused,<br>  Flag,<br>  PassiveMode,<br>  WantedStar,<br>  SteeringWheel,<br>  Headset,<br>  HighlightPlayer,<br>  TextNoOutline,<br>  ArrowDown,<br>  BreifCase,<br>  LittleUser,<br>  RankNumber,<br>  VoiceIndicator<br>};
enum HeadDisplayFlag<br>{<br>  TextWithOutline = 0,<br>  NoneEmpty,<br>  HealthBar,<br>  AudioSpeaker,<br>  FlagOrPaused,<br>  Flag,<br>  PassiveMode,<br>  WantedStar,<br>  SteeringWheel,<br>  Headset,<br>  HighlightPlayer,<br>  TextNoOutline,<br>  ArrowDown,<br>  BreifCase,<br>  LittleUser,<br>  RankNumber,<br>  VoiceIndicator<br>};
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setHeadDisplayFlag(headDisplayId, sprite, toggle);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setHeadDisplayFlag(headDisplayId, sprite, toggle);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''headDisplayId:''' int
*'''headDisplayId:''' int
Line 10: Line 10:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Ui_function_c}}
{{Ui_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:UI API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 14:54, 20 May 2017

enum HeadDisplayFlag
{
TextWithOutline = 0,
NoneEmpty,
HealthBar,
AudioSpeaker,
FlagOrPaused,
Flag,
PassiveMode,
WantedStar,
SteeringWheel,
Headset,
HighlightPlayer,
TextNoOutline,
ArrowDown,
BreifCase,
LittleUser,
RankNumber,
VoiceIndicator
};

Syntax

mp.game.ui.setHeadDisplayFlag(headDisplayId, sprite, toggle);

Required Arguments

  • headDisplayId: int
  • sprite: int
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also