SET PLAYER COLOUR

From GTAMods Wiki
Revision as of 09:07, 8 August 2020 by Bombgamer532 (talk | contribs) (Created page with "{{Native |np=2 |p1t=Integer |p1d=Player ID |p2t=Integer |p2d=Color }} This function sets color of specific player in multiplayer. This native affects on displayed color of na...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
SET_PLAYER_COLOUR
Number of parameters: 2
Parameter #TypeDescription
1.IntegerPlayer ID
2.IntegerColor
Return value:
TypeDescription
None

This function sets color of specific player in multiplayer. This native affects on displayed color of name and circle above player's head. Works only on client side.

NOTE: Player colors and blip colors are not the same and have different color IDs.

Known Colors

Integer Color
0 Black
1 Orange
2 Purple
3 Green
4 Red
5 Yellow
6 Blue
7 Hot pink
8 Tan
9 Dark green
10 Dark blue
11 Pink
12 Light blue
13 Olive green
14 Light green
15 Gray
16 Brown