Blip::setSprite: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
Takes a blip object and adds a sprite to it on the map.<br><br>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<br>h t t p://pastebin.com/Bpj9Sfft<br><br>Blips Images + IDs:<br>gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html
Takes a blip object and adds a sprite to it on the map.<br><br>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<br>h t t p://pastebin.com/Bpj9Sfft<br><br>Blips Images + IDs:<br>gtaxscripting.blogspot.com/2016/05/gta-v-blips-id-and-image.html
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">blip.setSprite(blip, spriteId);</syntaxhighlight>
<syntaxhighlight lang="javascript">blip.setSprite(spriteId);</syntaxhighlight>
=== Required Arguments ===
===Required Arguments===
*'''blip:''' Blip
*'''spriteId:''' int
*'''spriteId:''' int
===Return value===
===Return value===
*'''Undefined'''
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">

Latest revision as of 14:56, 8 December 2017