HUDClient

setBlipAsFriendly

SET_BLIP_AS_FRIENDLY0x6F6F290102C02AB4

The GTA V native SET_BLIP_AS_FRIENDLY of the HUD namespace, as LS:MP client scripts call it: the global function setBlipAsFriendly, in JavaScript and in Lua.

SignatureJavaScript
setBlipAsFriendly(blip: Blip, toggle: boolean): void
SignatureLua
setBlipAsFriendly(blip: Blip, toggle: boolean)

Usage

JavaScript
setBlipAsFriendly(blip, toggle);
Lua
setBlipAsFriendly(blip, toggle)

Parameters

ParameterTypeJavaScriptLua
blipBlipnumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

false for enemy
true for friendly

Reference

Namespace
HUD HUD
In the game
void SET_BLIP_AS_FRIENDLY(Blip blip, BOOL toggle)
Hash
0x6F6F290102C02AB4

Open in the interactive natives reference