setBlipSprite
SET_BLIP_SPRITE0xDF735600A4696DAFThe GTA V native SET_BLIP_SPRITE of the HUD namespace, as LS:MP client scripts call it: the global function setBlipSprite, in JavaScript and in Lua.
setBlipSprite(blip: Blip, spriteId: number): voidsetBlipSprite(blip: Blip, spriteId: integer)Usage
JavaScript
setBlipSprite(blip, spriteId);Lua
setBlipSprite(blip, spriteId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
blip | Blip | number | integer |
spriteId | int | number | integer |
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.
Sets the displayed sprite for a specific blip..
You may have your own list, but since dev-c didn't show it I was bored and started looking through scripts and functions to get a presumable almost positive list of a majority of blip IDs
https://pastebin.com/Bpj9Sfft
Blips Images + IDs:
https://gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html
Reference
- Namespace
- HUD HUD
- In the game
void SET_BLIP_SPRITE(Blip blip, int spriteId)- Hash
0xDF735600A4696DAF