Ui::setMinimapComponent: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Please change to void.<br><br>p2 appears to be always -1.
p2 appears to be always -1.
 
<br>Map component IDs:
 
<br>6 = "Vespucci Beach lifeguard building"
<br>7 = "Beam Me Up (Grand Senora Desert)"
<br>8 = "Paleto Bay fire station building"
<br>9 = "Land Act Dam"
<br>10 = "Paleto Forest cable car station"
<br>11 = "Galileo Observatory"
<br>12 = "Engine Rebuils building (Strawberry)"
<br>13 = "Mansion pool (Richman)"
<br>14 = "Beam Me Up (Grand Senora Desert) (2)"
<br>15 = "Fort Zancudo"
 
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">ui.setMinimapComponent(p0, p1, p2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setMinimapComponent(p0, p1, p2);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''p0:''' int
*'''p0:''' int
Line 10: Line 24:
==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 21:06, 9 November 2019

p2 appears to be always -1.


Map component IDs:


6 = "Vespucci Beach lifeguard building"
7 = "Beam Me Up (Grand Senora Desert)"
8 = "Paleto Bay fire station building"
9 = "Land Act Dam"
10 = "Paleto Forest cable car station"
11 = "Galileo Observatory"
12 = "Engine Rebuils building (Strawberry)"
13 = "Mansion pool (Richman)"
14 = "Beam Me Up (Grand Senora Desert) (2)"
15 = "Fort Zancudo"

Syntax

mp.game.ui.setMinimapComponent(p0, p1, p2);

Required Arguments

  • p0: int
  • p1: Boolean
  • p2: int

Return value

  • unknown (to be checked)

Example

// todo

See also