Blip::setDisplay

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Client-Side
Function

Js.png JavaScript



JavaScript Syntax
Jslogo.png

Syntax

blip.setDisplay(displayID);

Required Arguments

  • displayID: int

Display IDs

  • 8: Shows on both. (Not selectable on map)
  • 5 or 9: Shows on minimap only.
  • 3 or 4: Shows on main map only. (Selectable on map)
  • 2 or 6: Shows on both. (Selectable on map)
  • 0: Doesn't show up, ever, anywhere.


Return value

  • Undefined

Example

let localPlayer = mp.players.local;
let blip = mp.blips.new(2, localPlayer.position, {
  name: localPlayer.name
});
blip.setDisplay(3); // You won't show on my big radar men.


See also