Blip::sprite: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "{{Incomplete Functions}}")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Incomplete Functions}}
This function is used to change the blip sprite.
 
==Syntax==
<pre>
blip.sprite = 40;
</pre>
 
==Example==
This will change a blip to a house.
 
{{ServersideCode|
<pre>
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));
 
createdBlip.sprite = 40;
</pre>
}}
 
==Blip sprites==
{{Blips_model}}
 
==See also==
{{Blip_definition}}

Latest revision as of 13:53, 24 May 2019

This function is used to change the blip sprite.

Syntax

blip.sprite = 40;

Example

This will change a blip to a house.

Server-Side
let createdBlip = mp.blips.new(1, new mp.Vector3(0, 0, 0));

createdBlip.sprite = 40;

Blip sprites

See also