SET_PLAYER_COLOUR| Number of parameters: 2 |
|---|
| Parameter # | Type | Description |
|---|
| 1. | Integer | Player ID |
| 2. | Integer | Color |
| Return value: |
|---|
| Type | Description |
|---|
| 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
|