Blip::doesExist: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{ClientSide}}
A property to check if a blip exists.
A property to check if a blip exists.



Revision as of 23:12, 15 June 2018

A property to check if a blip exists.

Syntax

blip.doesExist();

Return value

  • Boolean

Examples

An example of returning true of a blip exists.

Client-Side
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