Blip::color: Difference between revisions

From RAGE Multiplayer Wiki
m (Colours already listed below)
No edit summary
Line 1: Line 1:
__NOTC__
This function is used to change the blip colour.
This function is used to change the blip colour.



Revision as of 21:37, 27 December 2017

This function is used to change the blip colour.

Syntax

blip.colour = 1;

Example

This will change a blip to the colour red.

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

createdBlip.colour = 1;

Blip colours

See Also