GetBlipColor

From RAGE Multiplayer Wiki
Revision as of 12:40, 27 November 2019 by Xabi (talk | contribs) (Xabi moved page NAPI.Blip.GetBlipColor to GetBlipColor)

Gets the color of a blip.

Syntax

int NAPI.Blip.GetBlipColor(Blip blip);

Required Arguments

  • blip: The blip to get the color from. Parameter input should be in Blip type

Example

C# Syntax

Example

var list = NAPI.Pools.GetAllBlips();

foreach (Blip blip in list)
{
    if (NAPI.Blip.GetBlipColor(blip) == 0)
    {
        NAPI.Blip.SetBlipColor(blip, 38);
    }
}