Ui::setMinimapComponent: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 1: Line 1:
Please change to void.<br><br>p2 appears to be always -1.<br><br>p2 seems to be a Boolean in RAGE:MP for now. Set to false.
p2 appears to be always -1.<br>p2 seems to be a Boolean in RAGE:MP for now. Set to false.
 
<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">mp.game.ui.setMinimapComponent(p0, p1, p2);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.ui.setMinimapComponent(p0, p1, p2);</syntaxhighlight>

Revision as of 21:00, 9 November 2019

p2 appears to be always -1.
p2 seems to be a Boolean in RAGE:MP for now. Set to false.


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: Boolean

Return value

  • unknown (to be checked)

Example

// todo

See also