Blip::color: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "{{Incomplete Functions}}")
 
No edit summary
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Incomplete Functions}}
__NOTOC__
'''Property''' related to the Blip's color.
==Syntax==
<syntaxhighlight lang="javascript">
blip.color = 1;
</syntaxhighlight>
 
==Example==
This will change a blip to the color red.
{{ServerSide}}
<syntaxhighlight lang="javascript">
let createdBlip = mp.blips.new(140, new mp.Vector3(0, 0, 0));
createdBlip.color = 1;
</syntaxhighlight>
 
==Blip colors==
{{Blips_colors}}
 
==See Also==
{{Blip_definition}}

Latest revision as of 14:40, 28 December 2017

Property related to the Blip's color.

Syntax

blip.color = 1;

Example

This will change a blip to the color red.

Server-Side

let createdBlip = mp.blips.new(140, new mp.Vector3(0, 0, 0));
createdBlip.color = 1;

Blip colors

See Also