SetPlayerColor
From SA-MP Wiki
Description:
Set the colour of a player's nametag and marker (radar blip).
(playerid, color)
playerid | The ID of the player whose color to set. |
color | The color to set. Supports alpha values. |
Return Values:
This function does not return any specific values.
Notes |
|
Example Usage:
// Red, using hexadecimal notation: SetPlayerColor(playerid, 0xFF0000FF); //Red, using decimal notation: SetPlayerColor(playerid, 4278190335);
Related Functions
The following functions may be useful, as they are related to this function in one way or another.
- SetPlayerMarkerForPlayer: Set a player's marker.
- GetPlayerColor: Check the color of a player.
- ChangeVehicleColor: Set the color of a vehicle.