Blip::doesExist: Difference between revisions
MrPancakers (talk | contribs) (Undo revision 10370 by MrPancakers (talk)) |
MrPancakers (talk | contribs) m (Added category at the bottom) |
||
| Line 30: | Line 30: | ||
== See Also == | == See Also == | ||
{{Blip_definition}} | {{Blip_definition}} | ||
[[Category:Clientside API]] | |||
Revision as of 10:43, 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
- Functions
- Properties