setBlipAsFriendly
SET_BLIP_AS_FRIENDLY0x6F6F290102C02AB4The 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.
setBlipAsFriendly(blip: Blip, toggle: boolean): voidsetBlipAsFriendly(blip: Blip, toggle: boolean)Usage
JavaScript
setBlipAsFriendly(blip, toggle);Lua
setBlipAsFriendly(blip, toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
toggle | BOOL | boolean | boolean |
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