Blip::doesExist: Difference between revisions

From RAGE Multiplayer Wiki
m (Readded no-title)
m (Undo revision 10374 by MrPancakers (talk))
Line 1: Line 1:
__NOTOC__
{{ClientSide}}
{{DISPLAYTITLE:<span style="position: absolute; clip: rect(1px 1px 1px 1px); clip: rect(1px, 1px, 1px, 1px);">{{FULLPAGENAME}}</span>}}
<h1 style="border-bottom: 1px solid #e91e63;"><div style="float: left;">{{PAGENAME}}</div><div style="color: #e91e63; float: right; font-weight: 300;">Client-side API</div></h1>


A property to check if a blip exists.
A property to check if a blip exists.

Revision as of 10:50, 11 May 2018

Client-Side

A property to check if a blip exists.

Syntax

blip.doesExist();

Return value

  • Boolean

Examples

An example of returning true of a blip exists.

let policeBlip_Client = mp.blips.new(60, new mp.Vector3(407.95, -961.05, 0),
    {
        color: 3,
        shortRange: true,
});

let doesExist = policeBlip_Client.doesExist();

mp.gui.chat.push("Exist: " + doesExist);
//Output: "Exist: 1"

See Also